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
165877
Files:
FileDescription
check_netstat.shcheck_netstat.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
_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;;