|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-30 09:00 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
snmpset () always returns an empty array, while the snmpset-shell command returns the modified data (sometimes needed to retrieve newly created indexes). Create a new license entry on a Bintec router (shell command): snmpset host community .1.3.6.1.4.1.272.254.4.1.1 i 12345 enterprises.272.254.4.1.1.12345.9 = 12345 Same procedure in PHP: <? $ret = snmpset ("host", "community", ".1.3.6.1.4.1.272.254.4.1.1", "i", "12345"); echo count ($ret), "<br>"; ?> returns: 0 (=no entries in the array) Used SNMP-version: ucd-snmp-4_0_1