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.
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/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/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
~ # snmpget -c public -v 1 -O fntev localhost .1.3.6.1.2.1.2.2.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.1
The last bit shows a broken snmp installation. Normally, snmpd should respond to this OID. You may leave the -O stuff and check again. Only lately, I had a similar problem to discuss, where all -O options broke the command
Reinhard
~ # snmpget -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifIndex
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I am new to Cacti and having the same basic problem from the install I did made today. My hosts show as Status Unknown with a 100% availability. When I loaded the device it also showed SNMP error under the SNMP Informaion. However from the server that I am running cacti on I get the following;
You surely configured the correct community string for that host? And correct snmp version? Are you running the lastest cacti version? Please check Downed Host Detection under Settings
Reinhard
I verified the community ... its the same one used in the snmpwalk (I edited for the post along with the Host IP). I already updeated my Downed Host Detection to use Ping and SNMP to verfiy that there is at least communicaitons and it seems as there is. The Debug hits towards a setting error but I can not find one anywhere. The Cacti Verseion is the latest version also.
06/08/2006 01:30:01 PM - CMDPHP: Poller[0] Host[1] PING: Host is alive
06/08/2006 01:30:01 PM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
[~]# snmpget -c xxxxxxx -v 1 -O fntev localhost .1.3.6.1.2.1.2.2.1.1
Timeout: No Response from localhost.
[~]# snmpget -c xxxxxxx -v 1 -O fntev X.X.X.X .1.3.6.1.2.1.2.2.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.1
I set up MRTG on a test windows host and it seems to work fine against my remote host. I will look into my net-snmp install to find resolution I guess ... I also changed the poller back to SNMP only. [/quote]
~ # snmpget -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifIndex
This shows a broken snmp on the target side. No SNMP = no data for cacti. You may get more help on this at net-snmp.org?
Reinhard
#net-snmp wrote:<rstory> Weedy_laptop: you can't snmpget .1.3.6.1.2.1.2.2.1.1, you have to specify which index you want for snmpget. a snmpwalk of .1.3.6.1.2.1.2.2.1.1 should work though.
<rstory-work> you have to tell it which interface you want data for, or use walk instead of get
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/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/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/snmp_queries/interface.xml'
I'm confused
Edit:I didn't give cacti the community... you may shoot me at will -_-