note 22892 added to function.snmpget
| From: | idem at wireless-lyon dot org | Date: | Wed, 03 Jul 2002 13:39:03 +0000 |
| Subject: | note 22892 added to function.snmpget | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32546@lists.php.net to get a copy of this message | ||
Please, when I send a :
snmp_set_quick_print(1);
$a = @ snmpget("xx.xx.xx.xx", "community", "system.sysDescr.0");
echo "$a<BR>\n";
I get a :
system.sysDescr.0 Linux cassandre.highlanders.org 2.4.18 #1 Sun May 19 17:59:31 EDT 2002 i686
How can i do in order to only get :
Linux cassandre.highlanders.org 2.4.18 #1 Sun May 19 17:59:31 EDT 2002 i686
without the OID desc. ?
Best regards
--
http://www.php.net/manual/en/function.snmpget.php
http://master.php.net/manage/user-notes.php?action=edit+22892
http://master.php.net/manage/user-notes.php?action=delete+22892
http://master.php.net/manage/user-notes.php?action=reject+22892