I read the documentation but I am obviously missing something. I am trying to use nagios to monitor the free space on remote disks.
I thought “check_disk” was what I had to use but the scripts mention a “-H” (host) which is not part of the command.
Could someone point me to the apropriate documentation or give me a hands on example?
I am running Nagios 2.0 rc2 on a Gentoo box.
Here is what I have:
=On the server=
command_line /usr/nagios/libexec/check_disk -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p $ARG3$
** note the -H which is obviously not right but which I took from a “working” example **
=On the host=
command[check_disk]=/usr/nagios/libexec/check_disk -w 20% -c 10% -p /
The error I get in the browser is:
check_disk: Unknown argument - (null)
Any help would greatly be apreciated