Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Services on SUN Solaris (5.10) with svcs
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!
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
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).
"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).