SNMP Query Error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Guest

SNMP Query Error

Post by Guest »

Hi,

I run into this problem whenever it start query SNMP data. Anyone can help? I'm using the following UCD-SNMP 4.X.

Error Code
Warning: exec(): Unable to fork [c:\rrdtool\snmpget.exe -M c:\rrdtool\mibs -O v -v1 -t 1 192.168.20.3:161 public .1.3.6.1.2.1.1.1.0] in D:\wwwroot\cacti\lib\snmp.php on line 55
SNMP error

I cut & paste the execute command from above error code & it able to query SNMP perfectly.

RUN c:\rrdtool\snmpget.exe -M c:\rrdtool\mibs -O v -v1 -t 1 192.168.20.3:161 public .1.3.6.1.2.1.1.1.0

Thanks for help
Guest

Post by Guest »

Warning: exec(): Unable to fork
This usually indicates a permissions problem. If you are getting these errors when this query runs in the cacti console, you may want to make sure the user account the web server is using has execute permissions for snmpget.exe
Guest

Post by Guest »

I found out the problem. It was due to IIS Lock down tool security lock on cmd file. You need to release the right on cmd file or copy the cmd file to your php directory then it solve the problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests