--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/solaris.conf Wed Jul 14 08:27:49 2010 +0200
@@ -0,0 +1,6 @@
+# Solaris specific checks
+
+# smf(5) monitoring:
+# Returns service status of $1, see svcs(1), should be 'online'
+UserParameter=smf.service.state[*],svcs -H -o state $1
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/zfs.conf Wed Jul 14 08:27:49 2010 +0200
@@ -0,0 +1,6 @@
+# ZFS checks
+
+# zpool(1M) status, parameters: zpool-name,property
+# parameters eg.: rpool,health
+# see zpool list -o for available properties
+UserParameter=zpool[*],zpool list -H -o $2 $1