Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_solaris_smf

Rating
2 votes
Favoured:
0
Hits
148970
Files:
FileDescription
check_solaris_smf_1_2.tar.gzcheck_solaris_smf 1.2
Nagios CSP

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!
Nagios plugin to check Solaris 10 SMF service status
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

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...