Agent Configuration Reference

Agent Configuration Reference

< Guide Menu

The settings in local.cfg are common to all types of agents (filesystem scanner, SQL scanner, etc).

Local.cfg is a JSON file, structured as a ‘dictionary’ at the top level. (I.e, the top level brackets are always {}). Sections inside the top dictionary are also dictionaries in turn. Typical settings for an agent are as follows:

{
    "agent" : {
        "server" : "127.0.0.1"
    },
  
   "logging" : {
        "master_level"  : "DEBUG",
        "file_enable"   : false,
        "file_level"    : "DEBUG",
        "syslog_enable" : false,
        "syslog_addr"   : "/dev/log",
        "1_syslog_addr" : "localhost:514",
        "syslog_facility"   : "daemon",
        "syslog_severity"   : "debug"
    },

    "dirs" : {
        "log" : "",
        "tmp" : "",
        "data" : ""
    }

}

Common Agent Settings

“server”

Setting address of the Quasar server.

This can be an IP address or a fully-qualified DNS name.

Logging Settings

“master_level”

Setting logging level of scanning process.

These track UNIX SYSLOG log levels – DEBUG, INFO, NOTE, WARN, ERROR, CRIT

NOTE: the syslog_ settings only apply to Linux agents.

Directory Settings

Default directory locations are displayed by the Quasar agent on startup – to console if in foreground mode, and/or to the Windows event log or Linux syslog if in service mode.

The dirs section can be used to override default directory locations if the need arises.

Next Agent Deployment
Table of Contents