monitor number of open files on linux
Parkman, Mikhail
Mikhail_Parkman at cable.comcast.com
Fri Jun 8 22:53:17 CEST 2012
Thanks - I decided to go with check_open_files.pl
http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details
I didn't find help_me/read_me info for this plugin.
After I installed it on the target box into /usr/local/nagios/libexec and just executed it, I got:
----------
[root at target_host libexec]# ./check_open_files.pl
Usage: -w <warn> -c <crit> [-t <timeout>] [-v version] [-h help]
[root at target_host libexec]#
======
That told me that I should run it at least with "-w some_value1 -c some_value2"
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) :
===============
[root@ target_host libexec]# ./check_open_files.pl -w 500 -c 10000
OK: open files (4590) is below threshold (16194515/323890300)|open_files=4590;16194515;323890300
[root@ target_host libexec]# ./check_open_files.pl -w 1000 -c 10000
OK: open files (4590) is below threshold (32389030/323890300)|open_files=4590;32389030;323890300
[root@ target_host libexec]# ./check_open_files.pl -w 10 -c 100
OK: open files (4590) is below threshold (323890/3238903)|open_files=4590;323890;3238903
===============
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?
===============
By the way, total system files limits on the target box is:
[root@ target_host libexec]# cat /proc/sys/fs/file-max
3238903
===============
Thanks.
-----Original Message-----
From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org]<mailto:[mailto:Edwin.Zoeller at ama-assn.org]>
Sent: Friday, June 08, 2012 8:47 AM
To: Nagios Users List
Subject: Re: [Nagios-users] monitor number of open files on linux
Check_open_files.pl
-----Original Message-----
From: Parkman, Mikhail [mailto:Mikhail_Parkman at cable.comcast.com]<mailto:[mailto:Mikhail_Parkman at cable.comcast.com]>
Sent: Friday, June 08, 2012 10:20 AM
To: Nagios Users List
Subject: [Nagios-users] monitor number of open files on linux
Can somebody recommend plugin to monitor number of opened files.
Thanks.
------------------------------------------------------------------------------
Live Security Virtual Conference
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. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net<mailto:Nagios-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Live Security Virtual Conference
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. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net<mailto:Nagios-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120608/984dbcd3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
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. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list