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::enterprise s.
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
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::enterprise s.
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