Hello,
I have found some bugs in documentation for nagios 2.0.
F.e. on page about Event Handlers there should be:
Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$,
$SERVICEATTEMPT$
Host event handler macros: $HOSTSTATE$, $HOSTSTATETYPE$, $HOSTATTEMPT$
and
define command{
command_name restart-httpd
command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd
$SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
}
And there are a lot of the same bugs in documentation for nagios 2.0.
There is no $STATETYPE$ in nagios 2.0. There is $SERVICESTATETYPE$ for
services and $HOSTSTATETYPE$ for hosts.
Best Regards
Maciej Bogucki
--
PGP key: http://pgp.mit.edu:11371/pks/lookup?op= ... 0x9F74A406
Key fingerprint = 6E44 9A4A 8743 9936 1E92 A0B4 F2A8 87F7 9F74 A406
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]