I am trying to retrieve SMTP counters from Windows 2003 server

Command bellow returning -1, application log in Windows 2003 has error
message "Category does not exist". In Perfmon I am able to see this
counter though.

I am able to get other counters from the same server in Nagios.

What am I missing?

 

define command{

        command_name    check_nt_counter_queuelength

        command_line    /usr/local/nagios/libexec/check_nt -H
$HOSTADDRESS$ -p 1248 -v COUNTER -l "^SMTP Server^_Total^Remote Queue
Length","Remote Queue Length %.2f"  -w $ARG1$ -c $ARG2$

        }

 

 

Thanks

Ilya

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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