Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_solaris_nics
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!
This Nagios plugin checks link status, duplex and speed for
given Solaris network interfaces. Tested with bge, ce,
e1000g, eri, hme, nxge and qfe devices (feel free to add more).
You can give one or more interfaces and their expected speeds
and duplex settings as parameters. The plugin will return:
0 (OK) - if all interfaces are up with correct speed and duplex
1 (WARNING) - if all interfaces are up but any of them has
incorrect speed or duplex
2 (CRITICAL) - if one or more interfaces are down
Examples:
# check_solaris_nics.sh -i ce0 -s 1000 -d full
OK - ce0 up 1000 Mbps full duplex
# check_solaris_nics.sh -i ce1 -s 1000 -d full
SPEED WARNING - ce1 up 100 Mbps full duplex
# check_solaris_nics.sh -i ce2 -s 1000 -d full
DUPLEX WARNING - ce2 up 100 Mbps half duplex
# check_solaris_nics.sh -i ce3 -s 1000 -d full
CRITICAL - ce3 down
Revision: 1.11
- added option -e (errors only)
- some minor internal tweaks with variable naming etc.
given Solaris network interfaces. Tested with bge, ce,
e1000g, eri, hme, nxge and qfe devices (feel free to add more).
You can give one or more interfaces and their expected speeds
and duplex settings as parameters. The plugin will return:
0 (OK) - if all interfaces are up with correct speed and duplex
1 (WARNING) - if all interfaces are up but any of them has
incorrect speed or duplex
2 (CRITICAL) - if one or more interfaces are down
Examples:
# check_solaris_nics.sh -i ce0 -s 1000 -d full
OK - ce0 up 1000 Mbps full duplex
# check_solaris_nics.sh -i ce1 -s 1000 -d full
SPEED WARNING - ce1 up 100 Mbps full duplex
# check_solaris_nics.sh -i ce2 -s 1000 -d full
DUPLEX WARNING - ce2 up 100 Mbps half duplex
# check_solaris_nics.sh -i ce3 -s 1000 -d full
CRITICAL - ce3 down
Revision: 1.11
- added option -e (errors only)
- some minor internal tweaks with variable naming etc.
Reviews (1)
bywarron.french@aero.org, February 16, 2016
I apologize for the average rating of this Nagios Plugin, but I didn't know how to submit a question about it.
I am so new to Nagios, and we are running Nagios XI specifically, and so I am slowly diving in to the management through the use of the interface without any sort of mentoring.
Anyway, I found out that I can add a Nagios Plugin, I found your plugin, and we do have Solaris 10 (x86|sparc) machines and wanted to upload it properly.
I uploaded the plugin providing the full filename to include the .tar.gz extension; but when loaded it is listed as the exact filename to include the extensions. Is this normal, did I do something wrong considering I have no instructions by which to perform this basic task?
Thank you in advance,
Warron
I am so new to Nagios, and we are running Nagios XI specifically, and so I am slowly diving in to the management through the use of the interface without any sort of mentoring.
Anyway, I found out that I can add a Nagios Plugin, I found your plugin, and we do have Solaris 10 (x86|sparc) machines and wanted to upload it properly.
I uploaded the plugin providing the full filename to include the .tar.gz extension; but when loaded it is listed as the exact filename to include the extensions. Is this normal, did I do something wrong considering I have no instructions by which to perform this basic task?
Thank you in advance,
Warron