Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_solaris_smf
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This Nagios plugin checks status of Solaris 10 SMF services. You
can specify one or more FMRIs and their OK, WARNING and CRITICAL
states. Plugin can also be used without FMRIs to make a quick
overview check of all SMF services.
Examples:
# check_solaris_smf.sh -f svc:/network/http:apache2 -o ON -w DIS -c DGD,MNT,OFF
SMF SVCS OK - svc:/network/http:apache2 ON
# check_solaris_smf.sh -f apache2 -o ON -f samba -o ON
SMF SVCS WARNING - apache2 MNT; samba ON
# check_solaris_smf.sh -e -w OFF,UN -c DGD,MNT
SMF SVCS OK - no services with status DGD MNT OFF UN
can specify one or more FMRIs and their OK, WARNING and CRITICAL
states. Plugin can also be used without FMRIs to make a quick
overview check of all SMF services.
Examples:
# check_solaris_smf.sh -f svc:/network/http:apache2 -o ON -w DIS -c DGD,MNT,OFF
SMF SVCS OK - svc:/network/http:apache2 ON
# check_solaris_smf.sh -f apache2 -o ON -f samba -o ON
SMF SVCS WARNING - apache2 MNT; samba ON
# check_solaris_smf.sh -e -w OFF,UN -c DGD,MNT
SMF SVCS OK - no services with status DGD MNT OFF UN
Reviews (1)
bymkoco, September 1, 2015
Very nice job.
TODO:
Replace occurrences of tr (of being usually /usr/bin/tr) with TR="/usr/xpg4/bin/tr" and
all should work fine...
TODO:
Replace occurrences of tr (of being usually /usr/bin/tr) with TR="/usr/xpg4/bin/tr" and
all should work fine...