Re: Monitoring geom

2009-03-06 Thread Mister Olli
Hi Carl, Thanks a lot for that tip. When I had a look a periodic.conf(8) there are quite some more options for monitoring raid/ geom devices... unfortunately there's no option for monitoring raid5 vinum devices... greetz olli Am Donnerstag, den 05.03.2009, 20:53 -0500 schrieb Carl Chave: From

Re: Monitoring geom

2009-03-06 Thread Mister Olli
Hi, thanks for the tip, but somehow nagios is completly overdosed for the customer I'm installing this thing for... Seems like there's no way than coding it myself... greetz olli Am Freitag, den 06.03.2009, 07:21 +0100 schrieb Frederique Rijsdijk: Mister Olli wrote: Hi hi... What is

Monitoring geom

2009-03-05 Thread Mister Olli
Hi hi... What is the best way to monitor geom software raids (gmirror gvinum raid5)??? The solution I'm searching for should be a kind of script which checks the status, and drops me an email if something is wrong. I found a nagios plugin, but currently I'm unable to invest enough time to get

Re: Monitoring geom

2009-03-05 Thread Modulok
I'm not sure what the 'best' way to monitor a geom is but this should, in theory, work. I wrote it while eating lunch, so obviously it hasn't been tested much and probably contains bugs. If someone, perhaps here on the list, could offer suggested changes (or a better way), that'd be great!

Re: Monitoring geom

2009-03-05 Thread Carl Chave
From Michael Lucas' Absolute FreeBSD book page 550: FreeBSD can include a status check of your mirrored disks in its daily periodic(8) run. Just add the line daily_status_gmirror_enable=YES to /etc/periodic.conf. Not sure about other raid types beyond mirrors. On 3/5/09, Mister Olli

Re: Monitoring geom

2009-03-05 Thread Frederique Rijsdijk
Mister Olli wrote: Hi hi... What is the best way to monitor geom software raids (gmirror gvinum raid5)??? The solution I'm searching for should be a kind of script which checks the status, and drops me an email if something is wrong. I found a nagios plugin, but currently I'm unable to