Seem to be unable to get the port speeds be recognized at potential for 10gb ports universally and 1gb ports are being set based upon current auto-negotiation settings rather than the capabilities of the port, which I think means that anytime a port is changed the service related to that port would have to be removed and updated.
2nd point there is not ideal, but can work around it. Would very much like to have 10gb ports displayed correctly though. I saw a previous forum topic discussing some development around the wizard (our version is 2.3.1;) have the necessary enhancements been included in our version, and if not, are they to be released soon? Any other workarounds?
Thank you!
Network Switch/Router Wizard Port Speeds
Re: Network Switch/Router Wizard Port Speeds
2.3.1 is the latest.
I don't have any high speed port devices to test with, please PM me a copy of your /etc/mrtg/conf.d/DEVICENAME.cfg for one that has those high speed ports so that I can review it.
Thank you
I don't have any high speed port devices to test with, please PM me a copy of your /etc/mrtg/conf.d/DEVICENAME.cfg for one that has those high speed ports so that I can review it.
Thank you
Re: Network Switch/Router Wizard Port Speeds
On your first point, what switch or router make/model are you using? There were some hang-ups with Cisco MDS in past, as seen in this thread:
https://support.nagios.com/forum/viewto ... 16&t=32979
On your second point, are you talking about graphing and could provide a link to the forum post you mentioned?
Could you post a screenshot of the incorrect display you presently see?
https://support.nagios.com/forum/viewto ... 16&t=32979
On your second point, are you talking about graphing and could provide a link to the forum post you mentioned?
Could you post a screenshot of the incorrect display you presently see?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Network Switch/Router Wizard Port Speeds
ssax wrote:2.3.1 is the latest.
I don't have any high speed port devices to test with, please PM me a copy of your /etc/mrtg/conf.d/DEVICENAME.cfg for one that has those high speed ports so that I can review it.
Thank you
These are fresh adds, so no .cfg files as yet.
Re: Network Switch/Router Wizard Port Speeds
That is the thread I referenced in my opening post on this topic. I tried the bandwidth setting on the int as directed in the following post, but it had no effect. The int still gets set at 4.29 gb rather than 10.bwallace wrote:On your first point, what switch or router make/model are you using? There were some hang-ups with Cisco MDS in past, as seen in this thread:
https://support.nagios.com/forum/viewto ... 16&t=32979
On your second point, are you talking about graphing and could provide a link to the forum post you mentioned?
Could you post a screenshot of the incorrect display you presently see?
Re: XI Network Wizard - Bandwidth speed issue
Postby abrist » Thu May 21, 2015 4:24 pm
Our wizard prioritizes different detected speed values (acquired through snmp) in the following order:
1. Bandwidth Setting (device specific setting)
2. Reported ifSpeed
3. Finally, Link Speed if all else fails.
Thinking it may be a model issue, I tried both Cisco 2960X and 3750E switches--same results. I have attached a screenshot of the issue from the 2960X.
You do not have the required permissions to view the files attached to this post.
Re: Network Switch/Router Wizard Port Speeds
Hi folks,
That past thread was mine regarding the MDS and interface speed.
I believe the cfgmaker code may to change to support higher interface speeds. The ifSpeed OID is 32-bit object, which means it can't support interface speeds greater than 4.2 GB. These MDS devices have another OID called ifHighSpeed for each interface, which will show the correct speed of interface.
Example: Here is an 8GB interface on 1 of our MDS switches
IF-MIB::ifSpeed.18440192 = Gauge32: 3705032704
IF-MIB::ifHighSpeed.18440192 = Gauge32: 8000
Nagios will show the speed as 3.71 GB via the wizard. For the workaround I have to change the WARN and CRIT for in/out speeds in the wizard to indicate it is in fact at 8GB speeds.
I'm happy to provide more info, or to test things out.
brdr
That past thread was mine regarding the MDS and interface speed.
I believe the cfgmaker code may to change to support higher interface speeds. The ifSpeed OID is 32-bit object, which means it can't support interface speeds greater than 4.2 GB. These MDS devices have another OID called ifHighSpeed for each interface, which will show the correct speed of interface.
Example: Here is an 8GB interface on 1 of our MDS switches
IF-MIB::ifSpeed.18440192 = Gauge32: 3705032704
IF-MIB::ifHighSpeed.18440192 = Gauge32: 8000
Nagios will show the speed as 3.71 GB via the wizard. For the workaround I have to change the WARN and CRIT for in/out speeds in the wizard to indicate it is in fact at 8GB speeds.
I'm happy to provide more info, or to test things out.
brdr
Re: Network Switch/Router Wizard Port Speeds
Thanks brdr, that would help, so does your MRTG cfg files in /etc/mrtg/conf.d show anything that we can use to get that information or will we have to reach out with SNMP first?
Re: Network Switch/Router Wizard Port Speeds
Here is the snippet from mrtg for the interface in my post above. Not much ;-(
### Interface 18440192 >> Descr: 'fc4/23' | Name: 'fc4/23' | Ip: 'No Ip' | Eth: 'zzzzzzzzzz' ###
Target[x.x.x.x_18440192]: 18440192:[email protected]:::::3
SnmpOptions[x.x.x.x_18440192]: authpassword=>'zzzzzzzzzz',authprotocol=>'md5',username=>'zzzzzzzzz'
SetEnv[x.x.x.x_18440192]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="fc4/23 - BED-400-146"
MaxBytes[x.x.x.x_18440192]: 463129088
Title[x.x.x.x_18440192]: fc4/23 BED-400-146 -- mds-switch.com
PageTop[10.128.251.45_18440192]: <h1>fc4/23 BED-400-146 -- mds-switch.com</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>mds-switch.com in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Me</td>
</tr>
<tr>
<td>Description:</td>
<td>fc4/23 BED-400-146 </td>
</tr>
<tr>
<td>ifType:</td>
<td>Fibre Channel (56)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fc4/23</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>463.1 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>No Ip (No DNS name)</td>
</tr>
</table>
</div>
### Interface 18440192 >> Descr: 'fc4/23' | Name: 'fc4/23' | Ip: 'No Ip' | Eth: 'zzzzzzzzzz' ###
Target[x.x.x.x_18440192]: 18440192:[email protected]:::::3
SnmpOptions[x.x.x.x_18440192]: authpassword=>'zzzzzzzzzz',authprotocol=>'md5',username=>'zzzzzzzzz'
SetEnv[x.x.x.x_18440192]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="fc4/23 - BED-400-146"
MaxBytes[x.x.x.x_18440192]: 463129088
Title[x.x.x.x_18440192]: fc4/23 BED-400-146 -- mds-switch.com
PageTop[10.128.251.45_18440192]: <h1>fc4/23 BED-400-146 -- mds-switch.com</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>mds-switch.com in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Me</td>
</tr>
<tr>
<td>Description:</td>
<td>fc4/23 BED-400-146 </td>
</tr>
<tr>
<td>ifType:</td>
<td>Fibre Channel (56)</td>
</tr>
<tr>
<td>ifName:</td>
<td>fc4/23</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>463.1 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>No Ip (No DNS name)</td>
</tr>
</table>
</div>
Re: Network Switch/Router Wizard Port Speeds
CarlWedu and brdr, please edit this file:
And tell me the version that is at the top, it looks like MRTG should support ifHighSpeed from looking at mine (2.17.4) but I want to verify.
Thank you
Code: Select all
/usr/bin/cfgmakerThank you
Re: Network Switch/Router Wizard Port Speeds
more /usr/bin/cfgmaker
#! /usr/bin/perl -w
# -*- mode: Perl -*-
##################################################################
# MRTG 2.17.4 -- Config file creator
#! /usr/bin/perl -w
# -*- mode: Perl -*-
##################################################################
# MRTG 2.17.4 -- Config file creator