• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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