Ok cool, every thing is working… thanks so much for your help!!! Although I have noticed something with the service check for the disk. The following pic is of from the command line on the remote host. I ran “df” from the command line to look at the space left on the partition, and it is different than what the nagios service check returns:
img376.imageshack.us/my.php?imag … hotwh5.png
And here is the pic from the nagios webinterface:
img100.imageshack.us/my.php?imag … picgv5.png
What do these return values mean? They are different compared to what I am seeing from the commandline. I have the following command line by nrpe:
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/md1 -p /dev/md5 -C -w 20% -c 10% -p /dev/md6 -p /dev/md7 -p /dev/md8
The percentages are different from what is shown on the remote server from the command prompt. Why? Also when I use the following command, nagios throws an error:
What is the difference with the second command that has “-w 100000 -c 50000” compared to the percentage values? Sorry about all of the questions, but I am kinda curious how this works… I have to be able to explain this to my colleges if they have questions over it.