OpenNAC Agent Custom Params

There is several parameters to configure in openNAC, below will be a list of the available paramenters.

1- AGENT_CONFIG_INTERVAL

Time, configured in seconds, between each partial information sent by the openNAC agent

int value > 0

2- AGENT_CONFIG_FULL_INTERVAL

Time, configured in seconds, between each sending of complete information collected by the openNAC agent

int value > 0

3- AGENT_CONFIG_START_MODE_INTERVAL

Time after agent starts in which changes are not checked in the system and only full reports are sent. Configured in seconds.

int value > 0

4- AGENT_CONFIG_DEBUG

This parameter that allows to enable or disable the debug mode of the agent service to generate more logs. This parameter can take the values ​​“0” and “1” to disable or enable this functionality

0 | 1

5- AGENT_CONFIG_STATUSFILE

Path of the status file. This file will contains the last generated XML is saved with the information that has been sent to the server in the last shipment.

string path

6- AGENT_CONFIG_RESULTFILE

Path of the output file. In this file contains the result, the response of the openNAC server is saved with respect to the last sending of information made.

string path

7- AGENT_CONFIG_LOGFILE

Path of the log file. In this route the file is saved with the logs generated by the agent service.

string path

8- AGENT_CONNECTION_PROTOCOL

Parameter that allows configuring the protocol used by the agent to send information to the openNAC server. Its can be “http” or “https”

http | https

9- AGENT_CONNECTION_ACTION

openNAC server path to which the information collected by the agent should be sent.

string path

10- AGENT_CONNECTION_IP

Parameter that contains the IP address or domain of the openNAC server to which the collected information by agent will be sent.

coma separated list of IPs

11- AGENT_TASKBAR_CONFIG_DEBUG

This parameter allows enable or disable the debug mode of the agent’s taskbar to generate more logs. This parameter can take the values ​​“0” and “1” to disable or enable respectably.

0 | 1

12- AGENT_TASKBAR_CONFIG_LANGUAGE

This parameter allows to change the language used in the messages that are reported by the taskbar. This parameter can take the values ​​“in” and “pt” for the languages ​​“English” and “Portuguese” respectably.

en | pt

13- AGENT_TASKBAR_CONFIG_MUI

This parameter allows to change the language used in the graphic interface of the taskbar. This parameter can take the values ​​“en-US” and “pt-BR” for the languages ​​“English” and “Portuguese” respectably.

en-US | pt-BR

14- AGENT_TASKBAR_CONFIG_PLUGIN_VPN

Parameter that allows enable or disable the VPN connectivity functionality through the taskbar. This parameter can take the values ​​“0” and “1” to disable or enable respectably.

0 | 1

15- AGENT_QUERY

In this parameter the agent queries are configured. Agent queries are custom scripts that run on the destination computer through the agent to obtain some type of information in particular. Previous to the 6951 version of the agent, only scripts were allowed in VBS, after that version, powershell scripts are also accepted.

16- AGENT_UPDATE

Parameter that allows the agent to indicate the latest version of the agent in the installed version of openNAC. This version must be indicated manually. Once the agent receives a response from the openNAC server, it will compare the version that it receives in this parameter with its own installed version. If the version that is indicated by parameter is higher than the one installed, an automatic update process will be started. In this automatic update, the latest version available in the installed openNAC version is downloaded, and the agent version is update

17- AGENT_TASKBAR_CONFIG_ENABLED

This parameter allows to enable or disable the taskbar completely. This parameter can take the values ​​“0” and “1” to disable or enable this functionality