Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_switch_errors
1.0
2021-03-03
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
2483
File | Description |
---|---|
check_switch_errors.sh | check_switch_errors.sh |
# SYNOPSIS: check numbers of ifOutErrors + ifInErrors report the switch has in total.
# GUILTY_PARTY: Luis Perez
# LICENSE: GPL, Copyright 2021
#For packet-oriented interfaces, the number of outbound
#packets that could not be transmitted because of errors.
#For character-oriented or fixed-length interfaces, the
#number of outbound transmission units that could not be
#transmitted because of errors
#
#For packet-oriented interfaces, the number of inbound
#packets that contained errors preventing them from being
#deliverable to a higher-layer protocol. For character-
#oriented or fixed-length interfaces, the number of inbound
#transmission units that contained errors preventing them
#from being deliverable to a higher-layer protocol.
Example to put in nagios:
define command {
command_name check_switch_errors
command_line /usr/lib/nagios/plugins/check_switch_errors.sh -H $HOSTADDRESS$ -w 10 -c 20
}
define service {
hostgroup_name switches
service_description CHECK SWITCHES ERRORS
check_command check_switch_errors
use generic-service
}
Reviews (0)
Be the first to review this listing!