Trying to use NSClient's counters...

Mirza Dedic mirde at oppy.com
Fri May 29 20:03:36 CEST 2009


Hello,

I have a few boxes where I would like to check deeper in for performance counters such as our Exchange 2007 Server..

I am trying to run..

#Exchange Connection Count
define command{
command_name check_nt_exchange_connection_count
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS\\Connection Count" -w 100 -c 250
}

#Exchange Delivery Time
define command{
command_name check_nt_exchange_delivery_time
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS(_Average Delivery Time)\\%%Usage","Average Delivery Time is %.2f%%" -w 2 -c 10
}

#Exchange Maximum Users
define command{
command_name check_nt_exchange_maximum_users
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS\\Connection Count" -w 100 -c 250
}

#Exchange Messages Delivered/Minute
define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120
}

But I can't seem to get any proper responses.. what I get is..

0

This makes no sense? On the NSClient++ log...

2009-05-29 11:02:18: debug:.\NSClientListener.cpp:146: Data: xr1p71c&8&MSExchangeIS Mailbox(_Total)\Messages Delivered/min
2009-05-29 11:02:18: debug:.\NSClientListener.cpp:171: Data: MSExchangeIS Mailbox(_Total)\Messages Delivered/min
2009-05-29 11:02:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: Counter=MSExchangeIS Mailbox(_Total)\Messages Delivered/min, nsclient
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string could not be parsed.
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string could not be parsed.
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1050: ERROR: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: PdhAddCounter failed: -1073738816: Unable to parse the counter path. Check the format and syntax of the specified path.
 (MSExchangeIS Mailbox(_Total)\Messages Delivered/min|MSExchangeIS Mailbox(_Total)\Messages Delivered/min)
2009-05-29 11:02:18: debug:.\NSClient++.cpp:946: Injected Result: WARNING '0'
2009-05-29 11:02:18: debug:.\NSClient++.cpp:947: Injected Performance Result: ''

Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090529/17896683/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
-------------- 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