conf/solaris.conf
author Tomas Zeman <tomas@functionals.cz>
Tue, 21 Feb 2023 13:03:45 +0100
changeset 40 8c421321123d
parent 2 954185277fd8
permissions -rw-r--r--
run-cron-zabbix
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