Improving performace of the check_folder_size script
Kaplan, Andrew H.
AHKAPLAN at PARTNERS.ORG
Tue Feb 9 18:45:48 CET 2010
Hi there --
I am running Nagios 3.1.2 with the nrpe 2.12 client. One of the scripts that I
am using is the
check_folder_size script. The Nagios server is on one subnet, while the client
is on another.
The connection between the two is via a 10GB WAN connection. The script is
configured on
the client to send warnings when the folder in question reaches 500 gigabytes.
The entire
disk that the folder is on is four terabytes.
The script appears to be doing its job pretty well, but I notice that
occasionally I will get
timeout issues with the script. I suspect the configuration of the script on the
Nagios server is
the cause, and I wanted to get feedback as to the best settings to have for the
script. The current
configuration is shown below:
# Service definition
define service{
use generic-service ; Name
of service template to use
host_name <hostname>
service_description Folder Size Active 1
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 1440
retry_check_interval 720
contact_groups linux-admins
notification_interval 1440
notification_period 24x7
notification_options w,u,c,r
check_command check_nrpe!check_folder_size1
}
Does anyone have any suggestions as to what settings would be better here?
Thanks.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100209/d9649aa9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-------------- 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