BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Text reports for all events for a specific period
In <3DD6D733ACDA8345BF4D443FECEC13B0020E57A9@cnfqe130.cnf.prod.cnf.com> "Hale, Barbara S - CNF" <hale.barbara@cnf.com> writes:
>We had a major network outage yesterday and someone wants to know all
>the events that Big Brother captured.
>What I want is something like this so I get all events on a single
>report that I could email:
I don't have a ready-to-go solution, but the quickest way is
probably to use the bbvar/hist/allevents logfile as the basis
for your report. (This is the file also used for the "event log"
display on the BB2 page).
Each line is a change in status: Hostname, testname, event END-time,
event START-time, event duration, new color, old color, severity code.
voodoo.hswn.dk cpu 1122309647 1122197836 111811 re gr 2
voodoo.hswn.dk cpu 1123104922 1122309647 795275 gr re 1
The first line here says that the status went red at Mon Jul 25
18:40:47 2005, after having been freen for 111811 seconds.
The second line says that it recovered and went green again at
Wed Aug 3 23:35:22 2005, after 795275 seconds.
The "severity code" is 2 when it goes critical, 1 when it recovers.
(-1 means it's a new status).
If you need the detailed status of what happened, you can get the
historical log file from the timestamp of the event start. E.g. the
historical log for the first event is in the file
histlogs/voodoo_hswn_dk/cpu/Mon_Jul_25_18:40:47_2005
Regards,
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index