Re: Nagios probe for btrfs RAID status?

2013-11-23 Thread Duncan
Daniel Pocock posted on Sat, 23 Nov 2013 12:44:25 +0100 as excerpted: >> [btrfs manpage quote] >> btrfs device stats [-z] {|} >> >> Read and print the device IO stats for all devices of the filesystem >> identified by or for a single . >> -z Reset stats to zero after reading them. >> Here's

Re: Nagios probe for btrfs RAID status?

2013-11-23 Thread Daniel Pocock
On 23/11/13 11:35, Duncan wrote: > Daniel Pocock posted on Sat, 23 Nov 2013 09:37:50 +0100 as excerpted: > >> What about when btrfs detects a bad block checksum and recovers data >> from the equivalent block on another disk? The wiki says there will be >> a syslog event. Does btrfs keep any st

Re: Nagios probe for btrfs RAID status?

2013-11-23 Thread Duncan
Daniel Pocock posted on Sat, 23 Nov 2013 09:37:50 +0100 as excerpted: > What about when btrfs detects a bad block checksum and recovers data > from the equivalent block on another disk? The wiki says there will be > a syslog event. Does btrfs keep any stats on the number of blocks that > it cons

Re: Nagios probe for btrfs RAID status?

2013-11-23 Thread Daniel Pocock
On 23/11/13 09:37, Daniel Pocock wrote: > > > On 23/11/13 04:59, Anand Jain wrote: >> >> >>> For example, would the command >>> >>> btrfs filesystem show --all-devices >>> >>> give a non-zero error status or some other clue if any of the devices >>> are at risk? >> >> No there isn't any g

Re: Nagios probe for btrfs RAID status?

2013-11-23 Thread Daniel Pocock
On 23/11/13 04:59, Anand Jain wrote: > > >> For example, would the command >> >> btrfs filesystem show --all-devices >> >> give a non-zero error status or some other clue if any of the devices >> are at risk? > > No there isn't any good way as of now. that's something to fix. Does it re

Re: Nagios probe for btrfs RAID status?

2013-11-22 Thread Anand Jain
For example, would the command btrfs filesystem show --all-devices give a non-zero error status or some other clue if any of the devices are at risk? No there isn't any good way as of now. that's something to fix. Thanks, Anand -- To unsubscribe from this list: send the line "unsubsc

Re: Nagios probe for btrfs RAID status?

2013-11-22 Thread Duncan
Daniel Pocock posted on Fri, 22 Nov 2013 14:47:49 +0100 as excerpted: > I just did a search and couldn't find any probe for btrfs RAID status > > The "check_raid" plugin seems to recognise mdadm and various other types > of RAID but not btrfs > > Has anybody seen a plugin for Nagios or could any

Nagios probe for btrfs RAID status?

2013-11-22 Thread Daniel Pocock
I just did a search and couldn't find any probe for btrfs RAID status The "check_raid" plugin seems to recognise mdadm and various other types of RAID but not btrfs Has anybody seen a plugin for Nagios or could anybody comment on how it should work if somebody wants to make one? For example, wo