• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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