nsclient counters - detect increase / decrease
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Wed Feb 12 22:30:23 CET 2003
Sounds like you'll want to write a wrapper script. Write a tempfile to disk
to save state between invocations.
jc
> -----Original Message-----
> From: Mark Leddy [mailto:mark_leddy at hotmail.com]
> Sent: Wednesday, February 12, 2003 12:13 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nsclient counters - detect increase / decrease
>
>
>
> I have been able to run nsclient and check_nt to return the counters.
> Works real nice!
>
> Does anyone have or could anyone tell me some specifics on
> how I could check
> the values returned against the previous check to see if the
> counter(s)
> incremented, and if the counter has not incremented to give a
> warning or
> critical status, alert, etc.?
>
> One of the areas this would help is checking smtp mail flow,
> with Exchange
> and Lotus Notes where a simple too high/ too low threshold
> does not apply.
>
> Thanks,
> Mark
>
>
> Nagios output for smtp counter
> SMTP Messages Received Total 77583
>
> check command I am using:
> define command{
> command_name check_nt_smtptotalmsgreceived
> command_line $USER1$/check_nt -H $HOSTNAME$ -p
> 1248 -v COUNTER -l
> "\\SMTP Server(_Total)\\Messages Received Total","SMTP
> Messages Received
> Total %.f"
> }
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> 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
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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