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_smf

Rating
0 votes
Favoured:
0
Hits
145250
Files:
FileDescription
check_smfPlug-in script for service checks
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!
Check the state of a service managed by SMF
This is a very simple script that allows Nagios to check the state of an SMF service on a Solaris 10 system. It can check if a service is disabled or online.

Use //check_smf -e // to check if a service is online. The check returns an OK if it is indeed online and a CRITICAL otherwise (i.e. it is offline, disabled, etc.).

Use //check_smf -d // to check if a service is disabled. The check returns an OK if it is indeed disabled and a CRITICAL otherwise (i.e. it is online, offline, maintenance, etc.)

**Examples:**
//check_smf -e svc:/network/rarp:default//
Check if the rarp service is online.

//check_smf -d svc:/network/nis/server:default//
Check if the NIS server service is disabled.