Configuration

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Inventory Agent 

Configuration

After installing the agent, it operates using a configuration file called rvia.cfg, which can be found below the ProgramData directory. This file is created during the first run of the Inventory Agent and takes over the settings from template.cfg, which can be found in the Inventory Agent installation directory.

 

Configuration files can also be distributed remotely by the RayVentory Scan Engine (see configDownloadSource setting).

Default configuration

The following snippet shows the default configuration served by RayVentory Scan Engine:

 

configDownloadSource=http<s>://<RVSE_hostname>:<RVSE_HTTP_service_port>/rviaconfig/default.cfg

configDownloadUser=<encrypted HTTP basic authentication username>

configDownloadPassword=<encrypted HTTP basic authentication password>

#configDownloadProxyURL=

#configDownloadProxyUser=

#configDownloadProxyPassword=

#configDownloadCurlArgs=

#configDownloadMaxDelay=

resultUploadDestination=http<s>://<RVSE_hostname>:<RVSE_HTTP_service_port>/

#resultDirectory=

resultUploadUser=<encrypted HTTP basic authentication username>

resultUploadPassword=<encrypted HTTP basic authentication password>

#resultUploadProxyURL=

#resultUploadProxyUser=

#resultUploadProxyPassword=

#resultUploadCurlArgs=

#resultUploadMaxDelay=

generalTaskMaxDelay=120

#oracleUser=

#oraclePass=

#oracleSysDba=

#saasDiscoDaysBack=30

#usageWhitelist=\\winword\.exe

#usageWhitelist=\\powerpnt\.exe

#usageWhitelist=\\teams\.exe

#usageWhitelist=\\outlook\.exe

usageDisabled=true

#usageLogFileSize=

#usageEnableSessionLogging=

#usageSessionBackupPeriod=

#usageUploadPeriod=86400

#usageStartupDelay=

#usageMinRunTime=

#usageProcessUpdatePeriod=

#encryptionKey=

logLevel=default

#logFileSizeLimit=

#schedule:command:echo Hello world! > /tmp/message.txt:0 0 * * *

schedule:horizon::logon

schedule:horizon::logoff

schedule:getconfig::25 0 * * *

#schedule:saas::26 0 * * *

schedule:oracle::27 0 * * *

schedule:inventory::30 0 * * *

#schedule:inventory:-o IncludeDirectory=/opt -o ExcludeDirectory=/proc:30 0 * * *

schedule:upload::45 0 * * *

#schedule:command:curl.exe --output "C\:\Program Files (x86)\RayVentory\InventoryAgent\whitelisted.xml" -f http\://rayventory\:591/rviaconfig/whitelisted.xml:45 0 * * *

#schedule:command:curl.exe --output "C\:\ProgramData\Raynet\RayVentoryInventoryAgent\SaaSwhitelisted.xml" -f http\://rayventory\:591/rviaconfig/SaaSwhitelisted.xml:45 0 * * *

 

Removing/Adding a hash (#)  will enable or disable the entries.

 

The rvia.cfg default values that are used by RVIA if there is no template.cfg file.

 

oracleSysDba=false

usageDisabled=true

usageLogFileSize=4000000

usageEnableSessionLogging=false

usageSessionBackupPeriod=600

usageUploadPeriod=86400

usageStartupDelay=300

usageMinRunTime=10

usageProcessUpdatePeriod=60

saasDiscoDaysBack=30

logLevel=default (currently synonymous to 'info')

logFileSizeLimit=1024000

 

The rvia.cfg default values provided to RVIA by the template.cfg.

 

#configDownloadSource=

#configDownloadUser=

#configDownloadPassword=

#configDownloadProxyURL=

#configDownloadCurlArgs=

#configDownloadMaxDelay=

#resultUploadDestination=

#resultDirectory=

#resultUploadUser=

#resultUploadPassword=

#resultUploadProxyURL=

#resultUploadCurlArgs=

#resultUploadMaxDelay=

#oracleUser=

#oraclePass=

#oracleSysDba=

#saasDiscoDaysBack=

#usageWhitelist=\\winword\.exe

#usageWhitelist=\\powerpnt\.exe

#usageWhitelist=\\teams\.exe

#usageWhitelist=\\outlook\.exe

#usageDisabled=false;

#usageLogFileSize=4000000;

#usageEnableSessionLogging=false;

#usageSessionBackupPeriod=600;

#usageStartupDelay=300;

#usageMinRunTime=10;

#usageProcessUpdatePeriod=60

#logLevel=

logFileSizeLimit=1024000

#encryptionKey=

#schedule:command:echo Hello world! > /tmp/message.txt:0 0 * * *

schedule:getconfig::1/10 * * * *

#schedule:saas::26 0 * * *

#schedule:inventory:-o IncludeDirectory=/opt:30 0 * * *

#schedule:oracle:-o user=smith -o pass=tiger -o asSysDBA=true:33 0 * * *

#schedule:upload::45 0 * * *

#schedule:command:curl.exe --output "C\:\Program Files (x86)\RayVentory\InventoryAgent\whitelisted.xml" -f http\://rayventory\:591/rviaconfig/whitelisted.xml:45 0 * * *

#schedule:command:curl.exe --output "C\:\ProgramData\Raynet\RayVentoryInventoryAgent\SaaSwhitelisted.xml" -f http\://rayventory\:591/rviaconfig/SaaSwhitelisted.xml:45 0 * * *