Hi All<br><br>I am using nagios version 3.0.3.<br><br>For monitoring memory usage of my app servers, I wrote a bash script which is executed through nrpe. (nrpe version 2.7 )<br>Things work fine, but when I made a change to the reporting `echo' line in the script, it does not show up on nagios web interface as well as emails.<br>
<br>When I run the command manually on app servers and remotely from nagios monitoring station using nrpe call, it works perfect.<br>Problem is only when the command is being run by nagios periodically. I even doubt if nagios runs the command at all.<br>
<br>Running manually from nagios machine:<br><br>/etc/nagios/libexec/check_nrpe -H <app server IP> -c check_memory -a 60 75<br>Memory WARNING; Available: 12329MB(64.700% used)<br><br>The above result is correct. Please note the semicolon(;) after the WARNING status.<br>
<br>Whereas I get the string "Memory WARNING: Available: 12329MB(64.700% used)" in web interface and emails (There is a colon(:) after the status)<br><br>Can someone guide me how to correct this behaviour?<br><br>
Best Regards,<br>Raja T Nair.<br>-- <br>:^)<br>