Installation guide

147
Server Pool Monitoring Agent Commands
Server Pool Monitoring Agent Commands
You can test and monitor the Server Pool Monitoring Agents on the command line with the
commands described in the table below.
Table A.4 Server Pool Monitoring Agent Commands
Command Description
agent
[-v level]
[-c path]
[test [files]]
[syntax [files]]
(Windows only) Allows you to test different configurations before activating them.
-v level Set the verbosity level. The default level is 5. Levels 6-8 are for debugging
where available.
-c path Use the specified path as the first search directory for the configuration.
test [files]
Run in the test mode - status queries do not receive a response. If you specify the
files, they are used for reading the configuration instead of the default files. The
output is directed to syslog or eventlog instead of the console where the command
was run unless you use the -d option.
syntax [files]
Check the syntax in the configuration file. If no files are specified, the default
configuration files are checked.
sgagentd [-d]
[-v level]
[-c path]
[test [files]]
[syntax [files]]
(Linux only) Allows you to test different configurations before activating them.
-d Don’t Fork as a daemon. All log messages are printed to stdout or stderr only.
-v level Set the verbosity level. The default level is 5. Levels 6-8 are for debugging
where available.
-c path Use the specified path as the first search directory for the configuration.
test [files]
Run in the test mode - status queries do not receive a response. If you specify the
files, they are used for reading the configuration instead of the default files. The
output is directed to syslog or eventlog instead of the console where the command
was run unless you use the -d option.
syntax [files]
Check the syntax in the configuration file. If no files are specified, the default
configuration files are checked. The output is directed to syslog or eventlog instead of
the console where the command was run unless you use the -d option.