• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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