Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_netstat
Current Version
1.0.1
Last Release Date
2011-08-12
Compatible With
- Nagios 3.x
Owner
Hits
166597
Files:
File | Description |
---|---|
check_netstat.sh | check_netstat.sh |
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;;
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;;
Reviews (0)
Be the first to review this listing!