samtwilliams Posted October 20, 2011 Share Posted October 20, 2011 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 More sharing options...
AbraCadaver Posted October 20, 2011 Share Posted October 20, 2011 Normally there is a read only and read write community string. I wouldn't think that public would be both and that would be a horrible idea. Link to comment https://forums.phpfreaks.com/topic/249457-snmpset-no-response/#findComment-1280861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.