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.
I am running cacti 0.8.6f on ubuntu (breezy badger), and running it on localhost to gather assorted system stats (mem usage, hdd usage etc) and was wanting to use it to get graphs on the bandwidth usage for eth0.
The problem is involved in actually retrieving the data, when i try to add the data query to the host, it works ok, however receives no data. When i run a verbose query, i get the following:
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
Yah, you need to be running snmpd on the box, so that you can graph interface statistics.
Also, moved to Linux
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
When you view the device, does it give you any snmp information at the top?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I have the same problem for graphing network stats of a computer with a debian sarge. SNMP informations are well displayed. Informations about processes, users, memory, disk space are well graphed. But no informations about network interface are collected...
Same thing with 0.8.6g install on Solaris 9. All other default snmp graphs appear to be functioning. Snmp is installed and running on the box (mrtg is working, snmpwalk functions correctly at the command line). Full paths for snmpwalk/snmpget are referenced in the settings.
fsd wrote:Brand new manual install of 0.8.6g does the exact same thing. Have tried different snmp versions/rrdtool etc, to no effect.
Please select Verbose Query from the Device Screen and post the results. Do a snmpwalk from command line for that host and post the results as well (e.g. snmpwalk -c xxx -v 1 <host> interface)
Reinhard
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/http/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/http/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/http/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/http/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
I've the same problem on RHEL4 and Debian with Cacti 0.8.6g and cactid 0.8.6f-1.
All works but not interface check and traffic.
By example, I see SNMP information of routers but not the interfaces of routers.
Ok, I got rid of the "SNMP Error" on the top of my page by removing execute permission restrictions on the snmp binaries. I'm not sure why I was getting those errors (binaries run as apache user?).
I'm still getting the "No SNMP data returned" issue when trying to snmp queries on my interfaces within cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Yes, I did, for all of my snmp binaries. That's what cured the "SNMP Error" that was displaying at the top of the page. However, the other error is still present (verbose query is failing with error as above).
Do you have IM, I will be home in about 1 hours, we can attempt to work on this issue.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]