Xymon Mailing List Archive search

eventlogs

7 messages in this thread

list Kevin Hanrahan · Tue, 1 Mar 2005 15:11:33 -0500 ·
Is there an eventlog that I can grep through that will show each event as it
happens? I am writing a prog to send messages to an L.E.D. sign for our dept
to show outages and it would be nice to just extract it from an existing log


Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.
list Larry Barber · Tue, 1 Mar 2005 15:23:25 -0500 (EST) ·
There are logs for each host and each host.test in the data/hist
directory. You could use fam (assuming your using a Unix-like OS) to
watch the files alert your program when each file changed.

Thanks,
Larry Barber
quoted from Kevin Hanrahan

On Tue, 2005-03-01 at 14:11 -0600, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each event
as it happens? I am writing a prog to send messages to an L.E.D. sign
for our dept to show outages and it would be nice to just extract it
from an existing log


Kevin Hanrahan 
Systems Engineer 
Nova Information Systems 
CCNA


Note:  The information contained in this email and in any attachments
is intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than
the intended recipient is prohibited.  The recipient should check this
email and any attachments for the presence of viruses.  Sender accepts
no liability for any damages caused by any virus transmitted by this
email. If you have received this email in error, please notify us
immediately by replying to the message and delete the email from your
computer.  This e-mail is and any response to it will be unencrypted
and, therefore, potentially unsecure.  Thank you.  NOVA Information
Systems, Inc.
list Brian Lynch · Tue, 1 Mar 2005 12:35:17 -0800 ·
You can also look at the data/hist/allevents file that logs every
single event received by the hobbit server.

- Brian


On Tue, 1 Mar 2005 15:23:25 -0500 (EST), user-7a6c75d6cc10@xymon.invalid
quoted from Larry Barber
<user-7a6c75d6cc10@xymon.invalid> wrote:
There are logs for each host and each host.test in the data/hist
directory. You could use fam (assuming your using a Unix-like OS) to
watch the files alert your program when each file changed.

Thanks,
Larry Barber

On Tue, 2005-03-01 at 14:11 -0600, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each event
as it happens? I am writing a prog to send messages to an L.E.D. sign
for our dept to show outages and it would be nice to just extract it
from an existing log


Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any attachments
is intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than
the intended recipient is prohibited.  The recipient should check this
email and any attachments for the presence of viruses.  Sender accepts
no liability for any damages caused by any virus transmitted by this
email. If you have received this email in error, please notify us
immediately by replying to the message and delete the email from your
computer.  This e-mail is and any response to it will be unencrypted
and, therefore, potentially unsecure.  Thank you.  NOVA Information
Systems, Inc.
list Kevin Hanrahan · Tue, 1 Mar 2005 15:41:52 -0500 ·
Yeah, I looked there but I was hoping for a bit more info....such as when I
see a red services or procs alert, I would like to know which one it is if
it is possible.
quoted from Brian Lynch

-----Original Message-----
From: Brian Lynch [mailto:user-0420823115a8@xymon.invalid] Sent: Tuesday, March 01, 2005 3:35 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] eventlogs


You can also look at the data/hist/allevents file that logs every single
event received by the hobbit server.

- Brian


On Tue, 1 Mar 2005 15:23:25 -0500 (EST), user-7a6c75d6cc10@xymon.invalid
<user-7a6c75d6cc10@xymon.invalid> wrote:
There are logs for each host and each host.test in the data/hist directory. You could use fam (assuming your using a Unix-like OS) to watch the files alert your program when each file changed.

Thanks,
Larry Barber

On Tue, 2005-03-01 at 14:11 -0600, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each > event as it happens? I am writing a prog to send messages to an > L.E.D. sign for our dept to show outages and it would be nice to > just extract it from an existing log


Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any > attachments is intended only for the person or entity to which it is > addressed and may contain confidential and/or privileged material.  > Any review, retransmission, dissemination or other use of, or taking > of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited.  The > recipient should check this email and any attachments for the > presence of viruses.  Sender accepts no liability for any damages > caused by any virus transmitted by this email. If you have received > this email in error, please notify us immediately by replying to the > message and delete the email from your computer.  This e-mail is and > any response to it will be unencrypted and, therefore, potentially > unsecure.  Thank you.  NOVA Information Systems, Inc.
Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.
list Brian Lynch · Tue, 1 Mar 2005 12:51:10 -0800 ·
Depending on the granularity of your tests, the allevents file will
give you the host, the test that failed and the color transition (i..e
from green to red).  If you are looking for the content of the alert,
then you'll have to poke through the history files or force hobbit to
write out the host status files (i.e. enable 'bbstatus').

- Brian


On Tue, 1 Mar 2005 15:41:52 -0500, user-fd47fec4b039@xymon.invalid
quoted from Kevin Hanrahan
<user-fd47fec4b039@xymon.invalid> wrote:
Yeah, I looked there but I was hoping for a bit more info....such as when I
see a red services or procs alert, I would like to know which one it is if
it is possible.

-----Original Message-----
From: Brian Lynch [mailto:user-0420823115a8@xymon.invalid]
Sent: Tuesday, March 01, 2005 3:35 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] eventlogs

You can also look at the data/hist/allevents file that logs every single
event received by the hobbit server.

- Brian

On Tue, 1 Mar 2005 15:23:25 -0500 (EST), user-7a6c75d6cc10@xymon.invalid
<user-7a6c75d6cc10@xymon.invalid> wrote:
There are logs for each host and each host.test in the data/hist
directory. You could use fam (assuming your using a Unix-like OS) to
watch the files alert your program when each file changed.

Thanks,
Larry Barber

On Tue, 2005-03-01 at 14:11 -0600, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each
event as it happens? I am writing a prog to send messages to an
L.E.D. sign for our dept to show outages and it would be nice to
just extract it from an existing log


Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any
attachments is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  The
recipient should check this email and any attachments for the
presence of viruses.  Sender accepts no liability for any damages
caused by any virus transmitted by this email. If you have received
this email in error, please notify us immediately by replying to the
message and delete the email from your computer.  This e-mail is and
any response to it will be unencrypted and, therefore, potentially
unsecure.  Thank you.  NOVA Information Systems, Inc.
Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.

list Gordon Thiesfeld · Tue, 1 Mar 2005 17:01:05 -0600 ·
You might look at the bb command's hobbitdboard option.  It retrieves quite
a bit of info on all hosts.  I'm not sure if it will return all of the info
you're looking for, but something to look at.  
quoted from Brian Lynch
-----Original Message-----
From: user-fd47fec4b039@xymon.invalid [mailto:user-fd47fec4b039@xymon.invalid]
Sent: Tuesday, March 01, 2005 2:42 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] eventlogs

Yeah, I looked there but I was hoping for a bit more info....such as when
I
see a red services or procs alert, I would like to know which one it is if
it is possible.

-----Original Message-----
From: Brian Lynch [mailto:user-0420823115a8@xymon.invalid]
Sent: Tuesday, March 01, 2005 3:35 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] eventlogs


You can also look at the data/hist/allevents file that logs every single
event received by the hobbit server.

- Brian


On Tue, 1 Mar 2005 15:23:25 -0500 (EST), user-7a6c75d6cc10@xymon.invalid
<user-7a6c75d6cc10@xymon.invalid> wrote:
There are logs for each host and each host.test in the data/hist
directory. You could use fam (assuming your using a Unix-like OS) to
watch the files alert your program when each file changed.

Thanks,
Larry Barber

On Tue, 2005-03-01 at 14:11 -0600, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each
event as it happens? I am writing a prog to send messages to an
L.E.D. sign for our dept to show outages and it would be nice to
just extract it from an existing log


Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any
attachments is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  The
recipient should check this email and any attachments for the
presence of viruses.  Sender accepts no liability for any damages
caused by any virus transmitted by this email. If you have received
this email in error, please notify us immediately by replying to the
message and delete the email from your computer.  This e-mail is and
any response to it will be unencrypted and, therefore, potentially
unsecure.  Thank you.  NOVA Information Systems, Inc.
Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email
and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and
any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.

list Asif Iqbal · Thu, 3 Mar 2005 10:38:24 -0500 ·
quoted from Gordon Thiesfeld
On Tue, Mar 01, 2005 at 03:11:33PM, user-fd47fec4b039@xymon.invalid wrote:
Is there an eventlog that I can grep through that will show each event as it
happens? I am writing a prog to send messages to an L.E.D. sign for our dept
to show outages and it would be nice to just extract it from an existing log
 bb 127.0.0.1 "hobbitdboard" | grep red
 bb 127.0.0.1 "hobbitdlog HOSTNAME.disk"
 bb 127.0.0.1 "query HOSTNAME.disk"

These are some samples
quoted from Gordon Thiesfeld
Kevin Hanrahan
Systems Engineer
Nova Information Systems
CCNA


Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.
To be honest with you I think this disclaimer has no use in a mailing
list. 

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin