nsclient++ and network counters

Jim Avery jim at jimavery.me.uk
Wed Mar 11 14:32:16 CET 2009


2009/3/11 Assaf Flatto <assaf.flatto at ssp-intl.com>:
>
> Hello List
>
> i must admit - my understanding of Windows is limited , now i need to find a way to monitor network
> usage on a windows machine , i tried the snmp route and got to the understanding ( from googling
> the subject ) that the way MS is implementing SNMP is the reason why i can not get what i want ,so
> now i am trying to do the same with the COUNTER option on the check_nt  .
>
> i have the following check ;
> check_nt -H x.x.x.x -p 1248 -v COUNTER -l "\\Local Area Connection\\% ","Network Useage is %.2f"
> the output is :
> Network Useage is 0.00 | 'Network Useage is %.2f'=0.000000%;0.000000;0.000000;
>
> but i know that the answer is wrong as i am watching the network meter on the windows machine itself
> and see it at 25% .
>
> I suspect that my query is wrong  - i assume the label , does anyone know what i should be using to
> get the correct query ?
>
> Thanks


You need to find the name of the performance counter on your Windows
server.  I'm pretty sure there isn't one called "\Local Area
Connection\%".  On your Windows system go in to Administrative Tools /
Performance and add the counter you want to look at.  Once you can see
it in the performance tool, right-click on it and click "Properties"
to see the full name of the counter which you want to monitor.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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