[Pkg-nagios-devel] nrpe.cfg

Sigmund Scheinbar sigmund.debian at synflood.homelinux.org
Sun Aug 27 19:44:29 UTC 2006


Hi there!

I just wanted to mention that the examples in nrpe.cfg are rather
irritating:

command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p
/dev/hda1

This check will tell that the service ist ok altough it is not, for two
reasons:
1.) the '-p' stands for path which is obviously wrong in this case
2.) the -w 20 means IIRC 20 bytes and not 20 percent which would make
much more sense.

My suggestion would be:
command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -x
/dev/hda1

Of course every nagios wizard will notice this misconfiguration soon but
 it just costed me ~15 unnecessary minutes to figure out what's wrong.

Btw. it would be really nice if there was a debconf dialog for
allowed_hosts. Also the command definitions should reside in
nrpe_local.cfg IMHO.

Yours,
Sigmund

P.S.: plz cc me, i'm not subscribed!




More information about the Pkg-nagios-devel mailing list