Hi i had writetn a small script ( plugin ) check_nmqt to tchk the mailq of my server the script runs with the following arg :
#>/usr/lib/nagios/plugins/check_nmqt 10000 .....................(enter) WARNING: mailq (12195) is above threshold in my /etc/nagiso.nrpe.cfg file i have the following setting command[check_mailq]=/usr/lib/nagios/plugins/check_nmqt 10000 Now on nagios server when i run the command via nrpe it gives me the same output but however it does not send me a sms/email alert messages : # /usr/lib64/nagios/plugins/check_nrpe -H 202.162.251.151 -c check_mailq WARNING: mailq (12433) is above threshold how do i tell nrpe to send me sms / email with when the output is "WARNING " Thanks a lot !! -- Regards Agnello D'souza [Non-text portions of this message have been removed]
