Jump to content

snmpset: No Response


samtwilliams

Recommended Posts

Hello All,

 

Just working with PHP's snap v1 functions I can use snmpget fine but snmpset produces the following error;

 

Warning: snmpset() [function.snmpset]: No response from 192.....

 

Code

 

<?PHP

echo 'File started <br />';

$ip = '192.168.1.100';
echo 'Read:<br />';
      $sysdescr = snmpget($ip, 'public', '.1.3.6.1.4.1.17095.3.4.0', 300);

   
   echo $sysdescr;
   echo 'Write Started:<br />';
   snmpset("$ip", 'public', '.1.3.6.1.4.1.17095.4.7.2.0', 's', '[email protected]', 300);

?>

 

Like i said the get works fine just the set does not.

 

Does anyone have any ideas?

 

Sam

Link to comment
https://forums.phpfreaks.com/topic/249457-snmpset-no-response/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.