Solaris

check_solaris_smf

Description:

Nagios plugin to check Solaris 10 SMF service status

Current Version

Last Release Date

June 16, 2009

Compatible With


Project Files
Project Notes
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) Add a Review
Nice check - with remark...
by mkoco, September 30, 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...



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (2)
Favorites
0
Views
148,979