Currently I'm running two different instances of Cacti. The older version (0.8.7d) will successfully generate the interface status graphs for a Cisco 1921 router. When I attempt to generate the same graph on 0.8.7i, it fails to create the graph. I can create other graphs for the traffic on the router within 0.8.7i, but not the status.
The verbose query shows that the status is "up", but the SNMP - Interface Status graph just doesn't seem to generate. I've cleared the poller cache, but the status data source never shows up.
SNMP - Interface Status on 0.8.7i
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: SNMP - Interface Status on 0.8.7i
Please see 2nd link of my sig for basic debugging
R.
R.
Re: SNMP - Interface Status on 0.8.7i
Hi,
So I've checked the poller cache and do not see the "status" data source. I've tried clearing the poller cache, but even after that the data source isn't showing up. Other SNMP data sources correctly show up for this host.
I've also tested this same graph on a Cisco SGE2010 switch and it failed on 0.8.7i while succeeding on 0.8.7d. I can't figure out why this specific monitor is breaking only on 0.8.7i.
So I've checked the poller cache and do not see the "status" data source. I've tried clearing the poller cache, but even after that the data source isn't showing up. Other SNMP data sources correctly show up for this host.
I've also tested this same graph on a Cisco SGE2010 switch and it failed on 0.8.7i while succeeding on 0.8.7d. I can't figure out why this specific monitor is breaking only on 0.8.7i.
Re: SNMP - Interface Status on 0.8.7i
check config.php
$url_path = "/cacti/";
/* Default session name - Session name must contain alpha characters */
$cacti_session_name = "Cacti";
$url_path = "/cacti/";
/* Default session name - Session name must contain alpha characters */
$cacti_session_name = "Cacti";
Re: SNMP - Interface Status on 0.8.7i
Thanks for the suggestion chad21, but those don't have anything to do with my current issue.
Re: SNMP - Interface Status on 0.8.7i
So I created another fresh install of 0.8.7i. I found that there was no SNMP - Interface Status data query/data template within the built-ins. I think I may have accidentally merged the SNMP - Interface data query with a different version.
From this fresh install, I modified the interface.xml to include another status return where the status' direction was "output" and modified the SNMP Data Query to support this new field. I then built out the data/graph templates like you normally would, and everything worked as expected.
From this fresh install, I modified the interface.xml to include another status return where the status' direction was "output" and modified the SNMP Data Query to support this new field. I then built out the data/graph templates like you normally would, and everything worked as expected.
Who is online
Users browsing this forum: No registered users and 6 guests