Network Tools plugins can't work

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Network Tools plugins can't work

Post by benton2006 »

Network Tools
Directory: tools
Version: 0.2

i run SNMP Walk ,then show '
Fatal error: Call to undefined function: snmp_set_quick_print() in /var/www/html/cacti/plugins/tools/tools.php on line 118
'
but run Service Check ,it's normal.

Pls help me,thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Moved to Plugin General
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

Has anybody met this issue??
Joop
Posts: 25
Joined: Thu Apr 26, 2007 5:27 am

Post by Joop »

benton2006 wrote:Has anybody met this issue??
Yes, I have and I'm using a virtual cacti appliance from http://virtualappliances.net/ and you can check by issueing the following command:
php -i | grep snmp

Scan the output and I got that it is configured --without-snmp ;-((

So I'll notifiy virtualappliances.net to correct this.

Joop
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

But How to solve it?
Joop
Posts: 25
Joined: Thu Apr 26, 2007 5:27 am

Post by Joop »

benton2006 wrote:But How to solve it?
install a php version with snmp builtin but that requires either a package managment system on the appliance or a compiler + support tools.
So both options are not available to me, YMMV.

Joop
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

You don't mention what OS you are running, so I can't possibly tell you exactly how to fix it. All I can say at this point is to install the php-snmp module. Google should help you out.
Joop
Posts: 25
Joined: Thu Apr 26, 2007 5:27 am

Post by Joop »

Joop wrote:
benton2006 wrote:But How to solve it?
install a php version with snmp builtin but that requires either a package managment system on the appliance or a compiler + support tools.
So both options are not available to me, YMMV.

Joop
The latest version (v110) fixes this problem.

Joop
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

Thanks
Now it can work because I install PHP without snmp module
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests