Home Directory Plugins Operating Systems Solaris Check Services on SUN Solaris (5.10) with svcs

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 Services on SUN Solaris (5.10) with svcs

Rating
1 vote
Favoured:
0
Hits
156359
Files:
FileDescription
check_svcsShell Script
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!
Shell Script Plugin to Check the state of the Services on Solaris.
solaris svcs check script, writen as shell script, not very complex ;-)

the follwing states are reconized:

0 | OK | if online
1 | WARNING | if disabled
1 | WARNING | if maintenance
2 | CRITICAL | if offline
3 | UNKNOWN | if not available or it returns another state
Reviews (1)
bybored, August 18, 2011
This script is needed some correction:
"grep $1" must be replaced by "grep "$1: ""
This is necessary to do correct change service with rather like names.
For example, if system has systel-log and system-log-ng services, your version just use first (by list, by A-Z order).