Xymon Mailing List Archive search

Getting red for disk /cdrom being 100% full.

5 messages in this thread

list Robert P McGraw · Wed, 12 Mar 2008 13:17:14 -0400 ·
INFO: SunOS zorn 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R
Running hobbit 4.2.0. 

The host zorn it the hobbit server. 

Below if information being returned under the "disk" heading. 

The problem is that hobbit is reporting "red" because 

RED /cdrom/sol_10_807_sparc/s1 (100% used) has reached the PANIC level (95%)


Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       16526762 12802540 3558955    79%    /
/dev/md/dsk/d3       8263373 6865699 1315041    84%    /var
/dev/dsk/c3t102d0s6  906514080 725338492 172110448    81%    /export/users
/dev/dsk/c3t102d1s6  98989396 75838865 22160638    78%    /export/pkgs
/dev/dsk/c3t102d1s7  53621849 3167622 49918009     6%    /export/csw
/dev/dsk/c3t102d2s6  98989396 31142015 66857488    32%    /export/jumpstart
/dev/dsk/c3t102d2s7  53621849   52716 53032915     1%    /export/patchsvr
/dev/dsk/c3t102d3s6  50869921 20223963 30137259    41%    /export/varmail
/dev/dsk/c3t102d4s6  832492688 326229172 497938590    40%    /export/loc1
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s6      31       2      26     8%
/cdrom/sol_10_807_sparc/s6
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s5      31       2      26     8%
/cdrom/sol_10_807_sparc/s5
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s4      31       2      26     8%
/cdrom/sol_10_807_sparc/s4
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s3      31       2      26     8%
/cdrom/sol_10_807_sparc/s3
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s2      31       2      26     8%
/cdrom/sol_10_807_sparc/s2
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s1  174639  157917       0   100%
/cdrom/sol_10_807_sparc/s1
swap                 14135032    1408 14133624     1%    /etc/svc/volatile
swap                 14137184    3560 14133624     1%    /tmp
swap                 14133664      40 14133624     1%    /var/run


I have modified the df command client/bin/hobbitclient-sunos.sh to strip
this out and it works correctly for the trends. 

How/where do I modify hobbit to skip the /vol so it does not get reported as
being 100% full.

Thanks

Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                                               
West Lafayette, IN XXXXX-XXXX
list Lee Garner · Wed, 12 Mar 2008 10:30:28 -0700 ·
Check the hobbit-clients.cfg file.  There's a "DISK filesystem IGNORE"
mentioned in the comments, so you could try:

HOST zorn
   DISK /var IGNORE
quoted from Robert P McGraw


On 3/12/08, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:
INFO: SunOS zorn 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R
 Running hobbit 4.2.0.

 The host zorn it the hobbit server.

 Below if information being returned under the "disk" heading.

 The problem is that hobbit is reporting "red" because

 RED /cdrom/sol_10_807_sparc/s1 (100% used) has reached the PANIC level (95%)


 Filesystem            kbytes    used   avail capacity  Mounted on
 /dev/md/dsk/d0       16526762 12802540 3558955    79%    /
 /dev/md/dsk/d3       8263373 6865699 1315041    84%    /var
 /dev/dsk/c3t102d0s6  906514080 725338492 172110448    81%    /export/users
 /dev/dsk/c3t102d1s6  98989396 75838865 22160638    78%    /export/pkgs
 /dev/dsk/c3t102d1s7  53621849 3167622 49918009     6%    /export/csw
 /dev/dsk/c3t102d2s6  98989396 31142015 66857488    32%    /export/jumpstart
 /dev/dsk/c3t102d2s7  53621849   52716 53032915     1%    /export/patchsvr
 /dev/dsk/c3t102d3s6  50869921 20223963 30137259    41%    /export/varmail
 /dev/dsk/c3t102d4s6  832492688 326229172 497938590    40%    /export/loc1
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s6      31       2      26     8%
 /cdrom/sol_10_807_sparc/s6
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s5      31       2      26     8%
 /cdrom/sol_10_807_sparc/s5
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s4      31       2      26     8%
 /cdrom/sol_10_807_sparc/s4
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s3      31       2      26     8%
 /cdrom/sol_10_807_sparc/s3
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s2      31       2      26     8%
 /cdrom/sol_10_807_sparc/s2
 /vol/dev/dsk/c0t6d0/sol_10_807_sparc/s1  174639  157917       0   100%
 /cdrom/sol_10_807_sparc/s1
 swap                 14135032    1408 14133624     1%    /etc/svc/volatile
 swap                 14137184    3560 14133624     1%    /tmp
 swap                 14133664      40 14133624     1%    /var/run


 I have modified the df command client/bin/hobbitclient-sunos.sh to strip
 this out and it works correctly for the trends.

 How/where do I modify hobbit to skip the /vol so it does not get reported as
 being 100% full.

 Thanks

 Robert


Robert P. McGraw, Jr.
 Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
 Purdue University                         ROOM: MATH-807
 Department of Mathematics                PHONE: (XXX) XXX-XXXX
 XXX N. University Street
 West Lafayette, IN XXXXX-XXXX

list Steve Holmes · Wed, 12 Mar 2008 13:41:50 -0400 ·
Try
HOST=zorn.whatever.com
  DISK /cdrom IGNORE

Steve.

On Wed, Mar 12, 2008 at 1:17 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid>
quoted from Lee Garner
wrote:
INFO: SunOS zorn 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R
Running hobbit 4.2.0.

The host zorn it the hobbit server.

Below if information being returned under the "disk" heading.

The problem is that hobbit is reporting "red" because

RED /cdrom/sol_10_807_sparc/s1 (100% used) has reached the PANIC level
(95%)


Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       16526762 12802540 3558955    79%    /
/dev/md/dsk/d3       8263373 6865699 1315041    84%    /var
/dev/dsk/c3t102d0s6  906514080 725338492 172110448    81%    /export/users
/dev/dsk/c3t102d1s6  98989396 75838865 22160638    78%    /export/pkgs
/dev/dsk/c3t102d1s7  53621849 3167622 49918009     6%    /export/csw
/dev/dsk/c3t102d2s6  98989396 31142015 66857488    32%
 /export/jumpstart
/dev/dsk/c3t102d2s7  53621849   52716 53032915     1%    /export/patchsvr
/dev/dsk/c3t102d3s6  50869921 20223963 30137259    41%    /export/varmail
/dev/dsk/c3t102d4s6  832492688 326229172 497938590    40%    /export/loc1
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s6      31       2      26     8%
/cdrom/sol_10_807_sparc/s6
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s5      31       2      26     8%
/cdrom/sol_10_807_sparc/s5
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s4      31       2      26     8%
/cdrom/sol_10_807_sparc/s4
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s3      31       2      26     8%
/cdrom/sol_10_807_sparc/s3
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s2      31       2      26     8%
/cdrom/sol_10_807_sparc/s2
/vol/dev/dsk/c0t6d0/sol_10_807_sparc/s1  174639  157917       0   100%
/cdrom/sol_10_807_sparc/s1
swap                 14135032    1408 14133624     1%    /etc/svc/volatile
swap                 14137184    3560 14133624     1%    /tmp
swap                 14133664      40 14133624     1%    /var/run


I have modified the df command client/bin/hobbitclient-sunos.sh to strip
this out and it works correctly for the trends.

How/where do I modify hobbit to skip the /vol so it does not get reported
as
being 100% full.

Thanks

Robert

list Alexander Keller · Wed, 12 Mar 2008 18:49:40 +0100 ·
Hi,

Hi,

its easier to change your hobbit-clients.cfg.

You can add the following line to your default section:

DEFAULT
 	[...]
       DISK    %^/cdrom.*/ IGNORE
	[...]

Regards, 
Alexander


am Mittwoch, 12. März 2008 um 18:17 schrieben Sie:
quoted from Steve Holmes
INFO: SunOS zorn 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R
Running hobbit 4.2.0. 
The host zorn it the hobbit server. 
Below if information being returned under the "disk" heading. 
The problem is that hobbit is reporting "red" because 
RED /cdrom/sol_10_807_sparc/s1 (100% used) has reached the PANIC level (95%)
I have modified the df command client/bin/hobbitclient-sunos.sh to strip
this out and it works correctly for the trends. 
How/where do I modify hobbit to skip the /vol so it does not get reported as
being 100% full.
Thanks
Robert
Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                                           
West Lafayette, IN XXXXX-XXXX
list Robert P McGraw · Wed, 12 Mar 2008 15:14:07 -0400 ·
Several people answered and told me about the 

DISK filesystem IGNORE in hobbit-client.cfg 

 
Thanks very much for your answers

 
Robert
quoted from Alexander Keller

 
From: Alexander Keller [mailto:user-1c695ed38cb2@xymon.invalid] 
Sent: Wednesday, March 12, 2008 1:50 PM
To: McGraw, Robert P
Subject: Re: [hobbit] Getting red for disk /cdrom being 100% full.

 
Hi,

 
Hi,

 
its easier to change your hobbit-clients.cfg.

 
You can add the following line to your default section:

 
DEFAULT

         [...]

       DISK    %^/cdrom.*/ IGNORE

       [...]

 
Regards, 

Alexander

 
am Mittwoch, 12. März 2008 um 18:17 schrieben Sie:

 
INFO: SunOS zorn 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R
Running hobbit 4.2.0. 
 
The host zorn it the hobbit server. 
 
Below if information being returned under the "disk" heading. 
 
The problem is that hobbit is reporting "red" because 
 
RED /cdrom/sol_10_807_sparc/s1 (100% used) has reached the PANIC level
(95%)

 
I have modified the df command client/bin/hobbitclient-sunos.sh to strip
this out and it works correctly for the trends. 
 
How/where do I modify hobbit to skip the /vol so it does not get reported
as
being 100% full.
 
Thanks
 
Robert
 
Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                                           
West Lafayette, IN XXXXX-XXXX