conf/solaris.conf
author Eric Renfro <psi-jack@gmail.com>
Fri, 28 Jun 2013 13:02:43 -0400
changeset 22 4bccc75a8a1c
parent 2 954185277fd8
permissions -rw-r--r--
Updated domain-check with many improvements
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     1
# Solaris specific checks
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     2
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     3
# smf(5) monitoring:
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     4
# Returns service status of $1, see svcs(1), should be 'online'
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     5
UserParameter=smf.service.state[*],svcs -H -o state $1
954185277fd8 solaris, zfs checks
"Tomas Zeman <tzeman@volny.cz>"
parents:
diff changeset
     6