SNMP Error - once again

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
sewkol
Posts: 14
Joined: Tue Mar 06, 2007 5:57 am
Location: Poland/Rzeszów

SNMP Error - once again

Post by sewkol »

Hello

I have a problem with Cacti 0.8.6j on Slackware 11. I want to install it on new server (i have sucessfully working 0.8.6.h on Solaris 9) but when i edit device (Windows 2000/XP) on new machine I have SNMP Error (on top left) and when in verbose query (SNMP - Interface Statistics):

Code: Select all

Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache/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 '/usr/local/apache/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti/resource/snmp_queries/interface.xml'
I have installed Net-Snmp 5.4 and it works - from command line on that server:

Code: Select all

snmpwalk -v 2c -c public 10.1.1.2 .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
What can be wrong?


Cacti Variables:
Operating System: unix
PHP SNMP Support: yes

Paths in Configuration/Setting are OK.

I tried Cacti 0.8.6i, PHP 5.2.1 and 5.2.0. I read forums but nothing helps :(

I noticed this in Apache error log:
"No support for any checked transport domain"

Which program is executed with click "Verbose query"? And which is resposible for snmp information in top left corner?

I try to add line
"defDomain snmpwalk udp"
in /usr/local/etc/snmp/snmp.conf, but nothing hapend :(
sewkol
Posts: 14
Joined: Tue Mar 06, 2007 5:57 am
Location: Poland/Rzeszów

Re: SNMP Error - once again

Post by sewkol »

sewkol wrote: Cacti Variables:
Operating System: unix
PHP SNMP Support: yes
(...)
I noticed this in Apache error log:
"No support for any checked transport domain"
I recompile PHP (5.2.1) without snmp and everythig looks ok.
Cacti uses now NET-SNMP ?

But what with PHP SNMP if Cacti shows: "PHP SNMP Support: yes"?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

In this case, cacti uses php-snmp support, not native net-snmp
Reinhard
sewkol
Posts: 14
Joined: Tue Mar 06, 2007 5:57 am
Location: Poland/Rzeszów

Post by sewkol »

gandalf wrote:In this case, cacti uses php-snmp support, not native net-snmp
Reinhard
Yes, OK. I understand that.
But Cacti shows "PHP SNMP Support: yes" and it don't work... why?
How Cacti checks PHP SNMP Support?

SK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: SNMP Error - once again

Post by gandalf »

sewkol wrote:...
I noticed this in Apache error log:
"No support for any checked transport domain"
...
From your posts, I see, that you have checked all most often occurring failures. But this one from above is new to me. Unfortunately, my test environment is at my company, so I can't answer this on my own. But I would suspect an apache config item
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests