<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Thanks - I decided to go with check_open_files.pl</div>
<div><a href="http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details"><font color="blue"><u>http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details</u></font></a></div>
<div> </div>
<div>I didn't find help_me/read_me info for this plugin.</div>
<div>After I installed it on the target box into /usr/local/nagios/libexec and just executed it, I got:</div>
<div>----------</div>
<div>[root@target_host libexec]# ./check_open_files.pl</div>
<div>Usage:  -w <warn> -c <crit> [-t <timeout>] [-v version] [-h help]</div>
<div>[root@target_host libexec]#</div>
<div>======</div>
<div>That told me that I should run it at least with "-w some_value1 -c some_value2"</div>
<div>Then I tried to run it with different -w -c values and I am not clear why I am getting different threshold values (bold, red) :</div>
<div>===============</div>
<div>[root@ target_host libexec]# ./check_open_files.pl  -w 500 -c 10000</div>
<div>OK: open files (4590) is below threshold (<font color="red"><b>16194515/323890300</b></font>)|open_files=4590;<font color="red"><b>16194515;323890300</b></font></div>
<div>[root@ target_host libexec]# ./check_open_files.pl -w 1000 -c 10000</div>
<div>OK: open files (4590) is below threshold (<font color="red"><b>32389030/323890300</b></font>)|open_files=4590;<font color="red"><b>32389030;323890300</b></font></div>
<div>[root@ target_host libexec]# ./check_open_files.pl -w 10 -c 100</div>
<div>OK: open files (4590) is below threshold (<font color="red"><b>323890/3238903</b></font>)|open_files=4590;<font color="red"><b>323890;3238903</b></font></div>
<div>===============</div>
<div>Why do I get in response 2 threshold values and why are they different each time I enter another number of warning and critical limits?</div>
<div>===============</div>
<div>By the way, total system files limits on the target box is:</div>
<div> </div>
<div> [root@ target_host libexec]# cat /proc/sys/fs/file-max</div>
<div>3238903</div>
<div>===============</div>
<div>Thanks.</div>
<div>-----Original Message-----</div>
<div>From: Edwin Zoeller <a href="mailto:[mailto:Edwin.Zoeller@ama-assn.org]"><font color="blue"><u>[mailto:Edwin.Zoeller@ama-assn.org]</u></font></a> </div>
<div>Sent: Friday, June 08, 2012 8:47 AM</div>
<div>To: Nagios Users List</div>
<div>Subject: Re: [Nagios-users] monitor number of open files on linux</div>
<div> </div>
<div>Check_open_files.pl</div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: Parkman, Mikhail <a href="mailto:[mailto:Mikhail_Parkman@cable.comcast.com]"><font color="blue"><u>[mailto:Mikhail_Parkman@cable.comcast.com]</u></font></a></div>
<div>Sent: Friday, June 08, 2012 10:20 AM</div>
<div>To: Nagios Users List</div>
<div>Subject: [Nagios-users] monitor number of open files on linux</div>
<div> </div>
<div>Can somebody recommend plugin to monitor number of opened files.</div>
<div> </div>
<div>Thanks.</div>
<div> </div>
<div> </div>
<div>------------------------------------------------------------------------------</div>
<div>Live Security Virtual Conference</div>
<div>Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/"><font color="blue"><u>http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</u></font></a></div>
<div>_______________________________________________</div>
<div>Nagios-users mailing list</div>
<div><a href="mailto:Nagios-users@lists.sourceforge.net"><font color="blue"><u>Nagios-users@lists.sourceforge.net</u></font></a></div>
<div><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users"><font color="blue"><u>https://lists.sourceforge.net/lists/listinfo/nagios-users</u></font></a></div>
<div>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </div>
<div>::: Messages without supporting info will risk being sent to /dev/null</div>
<div> </div>
<div>------------------------------------------------------------------------------</div>
<div>Live Security Virtual Conference</div>
<div>Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/"><font color="blue"><u>http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</u></font></a></div>
<div>_______________________________________________</div>
<div>Nagios-users mailing list</div>
<div><a href="mailto:Nagios-users@lists.sourceforge.net"><font color="blue"><u>Nagios-users@lists.sourceforge.net</u></font></a></div>
<div><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users"><font color="blue"><u>https://lists.sourceforge.net/lists/listinfo/nagios-users</u></font></a></div>
<div>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </div>
<div>::: Messages without supporting info will risk being sent to /dev/null</div>
<div> </div>
</span></font>
</body>
</html>