Re: Nagios check_bioctl available

2006-07-31 Thread Marco Peereboom
dmesg please On Mon, Jul 31, 2006 at 02:09:21PM -0700, andrew fresh wrote: > On Sun, Jul 30, 2006 at 03:03:26AM +0200, Wijnand Wiersma wrote: > > 2006/7/29, andrew fresh <[EMAIL PROTECTED]>: > > >One thing I ran into is that bioctl needs to run as root to get access > > >to /dev/bio, even for read

Re: Nagios check_bioctl available

2006-07-31 Thread andrew fresh
On Sun, Jul 30, 2006 at 03:03:26AM +0200, Wijnand Wiersma wrote: > 2006/7/29, andrew fresh <[EMAIL PROTECTED]>: > >One thing I ran into is that bioctl needs to run as root to get access > >to /dev/bio, even for read only access. Is there a way to query bioctl > >without needing root? > > Well, I

Re: Nagios check_bioctl available

2006-07-31 Thread andrew fresh
On Fri, Jul 28, 2006 at 09:17:28PM -0500, Marco Peereboom wrote: > andrew fresh wrote: > >I have written a perl script that parses the output from bioctl and > >returns it in a format that Nagios can use. > > Sweet :-) Thanks! > >One thing I ran into is that bioctl needs to run as root to get

Re: Nagios check_bioctl available

2006-07-29 Thread Wijnand Wiersma
2006/7/29, andrew fresh <[EMAIL PROTECTED]>: One thing I ran into is that bioctl needs to run as root to get access to /dev/bio, even for read only access. Is there a way to query bioctl without needing root? Well, I think you only need the status of the drives and that is availlable using sys

Re: Nagios check_bioctl available

2006-07-28 Thread Marco Peereboom
andrew fresh wrote: I have written a perl script that parses the output from bioctl and returns it in a format that Nagios can use. Sweet :-) check_bioctl is avaliable here: http://openbsd.somedomain.net/nagios/check_bioctl-1.3.tar.gz It is useful to me, and so I thought it might be usefu

Re: Nagios check_bioctl available

2006-07-28 Thread Marco Peereboom
andrew fresh wrote: I have written a perl script that parses the output from bioctl and returns it in a format that Nagios can use. Sweet :-) check_bioctl is avaliable here: http://openbsd.somedomain.net/nagios/check_bioctl-1.3.tar.gz It is useful to me, and so I thought it might be usefu

Nagios check_bioctl available

2006-07-28 Thread andrew fresh
I have written a perl script that parses the output from bioctl and returns it in a format that Nagios can use. check_bioctl is avaliable here: http://openbsd.somedomain.net/nagios/check_bioctl-1.3.tar.gz It is useful to me, and so I thought it might be useful to someone else. I wrote this o