Hello,

For example, in your script you must set a conditional: if difference 0,
then exit with status CRITICAL.

On 7 October 2011 13:46, Metron 6 (six) <[email protected]> wrote:

> 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)
>
> [email protected]
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
>



-- 
Kirill
------------------------------------------------------------------------------
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
[email protected]
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

Reply via email to