mkdir -p './courier-imap/shared.tmp'
mkdir -p './dpkg/dpkg.cfg.d'
mkdir -p './foomatic/direct'
+mkdir -p './lvm/cache'
mkdir -p './php/apache2-php5.4/ext'
mkdir -p './php/apache2-php5.4/ext-active'
mkdir -p './php/cgi-php5.4/ext'
maybe chmod 0700 './lvm/backup'
maybe chmod 0600 './lvm/backup/vg00'
maybe chmod 0700 './lvm/cache'
-maybe chmod 0600 './lvm/cache/.cache'
maybe chmod 0644 './lvm/lvm.conf'
maybe chmod 0644 './machine-id'
maybe chmod 0755 './mail'
maybe chmod 0644 './stunnel/stunnel.pem'
maybe chmod 0440 './sudoers'
maybe chmod 0750 './sudoers.d'
-maybe chmod 0644 './sudoers.d/50nagios-plugins'
+maybe chmod 0440 './sudoers.d/50nagios-plugins'
maybe chmod 0644 './sysctl.conf'
maybe chmod 0755 './sysctl.d'
maybe chmod 0644 './sysctl.d/README'
#command[check_proc_arg]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$
command[check_swap]=/usr/lib64/nagios/plugins/check_swap -w $ARG1$ -c $ARG2$
-command[check_procs]=/opt/icinga/bin/check-procs.pl -w $ARG1$ -c $ARG2$ -s $ARG3$
-command[check_proc_arg]=/opt/icinga/bin/check-procs.pl -w $ARG1$ -c $ARG2$ -a $ARG3$
-command[check_init_proc]=/opt/icinga/bin/check-procs.pl -i -w $ARG1$ -c $ARG2$ -a $ARG3$
+command[check_nic]=/opt/icinga/bin/check-nic $ARG1$
+command[check_swraid]=/opt/icinga/bin/check_swraid -D $ARG1$ -t $ARG2$
+command[check_swraid_level]=/opt/icinga/bin/check_swraid -D $ARG1$ -t raid_level -l $ARG2$
+command[check_smart]=/opt/icinga/bin/check-smart -D $ARG1$ -w $ARG2$ -c $ARG3$
+
+#command[check_procs]=/opt/icinga/bin/check-procs.pl -w $ARG1$ -c $ARG2$ -s $ARG3$
+#command[check_proc_arg]=/opt/icinga/bin/check-procs.pl -w $ARG1$ -c $ARG2$ -a $ARG3$
+#command[check_init_proc]=/opt/icinga/bin/check-procs.pl -i -w $ARG1$ -c $ARG2$ -a $ARG3$
+
+command[check_procs]=/usr/bin/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
+command[check_proc_arg]=/usr/bin/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$
+command[check_init_proc]=/usr/bin/check_procs -i -w $ARG1$ -c $ARG2$ -a $ARG3$
+
+command[check_vg_free]=/usr/bin/sudo /usr/bin/check_vg_free -w $ARG1$ -c $ARG2$ $ARG3$
+command[check_vg_state]=/usr/bin/sudo /usr/bin/check_vg_state $ARG1$
# %wheel ALL=(ALL) NOPASSWD: ALL
frank ALL=(ALL) NOPASSWD: ALL
+nagios ALL=(ALL) NOPASSWD: ALL
%adm ALL=(ALL) NOPASSWD: ALL
## Uncomment to allow members of group sudo to execute any command
set showmatch
set ignorecase
+set list listchars=tab:»·,trail:·
+
if has("multi_byte")
set encoding=utf-8
setglobal fileencoding=utf-8