Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_gmirror
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
91621
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!
SYNTAX:
$path/check_gmirror.sh
OUTPUT:
gm3: DEGRADED / gm0: rebuilding / gm2: ok / gm1: ok
Failed/rebuilding volumes will always be first in the output string, to help diagnose the problem when recieving the output via pager/sms.
Various outputs explained:
ok The device is reported as ok by the smart array controller
DEGRADED The RAID volume is degraded, it's still working but without the safety of RAID, and in some cases with severe performance loss.
rebuilding The RAID is rebuilding, will return to OK when done
starting The geom device is currently starting, you shouldn't see this and will return an unknown code to nagios
unknown state Volume is in an unknown state. Please report this to me (soren at klintrup.dk) so I can update the script
include the following output:
gmirror status
gmirror list
TESTED:
Tested on FreeBSD 6.2
NOTE: This was made on request from a friend, has not been thorougly tested, your mileage may vary.
$path/check_gmirror.sh
OUTPUT:
gm3: DEGRADED / gm0: rebuilding / gm2: ok / gm1: ok
Failed/rebuilding volumes will always be first in the output string, to help diagnose the problem when recieving the output via pager/sms.
Various outputs explained:
ok The device is reported as ok by the smart array controller
DEGRADED The RAID volume is degraded, it's still working but without the safety of RAID, and in some cases with severe performance loss.
rebuilding The RAID is rebuilding, will return to OK when done
starting The geom device is currently starting, you shouldn't see this and will return an unknown code to nagios
unknown state Volume is in an unknown state. Please report this to me (soren at klintrup.dk) so I can update the script
include the following output:
gmirror status
gmirror list
TESTED:
Tested on FreeBSD 6.2
NOTE: This was made on request from a friend, has not been thorougly tested, your mileage may vary.
Reviews (0)
Be the first to review this listing!