Posted by Evert on 06/04/07 18:23
Hi all!
I have a script that queries a whole bunch of clients for a specific
value. Some of the clients do not repond properly, and then I end up
with lines like:
Warning: snmpget(): Error in packet: (noSuchName) There is no such
variable name in this MIB. in /usr/local/sbin/signal_new.php on line
36
Warning: snmpget(): This name does not exist: SNMPv2-SMI::enterprises.
14988.1.1.1.1.1.4.2 in /usr/local/sbin/signal_new.php on line 36
How do I completely suppress any warnings/errors from the snmpget
function?
Regards,
Evert
Navigation:
[Reply to this message]
|