Windows Network Card Bandwidth Monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nishith
Posts: 28
Joined: Thu Jul 12, 2012 3:45 am

Windows Network Card Bandwidth Monitoring

Post 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
nishith
Posts: 28
Joined: Thu Jul 12, 2012 3:45 am

Re: Windows Network Card Bandwidth Monitoring

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Windows Network Card Bandwidth Monitoring

Post by Box293 »

Have a look at this Powershell script:

https://outsideit.net/check-ms-win-network-connections/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Windows Network Card Bandwidth Monitoring

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Windows Network Card Bandwidth Monitoring

Post by bwallace »

Thanks (again) nozlaf. Nishith, let us know if either of these suggestions will work for you.
Be sure to check out the Knowledgebase for helpful articles and solutions!
nishith
Posts: 28
Joined: Thu Jul 12, 2012 3:45 am

Re: Windows Network Card Bandwidth Monitoring

Post 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
Attachments
pnp4nagios_bandwidth.jpg
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Windows Network Card Bandwidth Monitoring

Post by nozlaf »

you should try what Box293 said
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
nishith
Posts: 28
Joined: Thu Jul 12, 2012 3:45 am

Re: Windows Network Card Bandwidth Monitoring

Post by nishith »

What exactly is the "Box293"? Kindly provide documentation if possible.

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

Nishith
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Windows Network Card Bandwidth Monitoring

Post 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?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Windows Network Card Bandwidth Monitoring

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked