[hobbit] creating a report of all the notifications sent by hobbit
Hubbard, Greg L
greg.hubbard at eds.com
Tue Feb 6 22:34:19 CET 2007
I think all you need is a Perl script to prompt for the start time, then
have it read the notification log, skipping everything that is older
than the entered time. You will have to parse each notification entry
for the notification time, convert it to an internal format, and then
compare to the time you get from the form.
You might be able to do it in shell, but I am not sure what could be
used to convert times into something that can be compared.
GLH
-----Original Message-----
From: Tom Georgoulias [mailto:tomg at mcclatchyinteractive.com]
Sent: Tuesday, February 06, 2007 2:03 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] creating a report of all the notifications sent by
hobbit
Hubbard, Greg L wrote:
> I bet you could write one in short order by using one of the existing
> CGI's as a framework.
Thought about using bb-eventlog.c, but I don't know much about C
programming. I'll try and give it a shot anyway--can't hurt.
--
Tom Georgoulias
Systems Engineer
McClatchy Interactive
tomg at mcclatchyinteractive.com
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list