note 32687 added to function.snmpget
| From: | javierb at gmx dot net | Date: | Wed, 04 Jun 2003 13:08:43 +0000 |
| Subject: | note 32687 added to function.snmpget | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49716@lists.php.net to get a copy of this message | ||
pooling a cisco.
$ip = '1.1.1.1';
$community ='publico';
$a = snmpget($ip,$community, "IF-MIB::ifLastChange.1")
$b = snmpget($ip,$community, "IF-MIB::ifAlias.1");
print("a = ".$a."\n"."b = ".$b."\n");
a = Timeticks: (929969969) 107 days, 15:14:59.69
b = Timeticks: (929969969) 107 days, 15:14:59.69
when the interface has not description.
----
Manual Page -- http://www.php.net/manual/en/function.snmpget.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32687
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32687&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32687&report=yes