checking ms sql...
Kirill Bychkov
kirill.bychkov at gmail.com
Fri Oct 7 12:08:12 CEST 2011
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) <metron6 at gmail.com> 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)
>
> Metron6 at 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 at 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
>
--
Kirill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111007/d925c1e2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list