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
2889
Files:
FileDescription
check_switch_errors.shcheck_switch_errors.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
# 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
}