max speed for bandwidth utilization
max speed for bandwidth utilization
I am monitoring the bandwidth utilization of every interface in each router. During the configuration nagiosxi shows you the max speed of each interface, however I am not seeing those numbers in mysql. Do you have any idea?
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: max speed for bandwidth utilization
By that do you mean the theoretical maximum (eg. 1 Gbps), or the highest it's actually been (eg. 637 Mbps)?
Re: max speed for bandwidth utilization
Yeap!
You do not have the required permissions to view the files attached to this post.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: max speed for bandwidth utilization
That would be the ifSpeed returned by SNMP, OID 1.3.6.1.2.1.2.2.1.5
Re: max speed for bandwidth utilization
I really did not get it. Is the max speed store in the database?
Re: max speed for bandwidth utilization
The max speed for each port is retrieved from your switch, I'm not sure where exactly it's stored. You could check /var/www/mrtg/mrtg.cfg and see if it's stored in there.
Re: max speed for bandwidth utilization
It is not there and I really need it in order to perform some percentage bandwidth utilization of each interfaces.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: max speed for bandwidth utilization
If it's not stored, you can always fetch again yourself - http://php.net/manual/en/function.snmpget.php