btrfs and file system monitoring?
list Matt Goebel
Hey, Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes? Thanks, Matt -- Matthew Goebel : user-74d13dabeb26@xymon.invalid : Unix Jockey @ EMU : Hail Eris Neo-Student, Net Lurker, Donut consumer, and procrastinating medher... "Always with the negative waves, Moriarty" - Oddball "Comfort the troubled, and trouble the comfortable." - Dietrich Bonhoeffer
list Jeremy Laidman
Hmm, not familiar with btrfs. Can you show the [df] section of the client data? Also the contents of /proc/mounts?
▸
On 20 February 2016 at 02:11, Matt Goebel <user-74d13dabeb26@xymon.invalid> wrote:
Hey, Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes? Thanks, Matt -- Matthew Goebel : user-74d13dabeb26@xymon.invalid : Unix Jockey @ EMU : Hail Eris Neo-Student, Net Lurker, Donut consumer, and procrastinating medher... "Always with the negative waves, Moriarty" - Oddball "Comfort the troubled, and trouble the comfortable." - Dietrich Bonhoeffer
list Shawn Heisey
▸
On 2/19/2016 8:11 AM, Matt Goebel wrote:
Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes?
On this machine, the /u01 volume is btrfs. There are two subvolumes, but they do not show up in the report for the "disk" status. https://www.dropbox.com/s/qdwmwa2z718zh97/xymon-btrfs.png?dl=0 The xymon client is 4.3.12 and the xymon server is 4.3.23. On the client in the xymonclient.xfg file, this is defined: DFCMD="/bin/df -Pk" The linux distro on the client is CentOS 7. Thanks, Shawn
list Jeremy Laidman
In analysis.cfg, you can use the IGNORE tag on a filesystem to have it excluded. This thread discusses, and shows examples of, a couple of options (one being IGNORE) to handle filesystems that don't need to be monitored. http://lists.xymon.com/archive/2012-November/035923.html
▸
On 26 February 2016 at 01:22, Shawn Heisey <user-5d0d01dba542@xymon.invalid> wrote:
On 2/19/2016 8:11 AM, Matt Goebel wrote:Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes?On this machine, the /u01 volume is btrfs. There are two subvolumes, but they do not show up in the report for the "disk" status. https://www.dropbox.com/s/qdwmwa2z718zh97/xymon-btrfs.png?dl=0 The xymon client is 4.3.12 and the xymon server is 4.3.23. On the client in the xymonclient.xfg file, this is defined: DFCMD="/bin/df -Pk" The linux distro on the client is CentOS 7. Thanks, Shawn
list Matt Goebel
Can you list multiple file systems on the IGNORE line? Thanks, Matt In reply to some Polka music by Jeremy Laidman:
▸
In analysis.cfg, you can use the IGNORE tag on a filesystem to have it excluded. This thread discusses, and shows examples of, a couple of options (one being IGNORE) to handle filesystems that don't need to be monitored. http://lists.xymon.com/archive/2012-November/035923.html On 26 February 2016 at 01:22, Shawn Heisey <user-5d0d01dba542@xymon.invalid> wrote:On 2/19/2016 8:11 AM, Matt Goebel wrote:Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes?On this machine, the /u01 volume is btrfs. There are two subvolumes, but they do not show up in the report for the "disk" status. https://www.dropbox.com/s/qdwmwa2z718zh97/xymon-btrfs.png?dl=0 The xymon client is 4.3.12 and the xymon server is 4.3.23. On the client in the xymonclient.xfg file, this is defined: DFCMD="/bin/df -Pk" The linux distro on the client is CentOS 7. Thanks, Shawn
-- Matthew Goebel : user-74d13dabeb26@xymon.invalid : Unix Jockey @ EMU : Hail Eris Neo-Student, Net Lurker, Donut consumer, and procrastinating medher... "Always with the negative waves, Moriarty" - Oddball "Comfort the troubled, and trouble the comfortable." - Dietrich Bonhoeffer
list Galen Johnson
Actually, I think you would just use multiple IGNORE lines. =G=
▸
From: Xymon <xymon-bounces at xymon.com> on behalf of Matt Goebel <user-74d13dabeb26@xymon.invalid>
Sent: Friday, February 26, 2016 3:57 PM
To: Jeremy Laidman
Cc: xymon at xymon.com; Shawn Heisey
Subject: Re: [Xymon] btrfs and file system monitoring?
Can you list multiple file systems on the IGNORE line?
Thanks,
Matt
In reply to some Polka music by Jeremy Laidman:In analysis.cfg, you can use the IGNORE tag on a filesystem to have it excluded. This thread discusses, and shows examples of, a couple of options (one being IGNORE) to handle filesystems that don't need to be monitored. http://lists.xymon.com/archive/2012-November/035923.html On 26 February 2016 at 01:22, Shawn Heisey <user-5d0d01dba542@xymon.invalid> wrote:On 2/19/2016 8:11 AM, Matt Goebel wrote:Started monitoring our first SLES 12 box this week and noticed that it is keeping track of every subvol of the boot partition. Not sure we need to have a dozen copies of the same information? Anyone have a clever way to just monitor the main parition and not the subvolumes?On this machine, the /u01 volume is btrfs. There are two subvolumes, but they do not show up in the report for the "disk" status. https://www.dropbox.com/s/qdwmwa2z718zh97/xymon-btrfs.png?dl=0 The xymon client is 4.3.12 and the xymon server is 4.3.23. On the client in the xymonclient.xfg file, this is defined: DFCMD="/bin/df -Pk" The linux distro on the client is CentOS 7. Thanks, Shawn
-- Matthew Goebel : user-74d13dabeb26@xymon.invalid : Unix Jockey @ EMU : Hail Eris Neo-Student, Net Lurker, Donut consumer, and procrastinating medher... "Always with the negative waves, Moriarty" - Oddball "Comfort the troubled, and trouble the comfortable." - Dietrich Bonhoeffer