DragonFly On-Line Manual Pages

Search: Section:  


SYSMOND(man)                 System Administration                SYSMOND(man)

NAME

sysmond - System Monitoring Utility

SYNOPSIS

sysmond [ -d ] [ -f config-file ] [ -h ] [ -n ] [ -p port ] [ -v ] [ -q ] [ reload ] [ pause ] [ resume ] [ stop ]

DESCRIPTION

Sysmond provides ability to monitor many services The main configuration file /etc/sysmon.conf or an alternative file, given with the -f option, is read at startup. Any lines that begin with the hash mark (``#'') and empty lines are ignored. If an error occurs during parsing the whole line is ignored.

OPTIONS

-d Turns on debug mode. Using this the daemon will not proceed a fork(2) to set itself in the background, but opposite to that stay in the foreground and write much debug information on the current tty. See the DEBUGGING section for more information. -f config-file Specify an alternative configuration file instead of /etc/sysmon.conf, which is the default. -p portnum Specify an alternate port number to run on -n Tells sysmond to not send notifications to the contacts listed. Primarily used for debugging only -t This option will test the configuration file then exit rather than starting the monitoring daemon. -v Print version and exit. -q Quiet mode on stdout/err reload Send the running sysmond a SIGHUP so it re-reads the config file. pause Send the running sysmond a SIGUSR2 so it pauses monitoring. pause Send the running sysmond a SIGUSR2 so it resumes monitoring. stop Send the running sysmond a SIGTERM so it shuts down. The keywords shutdown and suicide also work.

SIGNALS

Sysmond reacts to a set of signals. You may easily send a signal to sysmond using the following: kill -SIGNAL process-id-of-sysmond SIGHUP This lets sysmond perform a re-initialization. All open files are closed, the configuration file (default is /etc/sysmon.conf) will be reread and the monitoring is started again. SIGUSR2 This lets sysmond pause (or unpause) monitoring as desired. This is useful if you will be performing network maintence and do not want to monitor the network for a period of time. SIGTERM The sysmond process will die.

DEBUGGING

When debugging is turned on using -D option then sysmond will be very verbose by writing much of what it does on stdout. Whenever the configuration file is reread and re-parsed you'll see a lot of data, corresponding to the internal data structure.

FILES

/etc/sysmon.conf Configuration file for sysmond. See sysmon.conf(man) for exact information.

SEE ALSO

sysmon.conf(man)

COLLABORATORS

Sysmon is primarily written by Jared Mauch jared@puck.nether.net Version 0.90.12 19 Feb 2001 SYSMOND(man)

Search: Section: