Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_switch_errors

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2021-03-03
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
Hits
919
Files:
FileDescription
check_switch_errors.shcheck_switch_errors.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
# FILE: 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
}