• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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