sysmond - System Monitoring Utility
sysmond [ -d ] [ -f config-file ] [ -h ]
[ -n ] [ -p port ] [ -v ] [ -q ] [
reload ] [ pause ] [ resume ] [ stop ]
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.
- -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.
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.
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.
- /etc/sysmon.conf
- Configuration file for sysmond. See sysmon.conf(man) for
exact information.
Sysmon is primarily written by
- Jared Mauch
- jared@puck.nether.net
-