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
SNMP walk problem.
Moderators: Developers, Moderators
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:
See if that changes/fixes the error you are having.
-Ian
Code: Select all
$config["php_snmp_support"] = false;
-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?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:
See if that changes/fixes the error you are having.Code: Select all
$config["php_snmp_support"] = false;
-Ian
-- Dan
Who is online
Users browsing this forum: No registered users and 1 guest