alertd — The SNMP trap sending daemon
alertd
[-hv
] [-d
] dbglev
-f
cfgfile
The alertd daemon is a component waiting for messages sent
via special UNIX sockets (security.alert
,
security.notify
,
system.alert
and
system.notify
) in the
/var/run/alertd
directory
and send them as a SNMP trap to a set of SNMP managers.
The daemon runs in fact as three processes, like Kernun proxies do. The main process just controls run of its children. The Asynchronous Configuration Resolver provides for DNS resolution refreshing. The regular child process handles the real operation.
The alertd daemon handles following signals:
SIGUSR1
Log level increasing.
SIGUSR2
Log level decreasing.
SIGINFO
Operation status logging; parent process logs info about all children, child process logs current status of all ping groups.
SIGHUP
,
SIGINT
,
SIGQUIT
,
SIGTERM
Immediate termination; the daemon immediately closes the service.
-h
Print usage information.
-v
Display version information and exit.
-d
dbglev
Set debuging level to a specific number. Permitted values are 3 through to 9, 3 being the least and 9 the most verbose. See logging(7) for details. This setting is relevant only till configuration reading is finished.
-f cfgfile
Read cfgfile
for configuration information.