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
147401
Files:
FileDescription
check_solaris_smf_1_2.tar.gzcheck_solaris_smf 1.2
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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...