summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-11 19:06:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-11 19:06:35 +0100
commitc8953334ac788a6405c45e009ceeca72bc9d35bd (patch)
treecc82b1fae08fa04b0037646ec6ab6685849d2aea /examples
parentdec689e9f576d3e67a1caadd0655c695461fbfdf (diff)
Add examples
Diffstat (limited to 'examples')
-rw-r--r--examples/backup11
-rw-r--r--examples/nagios19
2 files changed, 30 insertions, 0 deletions
diff --git a/examples/backup b/examples/backup
new file mode 100644
index 0000000..f22478a
--- /dev/null
+++ b/examples/backup
@@ -0,0 +1,11 @@
+packages = dpkg --get-selections
+etc = tar -C / -cf - etc
+home = tar -C / -cf - home
+srv = tar -C / -cf - srv
+root = tar -C / -cf - root
+var_log = tar -C / -cf - var/log
+usr_local = tar -C / -cf - usr/local
+var_local = tar -C / -cf - var/local
+
+ldap = slapcat
+sqldump = sh sqldump.sh
diff --git a/examples/nagios b/examples/nagios
new file mode 100644
index 0000000..91d6015
--- /dev/null
+++ b/examples/nagios
@@ -0,0 +1,19 @@
+disk_root = /usr/lib/nagios/plugins/check_disk -w 12% -c 5% -p /
+disk_home = /usr/lib/nagios/plugins/check_disk -w 5% -c 2% -p /home
+disk_boot = /usr/lib/nagios/plugins/check_disk -w 12% -c 5% -p /boot
+libs = /usr/bin/sudo /usr/lib/nagios/plugins/check_libs
+load = /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
+processes = /usr/lib/nagios/plugins/check_procs -w 150 -c 200
+raid = /usr/lib/nagios/plugins/check_raid
+users = /usr/lib/nagios/plugins/check_users -w 14 -c 20
+mailq_postfix = /usr/lib/nagios/plugins/check_mailq -w 10 -c 20 -M postfix
+packages = /usr/lib/nagios/plugins/check_packages
+kernel = /usr/lib/nagios/plugins/check_kernel
+certificate = /usr/lib/nagios/plugins/check_cert_expire /etc/ssl/chaosdorf.crt
+git_etc = /usr/bin/sudo /usr/lib/nagios/plugins/check_git_status /etc
+git_usr_local = /usr/bin/sudo /usr/lib/nagios/plugins/check_git_status /usr/local
+git_srv_roundup = /usr/bin/sudo /usr/lib/nagios/plugins/check_git_status /srv/roundup
+smart_sda = /usr/bin/sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/sda -n
+smart_sdb = /usr/bin/sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/sdb -n
+smart_hda = /usr/bin/sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/hda -n
+smart_hdc = /usr/bin/sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/hdc -n