Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Usage ./check_folder_size.sh -f dir [-s (k|m|g)] [-w (size)] [-c (size)] -f Folder to check -s k (Kilobytes) m (megabytes) g (gigabytes) -w Warning level -c Critical level
Current Version
0.1
Last Release Date
2013-07-15
Owner
Guillermo Patricio HenrĂquez González
License
GPL
Compatible With
script bash
Hello, The plugin is good. I changed it a little to return warning and critical values. It works well if you start it on the local client side. When you start it from a remote Nagios 3.5.1 server and call it with NRPE it returns always: /usr/local/nagios/libexec/./check_nrpe -H hostname-xxx -c defined-command-xxxx ERROR: Folder is invalid It seems that the plugin cannot detect properly the folder that is set with NRPE When I start it locally I have: /usr/lib/nagios/plugins/check_folder_size.sh -f /path-to-folder-xxxx -s g -w 60 -c 80 OK: The folder size is 44GB |size=44GB;60;80;0 Can you please help me to find the problem with the NRPE?
Try /usr/local/nagios/libexec/./check_nrpe -H hostname-xxx -c check_folder_size.sh -a "-f /path-to-folder-xxxx -s g -w 60 -c 80"
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!