Xymon Mailing List Archive search

btrfs and file system monitoring?

6 messages in this thread

list Matt Goebel · Fri, 19 Feb 2016 10:11:43 -0500 ·
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 · Thu, 25 Feb 2016 21:51:49 +1100 ·
Hmm, not familiar with btrfs.  Can you show the [df] section of the client
data?  Also the contents of /proc/mounts?
quoted from Matt Goebel

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 · Thu, 25 Feb 2016 07:22:31 -0700 ·
quoted from Matt Goebel
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 · Fri, 26 Feb 2016 09:00:30 +1100 ·
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
quoted from Shawn Heisey


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 · Fri, 26 Feb 2016 15:57:35 -0500 ·
  Can you list multiple file systems on the IGNORE line?

Thanks,
Matt

In reply to some Polka music by Jeremy Laidman:
quoted from 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 · Sat, 27 Feb 2016 16:36:29 +0000 ·
Actually, I think you would just use multiple IGNORE lines.

=G=
quoted from Matt Goebel

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