SNMP walk problem.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
frink
Posts: 1
Joined: Tue Jun 11, 2002 10:09 am

SNMP walk problem.

Post by frink »

Hello,

When I try the snmp walk of a cisco I get the following:


Warning: Invalid object identifier: .1.3.6.1.2.1.2.2.1.2.interfaces.ifTable.ifEntry.ifIndex.1 = 1 in /home/cacti/html/include/snmp_functions.php on line 35

Warning: Invalid object identifier: .1.3.6.1.2.1.2.2.1.3.interfaces.ifTable.ifEntry.ifIndex.1 = 1 in /home/cacti/html/include/snmp_functions.php on line 35

Warning: Invalid object identifier: .1.3.6.1.2.1.2.2.1.5.interfaces.ifTable.ifEntry.ifIndex.1 = 1 in /home/cacti/html/include/snmp_functions.php on line 35


I have had this before with other code that was written for UCD SNMP but
that breaks with version 4.2.4


Does anybody have any patches/or other reason why this happens?

Thanks,
Leigh
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

It sounds like you are experiencing some sort of parsing error with the built in PHP support. I recommend that you open up 'include/config.php' and make line 59 look like this:

Code: Select all

$config["php_snmp_support"] = false;
See if that changes/fixes the error you are having.

-Ian
McGinn-Combs

Post by McGinn-Combs »

raX wrote:It sounds like you are experiencing some sort of parsing error with the built in PHP support. I recommend that you open up 'include/config.php' and make line 59 look like this:

Code: Select all

$config["php_snmp_support"] = false;
See if that changes/fixes the error you are having.

-Ian
Well, that fixed my problem. But tell me, does that mean that my libphp4.so is not working right and we're going outside to execute snmp_walk enstead?

-- Dan
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests