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
155870
Files:
FileDescription
check_svcsShell Script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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).