Xymon Mailing List Archive search

Custom Monitoring

7 messages in this thread

list Sello Tlabela · Tue, 29 May 2007 11:36:44 +0200 ·
Hi,

Is it possible to have hobbit to monitor the following, if yes How do I
go about configuring it
-hardware if possible (fans, temps)
-raid status
-dns resolvability 
-ethernet connectivity status
-check if updates are available
-- 
Sello Tlabela <user-68d80b7df288@xymon.invalid>
Telkom SA


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Pkc_mls · Tue, 29 May 2007 11:40:11 +0200 ·
quoted from Sello Tlabela
Sello Tlabela a écrit :
Hi,

Is it possible to have hobbit to monitor the following, if yes How do I go about configuring it
-hardware if possible (fans, temps)
-raid status
-dns resolvability
-ethernet connectivity status
-check if updates are available

depending on your hardware, you can find some custom external scripts that could match your needs.
have a look at www.deadcat.net.

if you provide some details about the hardware and raid you'd like to monitor, maybe we can provide better answers.
-- 
Sello Tlabela <user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>>
quoted from Sello Tlabela
Telkom SA

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Iain Conochie · Tue, 29 May 2007 11:28:54 +0100 ·
On Tuesday 29 May 2007 10:36, Sello Tlabela wrote:
Hi,

Is it possible to have hobbit to monitor the following
Theoretically, it is possible to monitor anything using hobbit
quoted from Pkc_mls
, if yes How do I go about configuring it
-hardware if possible (fans, temps)
-raid status
-dns resolvability
-ethernet connectivity status
-check if updates are available
But as you point out here, how can you go about doing it? Well, I would say that if you have command line tools to monitor these devices (for hardware, raid, ethernet and updates this should be fairly straight forward). For DNS I guess a simple dig could do the job, although I am sure hobbit contains a DNS check, although this is more is the DNS server working.

The main thing is that you will have to script up the tests yourself. You can see the basic outline of how to do this in the help pages supplied by hobbit in tricks and tips, custom scripts

Cheers and good luck

Iain
list Yadvendra Kushwaha · Tue, 27 Aug 2019 08:18:47 -0400 ·
Hi There
I am looking for a custom monitoring, my script runs on a client  and
returns a number, I need to add this to the server and the threshold levels
Ex-
my-test 5 10

any help please?
list Yadvendra Kushwaha · Tue, 27 Aug 2019 09:30:10 -0400 ·
I managed to get the data on server form client, Need help in setting the
threshold part (warning and critical )

On Tue, Aug 27, 2019 at 8:18 AM Yadvendra kushwaha <user-c1aa0b7f48b5@xymon.invalid>
quoted from Yadvendra Kushwaha
wrote:
Hi There
I am looking for a custom monitoring, my script runs on a client  and
returns a number, I need to add this to the server and the threshold levels
Ex-
my-test 5 10

any help please?

list Damien Martins · Tue, 27 Aug 2019 15:37:21 +0200 ·
Hi Yadvendra.

In order to define the alarms threshold, you have to edit your custom monitoring and test the returned value to decide its color (yellow = warning, red = alert)

There are different ways to implement this, depending on the logic of your monitoring script.

If you have only one value to test, and using a shell script, you may use something like

<code>

max_warning = 5

max_alert = 10

color = undefined

if [ $value -ge $max_alert]; then

 ??? color = red

elif [$value -ge $max_warning] ; then

 ??? color = yellow

else

 ??? color = green

</code>

Then you send the color to xymon server using the appropriate syntax.

Le 27/08/2019 ? 15:30, Yadvendra kushwaha a ?crit?:
quoted from Yadvendra Kushwaha
I managed to get the data on server form client, Need help in setting the threshold part (warning and critical )

On Tue, Aug 27, 2019 at 8:18 AM Yadvendra kushwaha <user-c1aa0b7f48b5@xymon.invalid <mailto:user-c1aa0b7f48b5@xymon.invalid>> wrote:

    Hi There
    I am looking for a custom monitoring, my script runs on a client?
    and returns a number, I need to add this to the server and the
    threshold levels
    Ex-
    my-test 5 10

    any help please?

list Paul Root · Tue, 27 Aug 2019 15:34:44 +0000 ·
I put that into the script.
quoted from Yadvendra Kushwaha

From: Xymon <xymon-bounces at xymon.com> On Behalf Of Yadvendra kushwaha
Sent: Tuesday, August 27, 2019 8:30 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Custom monitoring

I managed to get the data on server form client, Need help in setting the threshold part (warning and critical )

On Tue, Aug 27, 2019 at 8:18 AM Yadvendra kushwaha <user-c1aa0b7f48b5@xymon.invalid<mailto:user-c1aa0b7f48b5@xymon.invalid>> wrote:
Hi There
I am looking for a custom monitoring, my script runs on a client  and returns a number, I need to add this to the server and the threshold levels
Ex-
my-test 5 10

any help please?


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.