Page 1 of 1

Windows Network Card Bandwidth Monitoring

Posted: Sat Feb 20, 2016 11:29 pm
by nishith
Hello,

I am using Nagios Core since 5+ years and very happy to have a such nice and stable incident mgmt and alerting system.

Further to my company's approach, I need to monitor "Network Card Bandwidth" of WIndows 2008 and 2012 Servers. I have almost 30+ servers in my DataCenter. My monitoring parameter is,

NIC Tx/Rx in Kbps/Mbps/Bytes

NSClient++ is already installed with SNMP v1, having "public" community name for testing purpose.

So, let me know which Nagios plugins gives proper output of Network Card Traffic for Windows and Red Hat Enterprise Linux Servers as well.

FYI:
1) pnp4nagios is functioning very well and able to generate graphs of Hard Drive Utilization, CPU, Memory and other as well.

2) Also, I tried to install and configure mrtgtraf to fetch logs from remote windows machine to generate logs, but that exercise was failed. mrtg wasn't able to generate "host.html" and "host.og" file, which mrtg actually needs to generate graphs.


Advanced Thanks,
N.Vyas

Re: Windows Network Card Bandwidth Monitoring

Posted: Sun Feb 21, 2016 12:21 am
by nishith
Hello,

I have used below snmp based plugin for bandwidth monitoring purpose, but it is very confusing. I just need Bandwidth output of "single network card interface" in Kbps/Mbps.

OUTPUT:
Windows:
[root@gjvatwb1 libexec]# ./check_int_traffic.1.2 -H 172.16.1.105 -C public --multiline
Unknown option: multiline
OK. Microsoft 6to4 Adapter:down QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130-Trend Micro NDIS 6.0 Filter driver-0000:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131-Trend Micro NDIS 6.0 Filter driver-0000:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135-Trend Micro NDIS 6.0 Filter driver-0000:up QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128-Trend Micro NDIS 6.0 Filter driver-0000:up | 'Microsoft 6to4 Adapter_in_octet'=0c 'Microsoft 6to4 Adapter_out_octet'=0c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130-Trend Micro NDIS 6.0 Filter driver-0000_in_octet'=1898432585c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130-Trend Micro NDIS 6.0 Filter driver-0000_out_octet'=139683448c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130_in_octet'=1898432585c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #130_out_octet'=139683448c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128_in_octet'=2552652419c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128_out_octet'=496000422c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135_in_octet'=1506052716c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135_out_octet'=63472337c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131-Trend Micro NDIS 6.0 Filter driver-0000_in_octet'=1492034280c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131-Trend Micro NDIS 6.0 Filter driver-0000_out_octet'=17376629c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131_in_octet'=1492034280c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #131_out_octet'=17376629c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135-Trend Micro NDIS 6.0 Filter driver-0000_in_octet'=1506052716c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #135-Trend Micro NDIS 6.0 Filter driver-0000_out_octet'=63472337c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128-Trend Micro NDIS 6.0 Filter driver-0000_in_octet'=2552652419c 'QLogic BCM57840 10 Gigabit Ethernet (NDIS VBD Client) #128-Trend Micro NDIS 6.0 Filter driver-0000_out_octet'=496000422c[root@gjvatwb1 libexec]#

Please Guide. Only single Network Card is connected within the LAN and WAN segment.
########################################
Other Output of this plugin:

Linux:
[root@gjvatwb1 libexec]# ./check_int_traffic.1.2 -H 192.168.1.1 -C public --multiline
Unknown option: multiline
Argument "" isn't numeric in numeric eq (==) at ./check_int_traffic.1.2 line 362.
OK. eth0:up eth1:down | 'eth0_in_octet'=2028235668c 'eth0_out_octet'=3909047803c 'eth1_in_octet'=0c 'eth1_out_octet'=0c[root@gjvatwb1 libexec]#

[root@gjvatwb1 libexec]# ./check_int_traffic.1.2 -h
check_int_traffic,Version 1.0
Copyright (c) 2011 Martin Fuerstenau - Oce Printing Systems

Usage: check_int_traffic -H <host> [-C community] [-d]

or

Usage: check_int_traffic -h for help.

-H, --hostname=HOST Name or IP address of host to check
-C, --community=community SNMP community (default public)
-v, --snmpversion=snmpversion Version of the SNMP protocol. At present version 1 or 2c
-p, --portsnmpversion=snmpversion Version of the SNMP protocol. At present version 1 or 2c
-d, --down Alarm if any of the interfaces is down
-h, --help Short help message

Here, Linux is having two ethernet channels, but I want output from single interface only.
################################

Thanks,
Nishith N.Vyas

Re: Windows Network Card Bandwidth Monitoring

Posted: Sun Feb 21, 2016 5:59 pm
by Box293
Have a look at this Powershell script:

https://outsideit.net/check-ms-win-network-connections/

Re: Windows Network Card Bandwidth Monitoring

Posted: Fri Feb 26, 2016 1:23 am
by nozlaf
another way to do this would be to send sflow data to nagios network analyzer
http://blog.sflow.com/2010/10/installin ... erver.html
and link that back to nagios core

Re: Windows Network Card Bandwidth Monitoring

Posted: Fri Feb 26, 2016 2:30 pm
by bwallace
Thanks (again) nozlaf. Nishith, let us know if either of these suggestions will work for you.

Re: Windows Network Card Bandwidth Monitoring

Posted: Sat Feb 27, 2016 12:06 am
by nishith
Hello Sir,

I don't have Nagios Network Analyzer, as it is a paid product and I am using Nagios Core since 5+ years. SFlow tool is really useful and also installed on Windows 2008 R2, but now my limitation is to fetch the flow data into Nagios, for which I need to find out nagios free tool...

Let me know if any "Nagios Network Analyzer" alternatives are available.

Although, I am using another tool, thru which graphs are being generated, but it is having broken lines. Please see attached graph snap for your reference purpose and the link as given below.

https://exchange.nagios.org/directory/P ... er/details

Nishith N.Vyas

Re: Windows Network Card Bandwidth Monitoring

Posted: Sat Feb 27, 2016 4:46 am
by nozlaf
you should try what Box293 said

Re: Windows Network Card Bandwidth Monitoring

Posted: Sun Feb 28, 2016 9:38 am
by nishith
What exactly is the "Box293"? Kindly provide documentation if possible.

I am unable to find out proper information over the internet.

Nishith

Re: Windows Network Card Bandwidth Monitoring

Posted: Sun Feb 28, 2016 2:37 pm
by eloyd
Box293 is a user on the forums who offered you some advice a few notes back:
Have a look at this Powershell script:

https://outsideit.net/check-ms-win-network-connections/
Have you tried that?

Re: Windows Network Card Bandwidth Monitoring

Posted: Mon Feb 29, 2016 10:16 am
by bwallace
The suggestion from Box293 (& eloyd) would be the best option for you at this point. Let us know if that will indeed work for you.