Network Connections, Stats and Bandwidth

check_switch_errors

Description:

# 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
}

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


Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
2,905