Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Note that I also included dormant;testing and notpresent. We use the status "dormant" to see if a router is using the celular interface or not. If it is, the status becomes 5, THOLD gives us a warning. See Cisco page: http://tools.cisco.com/Support/SNMP/do/ ... .1.2.2.1.8
Make sure to change the comment field in the graph template "Interface - Status" to read "(1=Up | 2=Down | 3=Testing | 4=Unknown | 5=Dormant | 6=notPresent)"
The graph works perfect. Also in preview mode.
Hi,
Anyone knows if there's a way to get a different value for admin down vs down. Right now I get a "2" no matter if the interface is down or if its in admin down status.
I had the same problem before but the problem is solved now. I googled a lot and seems they all didn't solve my problem.once I replaced cmd.php with spine then everything goes fine.
and I can show you guys some of my configuration then you can compare with yours.
1. vim /var/www/html/cacti/resource/snmp_queries/interface.xml
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.8</oid>
</ifOperStatus>
2.vim /etc/php.d/snmp.ini
extension=snmp.so
Maybe you have your status RRA configured as a COUNTER instead of a GAUGE?
Then, when the value goes from 2 to 1, Cacti has to assume that it went all the way to the maximum, and then back around to 1, because counters only ever go up.
My mistake.. I'm tyring to graph other vendors besides cisco.. Maybe that's why it's throwing the results off...
I tested on Cisco and it works.. I did an snmpwalk on juniper and other vendors and timed out.. So I'm guessing there is no way of telling the operational status of non-cisco device in cacti? Unless I modify the OID in interface.xml to suit each vendor?
Check it out... It seems like any interface status graphs that I create moving forward is all going to be messed up... It's reading 45.01M... What is happening?
It's like it's graphing traffic and not the proper interface status state...