This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
OptimusB
Posts: 146 Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:
Post
by OptimusB » Tue May 05, 2015 11:37 am
I came across this issue while configuring 5.1 ESXi host. Using SNMPv2 via the network switch wizard, which will capture all the network ports configured with the host. However it does not produce any performance data, all network bandwidth is flatlined. However after reading MRTG's site, I decided to give v1 a try and that looks to be working right. I was able to see the network performance data.
One more item I noticed while comparing the MRTG file and what the wizard discovers. Max speeds detected by the wizard is correct. However in the MRTG configuration is different. Example, Port 5 to 10 are detected as 4.29Gbps but the CFG files shows max speed of 536.9MB.
esx ports.JPG
Code: Select all
### Interface 8 >> Descr: 'Device-vmnic7-at-74:00.0-enic' | Name: 'vmnic7' | Ip: 'No Ip' | Eth: '6c-41-6a-b1-25-38' ###
Target[esxihost_8]: 8:snmp@esxihost:::::1
SetEnv[esxihost_8]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="Device-vmnic7-at-74:00.0-enic"
MaxBytes[esxihost_8]: 536870911
Title[esxihost_8]: Traffic Analysis for 8 -- esxihost.domain.loc
PageTop[esxihost_8]: <h1>Traffic Analysis for 8 -- esxihost.domain.loc</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>esxihost.domain.loc in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>Device-vmnic7-at-74:00.0-enic </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>vmnic7</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>536.9 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>No Ip (No DNS name)</td>
</tr>
</table>
</div>
The graphs shows up with Gbps so I just want to validate if the data is correct or not.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334 Joined: Thu Nov 15, 2012 1:20 pm
Post
by abrist » Tue May 05, 2015 11:49 am
Formula:
Well, 4.29Gbps = 536.25MBps. So my assumption is that it is most likely correct.
http://www.numion.com/calculators/units.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the
Dark Side .
OptimusB
Posts: 146 Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:
Post
by OptimusB » Tue May 05, 2015 4:07 pm
Thanks for the clarification. I didn't even think about that after conversion!
As for the SNMP v1 vs v2 with different results, I am guessing that this is just how MRTG behaves?
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Wed May 06, 2015 10:53 am
As for the SNMP v1 vs v2 with different results, I am guessing that this is just how MRTG behaves?
Let's clarify - you are saying that you get performance data ONLY when you use SNMP v1, but not when you use v2, correct?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
OptimusB
Posts: 146 Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:
Post
by OptimusB » Wed May 06, 2015 1:45 pm
Let's clarify - you are saying that you get performance data ONLY when you use SNMP v1, but not when you use v2, correct?
That's correct.
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Wed May 06, 2015 4:12 pm
If you go to the advanced tab is your perfdata blank? Mine is not (see attachment)
You do not have the required permissions to view the files attached to this post.
OptimusB
Posts: 146 Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:
Post
by OptimusB » Wed May 06, 2015 5:56 pm
Here's what I have for v1 and v2. v1 is the one with data.
V1
v1.JPG
V2
v2.JPG
MRTG configuration
V1
Code: Select all
### Interface 8 >> Descr: 'Device-vmnic7-at-74:00.0-enic' | Name: 'vmnic7' | Ip: 'No Ip' | Eth: '6c-41-6a-b1-25-38' ###
Target[vh1_8]: 8:esx@vh1:::::1
SetEnv[vh1_8]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="Device-vmnic7-at-74:00.0-enic"
MaxBytes[vh1_8]: 536870911
Title[vh1_8]: Traffic Analysis for 8 -- vh1
PageTop[vh1_8]: <h1>Traffic Analysis for 8 -- vh1</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>vh1 in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>Device-vmnic7-at-74:00.0-enic </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>vmnic7</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>536.9 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>No Ip (No DNS name)</td>
</tr>
</table>
</div>
v2
Code: Select all
### Interface 8 >> Descr: 'Device-vmnic7-at-74:00.0-enic' | Name: 'vmnic7' | Ip: 'No Ip' | Eth: '6c-41-6a-b1-25-38' ###
Target[10.242.13.1_8]: 8:[email protected] :::::2
SetEnv[10.242.13.1_8]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="Device-vmnic7-at-74:00.0-enic"
MaxBytes[10.242.13.1_8]: 1250000000
Title[10.242.13.1_8]: Traffic Analysis for 8 -- vh1
PageTop[10.242.13.1_8]: <h1>Traffic Analysis for 8 -- vh1</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>vh1 in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>Device-vmnic7-at-74:00.0-enic </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>vmnic7</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>1250.0 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>No Ip (No DNS name)</td>
</tr>
</table>
</div>
You do not have the required permissions to view the files attached to this post.
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Wed May 06, 2015 11:22 pm
On your ESXi host, where have you configured the snmp community name? Can you provide a screenshot.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Thu May 07, 2015 9:22 am
Is SNMP returning any data for v 2c?
Code: Select all
[jdalrymple@localhost cron.d]$ snmpwalk -v 2c -c <community> <ESXi IP> ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 849427213
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 849427213
IF-MIB::ifOutOctets.4 = Counter32: 849427213
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 0
OptimusB
Posts: 146 Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:
Post
by OptimusB » Thu May 07, 2015 10:33 am
Yes Looks like it is returning that information.
Code: Select all
# snmpwalk -v 2c -c esx 10.242.13.1 ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 2746749794
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 3663835517
IF-MIB::ifOutOctets.8 = Counter32: 3566282968
IF-MIB::ifOutOctets.9 = Counter32: 2115618015
IF-MIB::ifOutOctets.10 = Counter32: 2115618015
IF-MIB::ifOutOctets.11 = Counter32: 2115618015
IF-MIB::ifOutOctets.12 = Counter32: 2115618015
IF-MIB::ifOutOctets.13 = Counter32: 0
IF-MIB::ifOutOctets.14 = Counter32: 0
IF-MIB::ifOutOctets.15 = Counter32: 0
IF-MIB::ifOutOctets.16 = Counter32: 0
IF-MIB::ifOutOctets.17 = Counter32: 0
IF-MIB::ifOutOctets.18 = Counter32: 0
I am reading from MRTG that SNMPv2 will look for ifHC* counters? which I do see....
(
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html under SNMPv2c)
Code: Select all
# snmpwalk -v 2c -c esx 10.242.13.1 | grep ifHC*
IF-MIB::ifHCInOctets.1 = Counter64: 0
IF-MIB::ifHCInOctets.2 = Counter64: 0
IF-MIB::ifHCInOctets.3 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 0
IF-MIB::ifHCInOctets.5 = Counter64: 2478195431
IF-MIB::ifHCInOctets.6 = Counter64: 1464148720
IF-MIB::ifHCInOctets.7 = Counter64: 3997892322
IF-MIB::ifHCInOctets.8 = Counter64: 2132318216
IF-MIB::ifHCInOctets.9 = Counter64: 2181120457
IF-MIB::ifHCInOctets.10 = Counter64: 2181120457
IF-MIB::ifHCInOctets.11 = Counter64: 2181120457
IF-MIB::ifHCInOctets.12 = Counter64: 2181120457
IF-MIB::ifHCInOctets.13 = Counter64: 0
IF-MIB::ifHCInOctets.14 = Counter64: 0
IF-MIB::ifHCInOctets.15 = Counter64: 0
IF-MIB::ifHCInOctets.16 = Counter64: 0
IF-MIB::ifHCInOctets.17 = Counter64: 0
IF-MIB::ifHCInOctets.18 = Counter64: 0
IF-MIB::ifHCInUcastPkts.1 = Counter64: 0
IF-MIB::ifHCInUcastPkts.2 = Counter64: 0
IF-MIB::ifHCInUcastPkts.3 = Counter64: 0
IF-MIB::ifHCInUcastPkts.4 = Counter64: 0
IF-MIB::ifHCInUcastPkts.5 = Counter64: 1974352498
IF-MIB::ifHCInUcastPkts.6 = Counter64: 22586
IF-MIB::ifHCInUcastPkts.7 = Counter64: 3915102381
IF-MIB::ifHCInUcastPkts.8 = Counter64: 3740752572
IF-MIB::ifHCInUcastPkts.9 = Counter64: 1594487583
IF-MIB::ifHCInUcastPkts.10 = Counter64: 1594487583
IF-MIB::ifHCInUcastPkts.11 = Counter64: 1594487583
IF-MIB::ifHCInUcastPkts.12 = Counter64: 1594487583
IF-MIB::ifHCInUcastPkts.13 = Counter64: 3478267112
IF-MIB::ifHCInUcastPkts.14 = Counter64: 2085400558
IF-MIB::ifHCInUcastPkts.15 = Counter64: 0
IF-MIB::ifHCInUcastPkts.16 = Counter64: 1
IF-MIB::ifHCInUcastPkts.17 = Counter64: 2
IF-MIB::ifHCInUcastPkts.18 = Counter64: 2
IF-MIB::ifHCInMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.3 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.4 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.5 = Counter64: 112578547
IF-MIB::ifHCInMulticastPkts.6 = Counter64: 16667504
IF-MIB::ifHCInMulticastPkts.7 = Counter64: 112580174
IF-MIB::ifHCInMulticastPkts.8 = Counter64: 16667066
IF-MIB::ifHCInMulticastPkts.9 = Counter64: 225158721
IF-MIB::ifHCInMulticastPkts.10 = Counter64: 225158721
IF-MIB::ifHCInMulticastPkts.11 = Counter64: 225158721
IF-MIB::ifHCInMulticastPkts.12 = Counter64: 225158721
IF-MIB::ifHCInMulticastPkts.13 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.14 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.15 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.16 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.17 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.18 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.2 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.3 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.4 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.5 = Counter64: 4984851
IF-MIB::ifHCInBroadcastPkts.6 = Counter64: 21168
IF-MIB::ifHCInBroadcastPkts.7 = Counter64: 4984878
IF-MIB::ifHCInBroadcastPkts.8 = Counter64: 21168
IF-MIB::ifHCInBroadcastPkts.9 = Counter64: 9969729
IF-MIB::ifHCInBroadcastPkts.10 = Counter64: 9969729
IF-MIB::ifHCInBroadcastPkts.11 = Counter64: 9969729
IF-MIB::ifHCInBroadcastPkts.12 = Counter64: 9969729
IF-MIB::ifHCInBroadcastPkts.13 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.14 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.15 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.16 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.17 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.18 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.1 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.2 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.3 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.4 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.5 = Counter64: 576654218
IF-MIB::ifHCOutUcastPkts.6 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.7 = Counter64: 3170711689
IF-MIB::ifHCOutUcastPkts.8 = Counter64: 1407162402
IF-MIB::ifHCOutUcastPkts.9 = Counter64: 3747365907
IF-MIB::ifHCOutUcastPkts.10 = Counter64: 3747365907
IF-MIB::ifHCOutUcastPkts.11 = Counter64: 3747365907
IF-MIB::ifHCOutUcastPkts.12 = Counter64: 3747365907
IF-MIB::ifHCOutUcastPkts.13 = Counter64: 2377362792
IF-MIB::ifHCOutUcastPkts.14 = Counter64: 2814315288
IF-MIB::ifHCOutUcastPkts.15 = Counter64: 29
IF-MIB::ifHCOutUcastPkts.16 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.17 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.18 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.3 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.4 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.5 = Counter64: 1375325
IF-MIB::ifHCOutMulticastPkts.6 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.7 = Counter64: 1252834
IF-MIB::ifHCOutMulticastPkts.8 = Counter64: 5
IF-MIB::ifHCOutMulticastPkts.9 = Counter64: 2628159
IF-MIB::ifHCOutMulticastPkts.10 = Counter64: 2628159
IF-MIB::ifHCOutMulticastPkts.11 = Counter64: 2628159
IF-MIB::ifHCOutMulticastPkts.12 = Counter64: 2628159
IF-MIB::ifHCOutMulticastPkts.13 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.14 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.15 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.16 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.17 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.18 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.2 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.3 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.4 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.5 = Counter64: 2260705
IF-MIB::ifHCOutBroadcastPkts.6 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.7 = Counter64: 6817126
IF-MIB::ifHCOutBroadcastPkts.8 = Counter64: 21159
IF-MIB::ifHCOutBroadcastPkts.9 = Counter64: 9077831
IF-MIB::ifHCOutBroadcastPkts.10 = Counter64: 9077831
IF-MIB::ifHCOutBroadcastPkts.11 = Counter64: 9077831
IF-MIB::ifHCOutBroadcastPkts.12 = Counter64: 9077831
IF-MIB::ifHCOutBroadcastPkts.13 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.14 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.15 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.16 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.17 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.18 = Counter64: 0
IF-MIB::ifHighSpeed.1 = Gauge32: 0
IF-MIB::ifHighSpeed.2 = Gauge32: 0
IF-MIB::ifHighSpeed.3 = Gauge32: 0
IF-MIB::ifHighSpeed.4 = Gauge32: 0
IF-MIB::ifHighSpeed.5 = Gauge32: 10000
IF-MIB::ifHighSpeed.6 = Gauge32: 10000
IF-MIB::ifHighSpeed.7 = Gauge32: 10000
IF-MIB::ifHighSpeed.8 = Gauge32: 10000
IF-MIB::ifHighSpeed.9 = Gauge32: 10000
IF-MIB::ifHighSpeed.10 = Gauge32: 10000
IF-MIB::ifHighSpeed.11 = Gauge32: 10000
IF-MIB::ifHighSpeed.12 = Gauge32: 10000
IF-MIB::ifHighSpeed.13 = Gauge32: 0
IF-MIB::ifHighSpeed.14 = Gauge32: 0
IF-MIB::ifHighSpeed.15 = Gauge32: 0
IF-MIB::ifHighSpeed.16 = Gauge32: 0
IF-MIB::ifHighSpeed.17 = Gauge32: 0
IF-MIB::ifHighSpeed.18 = Gauge32: 0
So doing a walk, it looks like it has an ifHCInOctet but not ifHCOutOctet....
Code: Select all
# snmpwalk -v 2c -c esx 10.242.13.1 | grep ifHCInOctets
IF-MIB::ifHCInOctets.1 = Counter64: 0
IF-MIB::ifHCInOctets.2 = Counter64: 0
IF-MIB::ifHCInOctets.3 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 0
IF-MIB::ifHCInOctets.5 = Counter64: 2798128280
IF-MIB::ifHCInOctets.6 = Counter64: 1464163212
IF-MIB::ifHCInOctets.7 = Counter64: 4046122006
IF-MIB::ifHCInOctets.8 = Counter64: 3197500063
IF-MIB::ifHCInOctets.9 = Counter64: 2549282990
IF-MIB::ifHCInOctets.10 = Counter64: 2549282990
IF-MIB::ifHCInOctets.11 = Counter64: 2549282990
IF-MIB::ifHCInOctets.12 = Counter64: 2549282990
IF-MIB::ifHCInOctets.13 = Counter64: 0
IF-MIB::ifHCInOctets.14 = Counter64: 0
IF-MIB::ifHCInOctets.15 = Counter64: 0
IF-MIB::ifHCInOctets.16 = Counter64: 0
IF-MIB::ifHCInOctets.17 = Counter64: 0
IF-MIB::ifHCInOctets.18 = Counter64: 0
# snmpwalk -v 2c -c esx 10.242.13.1 | grep ifHCOutOctets
#
At this point if V1 works, I can stick with that, I am not sure why V2 is behaving like this and could be the ESX host side? As long as I can validate that the data captured is accurate.