Xymon Mailing List Archive search

Multiple disk definitions

6 messages in this thread

list Vernon Everett · Wed, 14 Oct 2009 11:07:23 +0800 ·
Hi all

Anybody had any experience trying to define multiple disk definitions.
I have a range of servers, which for whatever reason, have highly variable partition sizes.

E.g.    ServerA /data1          2Tb
                /data2          200mb

        ServerB /data1          800gb
                /data2          4Tb
                /data3          20gb

Setting a blanket value of
        DISK    *       90      95
Will not give good results, because on a 4Tb volume, 90% is still 400Gb available, while on a 200mb volume, this is only 20mb

What I would like to do, is define a percent or absolute, based on disk size.
Is this possible?

There are many more servers, so defining them all individually will be too much work.

Cheers
    Vernon


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Andy France · Thu, 15 Oct 2009 09:09:09 +1300 ·
Hi Vernon,

Check the man page for hobbit-clients.cfg...

http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-clients.cfg.5.html#lbAG

You can specify disk sizes by free space by appending "U" e.g.

HOST=sap-sid-sv1
        DISK /oracle/SID/saparch 80 90
        DISK /oracle/SID/sapdata1 10485760U 5242880U

The disk for saparch is monitored by percentage, and sapdata1 warns at 10GB free and panics and 5GB free.

Regards,
Andy.
quoted from Vernon Everett

From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: Wednesday, 14 October 2009 4:07 p.m.
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: [hobbit] Multiple disk definitions

Hi all

Anybody had any experience trying to define multiple disk definitions.
I have a range of servers, which for whatever reason, have highly variable partition sizes.

E.g.     ServerA /data1          2Tb
                /data2          200mb

        ServerB /data1          800gb
                /data2          4Tb
                /data3          20gb

Setting a blanket value of
        DISK    *       90      95
Will not give good results, because on a 4Tb volume, 90% is still 400Gb available, while on a 200mb volume, this is only 20mb

What I would like to do, is define a percent or absolute, based on disk size.
Is this possible?

There are many more servers, so defining them all individually will be too much work.

Cheers
    Vernon


NOTICE: This email and any attachments are confidential.

They may contain legally privileged information or

copyright material. You must not read, copy, use or

disclose them without authorisation. If you are not an

intended recipient, please contact us at once by return

email and then delete both messages and all attachments.
#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################


This email has been scrubbed for your protection by SMX.
For more information visit http://smx.co.nz
list Vernon Everett · Fri, 16 Oct 2009 10:12:33 +0800 ·
Yep, am doing that.
However, what I am looking for is a way to do something like this

HOST=*
        DISK    /data1    85    90
        DISK    /data1    10485760U 5242880U

And have some kind of "best-case" or "worst-case" logic.
Worst case would check both cases, and report the worst result.
Best case, does the same, but reports the best result.

I know I am probably looking for the impossible, but a man can hope :-)

Cheers
    Vernon
quoted from Andy France


From: Andy France [mailto:user-ee2a9e4eaf57@xymon.invalid]
Sent: Thursday, 15 October 2009 4:09 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RE: Multiple disk definitions

Hi Vernon,

Check the man page for hobbit-clients.cfg...

http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-clients.cfg.5.html#lbAG

You can specify disk sizes by free space by appending "U" e.g.

HOST=sap-sid-sv1
        DISK /oracle/SID/saparch 80 90
        DISK /oracle/SID/sapdata1 10485760U 5242880U

The disk for saparch is monitored by percentage, and sapdata1 warns at 10GB free and panics and 5GB free.

Regards,
Andy.

From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: Wednesday, 14 October 2009 4:07 p.m.
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: [hobbit] Multiple disk definitions

Hi all

Anybody had any experience trying to define multiple disk definitions.
I have a range of servers, which for whatever reason, have highly variable partition sizes.

E.g.     ServerA /data1          2Tb
                /data2          200mb

        ServerB /data1          800gb
                /data2          4Tb
                /data3          20gb

Setting a blanket value of
        DISK    *       90      95
Will not give good results, because on a 4Tb volume, 90% is still 400Gb available, while on a 200mb volume, this is only 20mb

What I would like to do, is define a percent or absolute, based on disk size.
Is this possible?

There are many more servers, so defining them all individually will be too much work.

Cheers
    Vernon


NOTICE: This email and any attachments are confidential.

They may contain legally privileged information or

copyright material. You must not read, copy, use or

disclose them without authorisation. If you are not an

intended recipient, please contact us at once by return

email and then delete both messages and all attachments.

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations

as to the accuracy of theinformation or to the performance
quoted from Andy France
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from

theuse of this e-mail/attachments.

#####################################################################################

This email has been scrubbed for your protection by SMX. For more information visit smx.co.nz<http://smx.co.nz/scrubbed>;
quoted from Andy France

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Iain M Conochie · Fri, 16 Oct 2009 11:52:57 +0100 ·
Hi Vernon,

This is not a very elegant solution but may work for you

Are you able to create 2 extra pages for these hosts? 1 for large disk and 1 for small disks. You can then base the alerts for these hosts based on these 2 pages. This has the drawback of the same host being defined multiple times in bb-hosts so make sure on the new pages you use noconn and do not define any more checks. This will also increase the number of monitored servers that bbnet reports. So e.g.

page REAL Monitored servers

1.2.3.4 serverA # ssh http://serverA.domain.com
3.4.5.6 serverB # ssh http://serverB.domain.com

page HUGE Large disk servers

0.0.0.0 serverA # noconn

page SMALL Small disk servers

0.0.0.0 serverB # noconn

Now you can define in hobbit-clients.cfg

PAGE=HUGE

DISK /data1 10485760U 5242880U

PAGE=SMALL


DISK /data1 85 90

Cheers
Iain
quoted from Vernon Everett

Everett, Vernon wrote:
Yep, am doing that.
However, what I am looking for is a way to do something like this
HOST=*
DISK /data1 85 90
DISK /data1 10485760U 5242880U

And have some kind of "best-case" or "worst-case" logic.

Worst case would check both cases, and report the worst result.

Best case, does the same, but reports the best result.

I know I am probably looking for the impossible, but a man can hope :-)

Cheers

Vernon


*From:* Andy France [mailto:user-ee2a9e4eaf57@xymon.invalid]
*Sent:* Thursday, 15 October 2009 4:09 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] RE: Multiple disk definitions

Hi Vernon,

Check the man page for hobbit-clients.cfg...

http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-clients.cfg.5.html#lbAG

You can specify disk sizes by free space by appending “U” e.g.

HOST=sap-sid-sv1

DISK /oracle/SID/saparch 80 90

DISK /oracle/SID/sapdata1 10485760U 5242880U

The disk for saparch is monitored by percentage, and sapdata1 warns at 10GB free and panics and 5GB free.

Regards,

Andy.

*From:* Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
*Sent:* Wednesday, 14 October 2009 4:07 p.m.
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* [hobbit] Multiple disk definitions

Hi all

Anybody had any experience trying to define multiple disk definitions.

I have a range of servers, which for whatever reason, have highly variable partition sizes.

E.g. ServerA /data1 2Tb

/data2 200mb

ServerB /data1 800gb

/data2 4Tb

/data3 20gb

Setting a blanket value of

DISK * 90 95

Will not give good results, because on a 4Tb volume, 90% is still 400Gb available, while on a 200mb volume, this is only 20mb

What I would like to do, is define a percent or absolute, based on disk size.

Is this possible?

There are many more servers, so defining them all individually will be too much work.

Cheers

Vernon

 NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of theinformation or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
theuse of this e-mail/attachments.

#####################################################################################

This email has been scrubbed for your protection by SMX. For more information visit smx.co.nz <http://smx.co.nz/scrubbed>;
quoted from Vernon Everett
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Doug Williams · Tue, 20 Oct 2009 17:02:38 -0600 ·
Anyone have a Devmon template for Brocade 3900 switch they would be
willing to share?  I tried going the route of configuring receiving
traps via snmptt method but I cannot find a Brocade mib anywhere that
has the OID numeric mappings, so snmptranslate cannot do much with it.
 
If no template available out there,  I do have the document  with all
the OID to variable mappings, so I will create one myself, and submit to
Devmon folks if they are interested.
 
Thanks
Doug
list Peter Welter · Wed, 21 Oct 2009 19:55:51 +0200 ·
Currently looking for MDS9000 fibre channel switch devmon-how to monitor
specific switch port errors.
I found however a template directory next to the devmon download itselff:
devmon-templates-20080206.tar.gz<http://sourceforge.net/projects/devmon/files/devmon-templates/templates/devmon-templates-20080206.tar.gz/download>;

Perhaps that helps?

<http://sourceforge.net/projects/devmon/files/devmon-templates/templates/devmon-templates-20080206.tar.gz/download>--
Peter

2009/10/21 Williams, Doug (Consultant-RIC) <user-63162c140807@xymon.invalid>
quoted from Doug Williams
Anyone have a Devmon template for Brocade 3900 switch they would be willing
to share?  I tried going the route of configuring receiving traps via snmptt
method but I cannot find a Brocade mib anywhere that has the OID numeric
mappings, so snmptranslate cannot do much with it.

If no template available out there,  I do have the document  with all the
OID to variable mappings, so I will create one myself, and submit to Devmon
folks if they are interested.

Thanks
Doug