nsclient counters - detect increase / decrease
Mark Leddy
mark_leddy at hotmail.com
Wed Feb 12 19:12:30 CET 2003
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
More information about the Users
mailing list