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_netstat

Rating
0 votes
Favoured:
1
Current Version
1.0.1
Last Release Date
2011-08-12
Compatible With
  • Nagios 3.x
Owner
Hits
168106
Files:
FileDescription
check_netstat.shcheck_netstat.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!
_Solaris_ specific NRPE plugin for netstat. Use netstat command, not snmp.
Return values: in_packets, out_packets, in_errors, out_errors, collis and queue for specific NIC.

Can check threshold on errors, collis and queue.
Main goal of this plugin is get graph trend data.

Put this scrip to libexec directory of your nrpe client and change right/ownership.

check_netstat.sh -d device [-w [ierr],[oerr],[collis],[queue]] [-c [ierr],[oerr],[collis],[queue]]

Example of using:
check_netstat.sh -d ce0
check_netstat.sh -d ce0 -w 1,,,3
check_netstat.sh -d ce0 -w ,,,3 -c ,,,10

Output format (no threshold defined):
[root@nagios ~]# /usr/lib/nagios/plugins/check_nrpe -H 10.0.0.1 -c check_netstat
ipkts=9509
netstat OK - | ipkts=9509 ierrs=0;; opkts=3335 oerrs=0;; collis=0;; queue=0;;