read this and incorporate it to your exit codes. http://nagios.sourceforge.net/docs/nagioscore/3/en/pluginapi.html
Assaf ----- Original Message ----- From: "Metron 6 (six)" <metr...@gmail.com> To: "Nagios Users List" <nagios-users@lists.sourceforge.net> Sent: Friday, 7 October, 2011 10:46:14 AM Subject: [Nagios-users] checking ms sql... hello, i have a script to check a microsoft sql server. script runs every hour and checks if there are any new records. output of the script is like this: 400 added since last time 60' ago (33716 - 33316) Participants an hour ago: 33316 Participants now: 33716 Difference: 400 i want to add it, and if the difference is 0, to send notifications... but i dont know how... can anyone help me ? rgds, george -- regards, Metron 6 (six) metr...@gmail.com ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null