<font face="tahoma,sans-serif">Hello again,<br><br>Thanks for the tips so far. Now some responses;<br><br>On the monitored host, I have setup nrpe.cfg and therein I have set the option "allowed_hosts=<IP of monitoring server>" and also revised the format as shown below;<br>
<br><br><i style="color: rgb(255, 0, 0);">#specific commands#<br>command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / -p /var -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora <br>command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5%<br>
command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400<br>command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost<br>command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5<br>
<br></i><span style="color: rgb(0, 0, 0);">Then on the monitoring server, I have also setup the monitored host file (host.cfg) with the service description as follows;<br><br><i style="color: rgb(255, 0, 0);">define service{<br>
use generic-service ; Name of service template to use<br> host_name emm4<br> service_description Root Partition<br> check_command check_nrpe!check_disk!15%!10%!<br>
}</i><br></span><i style="color: rgb(255, 0, 0);"><br></i><span style="color: rgb(0, 0, 0);">After setting up all this, I refreshed the nrpe client on the monitored host and also restarted the nagios service on the monitoring server, this is after I checked that there were no errors whatsoever in the nagios configuration files. </span></font><font style="color: rgb(0, 0, 0);" face="tahoma,sans-serif">And
yes, I logged into the monitored host as the nagios user and was able
to verify that the check_nrpe command definition does run successfully.</font><br style="color: rgb(0, 0, 0);"><font style="color: rgb(0, 0, 0);" face="tahoma,sans-serif"><br>When I log into the nagios web GUI, I'm able to see the alerts, warnings and details for the check_swap, check_procs, check_ssh and for check_ftp. For the case of check_disk, I only see alerts/warnings and details only for the root (/) partition and NOT those for the /var, </font><font style="color: rgb(0, 0, 0);" face="tahoma,sans-serif">/var/opt/BGw/Server, </font><font face="tahoma,sans-serif"><span style="color: rgb(0, 0, 0);">/var/opt/mediation/ora. This is despite the fact that these partitions are defined in the nrpe.cfg file on the monitored host as shown above.<br>
<br>This is still puzzling....</span><i style="color: rgb(255, 0, 0);"><br><br></i></font>