Description
Display traps warning and critical from database OpMon.
Compatible versions
- OpMon 6.0 or higher.
Requirements
- snmptrapd
Example of use and return of command
You must access the command directory before running it trough the following path: /usr/local/opmon/libexec/opservices/
[root@opmon]# ./check_snmptraps.pl -H 192.168.10.254 OK - No warning Traps and no critical traps in the database|'warning trap'=0;;;; 'critical trap'=0;;;;
Compatibility
- Linux