configuring php to support snmp

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

Moderators: Developers, Moderators

Post Reply
ne0phyte
Posts: 4
Joined: Fri Nov 18, 2005 9:24 am

configuring php to support snmp

Post by ne0phyte »

Hi,

In order to get a script working i need to configure php to support snmp.

I got it compiling by using the '--with-snmp' option. info.php gives this:

NET-SNMP Support enabled
NET-SNMP Version 5.1.2

ever since i did that, i cannot seem to use poller.php anymore. It doesn't poll, just gives this output all the time:

Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.

untill it reaches the max execution time and stops.

cacti.log shows this:

07/13/2007 12:40:04 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/13/2007 12:40:04 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/13/2007 12:40:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating

If i recompile php without snmp support it polls again.

Anyone have any idea how to fix this?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Is your cacti fully patched?
Reinhard
ne0phyte
Posts: 4
Joined: Fri Nov 18, 2005 9:24 am

Post by ne0phyte »

see, i always forget something :)

it working after applying all the patches

thanks for the reminder gandalf
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest