SNMP walk doesn't work on tools plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
cjblade54
Cacti User
Posts: 58
Joined: Tue Mar 04, 2008 10:08 am

SNMP walk doesn't work on tools plugin

Post by cjblade54 »

When typing a device IP and using SNMP walk, it shows:
Warning: Missing argument 9 for cacti_snmp_walk(), called in /usr/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/share/cacti/lib/snmp.php on line 225

Warning: Missing argument 10 for cacti_snmp_walk(), called in /usr/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/share/cacti/lib/snmp.php on line 225
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I suppose the plugin is not (yet) cacti087 compatible.
cacti087 brought full SNMP V3 support. For that very reason,we decided to change the procedure call for the internal cacti functions cacti_snmp_walk|get. They now need some more parameters for passing SNMP V3 stuff. As these are internal functions, no APIs, this _should_ do no harm.
Well, now we know better. Many people decided to use those functions with scripts and/or plugins.
All those authors will have to apply some changes to the functions calls to make them 087 aware. In general, it's an easy task, but it is left to those authors.
In fact, it is not NECESSARY to make those stuff SNMP V3 compliant (which would be the best approach); simply providing empty parameters would be a first step.
HTH
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest