Xav Paice has proposed merging ~xavpaice/nagios-charm:lp1827159 into 
nagios-charm:master.

Requested reviews:
  Nagios Charm developers (nagios-charmers)

For more details, see:
https://code.launchpad.net/~xavpaice/nagios-charm/+git/nagios-charm/+merge/366740
-- 
Your team Nagios Charm developers is requested to review the proposed merge of 
~xavpaice/nagios-charm:lp1827159 into nagios-charm:master.
diff --git a/hooks/templates/localhost_nagios2.cfg.tmpl b/hooks/templates/localhost_nagios2.cfg.tmpl
index 3cd69e1..b5a6153 100644
--- a/hooks/templates/localhost_nagios2.cfg.tmpl
+++ b/hooks/templates/localhost_nagios2.cfg.tmpl
@@ -20,6 +20,14 @@ define host{
         icon_image              base/ubuntu.png
         }
 
+
+
+# 'check_disks_custom' command definition
+define command{
+        command_name    check_disks_custom
+        command_line    /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -X squashfs
+        }
+
 # Define a service to check the disk space of the root partition
 # on the local machine.  Warning if < 20% free, critical if
 # < 10% free space on partition.
@@ -31,7 +39,7 @@ define service{
 {%- if is_container %}
         check_command                   check_disk!20%!10%!/
 {%- else %}
-        check_command                   check_all_disks!20%!10%
+        check_command                   check_disks_custom!20%!10%
 {%- endif %}
         }
 
-- 
Mailing list: https://launchpad.net/~nagios-charmers
Post to     : nagios-charmers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nagios-charmers
More help   : https://help.launchpad.net/ListHelp

Reply via email to