• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

How to get snmpget to work in PHP5

R

RobertS

Guest
I enabled the snmp function (load snmp module) in the php.ini of php5 (I run the website on PHP5)
Added the path of the mib files in the Windows environment.
Restarted all Plesk services and I still get an error that some snmp commands are not found.
Code:
Warning: snmpget() [function.snmpget]: Invalid object identifier: system.sysUpTime.0 in

I have locally also a webserver running with PHP (no plesk) on w2k3 and here I did the same thing but on this server it works. On my former server (plesk 7.6) I also had snmp installed and this was working fine, after I upgraded too Plesk 8.1 it does not work anymore.

So what Do I wrong here or what did I forgot too do?
 
Back
Top