Home Directory Plugins Operating Systems Linux Check-UNIX-Open-FDs-shell-script

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-UNIX-Open-FDs-shell-script

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2011-10-11
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
84115
Files:
FileDescription
check_open_files.shcheck_open_files.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check Open FD for program(s) and it's child processes. It's shell script using lsof and awk.
This shell script plugin is similar to below perl plugin.
http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/Check-UNIX-Open-FDs/details

Check Open FD for program(s) and it's child processes. Here is how you can use : -

#check_open_files.sh -p ProgramName -W ProgramWarningLevel -C ProgramCriticalLevel -w ChildProgramWarningLevel -c ChildProgramCriticalLevel
Where:
-p ProgramName : Program Name for which check need to be performed. Mandatory
-W ProgramWarningLevel : Programs Warning Level (def : 400)
-C ProgramCriticalLevel : Programs Critical Level (def : 512)
-w ChildProgramWarningLevel : Warning Level for any child of program (def : 400)
-c ChildProgramCriticalLevel : Critical Level for any child of program (def : 512)