Xymon Mailing List Archive search

eventlog patch

3 messages in this thread

list Eric E *hs Schwimmer · Thu, 28 Jul 2005 16:31:05 -0400 ·
Hi Henrik et al.,

I was fiddling around a little bit with the event log reporting code;  I
added
the ability to search through a specific time interval, and also the
ability
to apply a regular expression against the host, test and/or status
color.

You can fetch it from http://www.nerdvana.org/eric/files/eventlog-patch

Apply it from the base hobbit src direction: patch -p0 < eventlog-patch

It could probably use a little refinement.  Right now if a user wants
to specify a start/end date, they have to use a very strict format:

ccyy/mm/dd at hh:mm:ss

I considering doing dropdowns in the event_form webfile, but that would
either have to have years in the future (2006,2007, etc) or would have
to be updated every year.

If there's another code-savvy person out that that might want to take a
swing at this, have at it :)

-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering
list Henrik Størner · Sat, 6 Aug 2005 17:31:34 +0200 ·
Hi Eric,
quoted from Eric E *hs Schwimmer

On Thu, Jul 28, 2005 at 04:31:05PM -0400, Schwimmer, Eric E *HS wrote:
I was fiddling around a little bit with the event log reporting code;  I
added the ability to search through a specific time interval, and also the
ability to apply a regular expression against the host, test and/or status
color.
Great! That could be a nice feature.
You can fetch it from http://www.nerdvana.org/eric/files/eventlog-patch
Will look it over.
quoted from Eric E *hs Schwimmer
It could probably use a little refinement.  Right now if a user wants
to specify a start/end date, they have to use a very strict format:

ccyy/mm/dd at hh:mm:ss

I considering doing dropdowns in the event_form webfile, but that would
either have to have years in the future (2006,2007, etc) or would have
to be updated every year.
No, it should be possible to do that - e.g. the report form has
drop-downs that are generated dynamically (look at the
~hobbit/web/report_form template - "&REPYEARLIST" is replaced
automatically by a sensible list of years.
quoted from Eric E *hs Schwimmer
If there's another code-savvy person out that that might want to take a
swing at this, have at it :)
Guess I will, then :-)


Henrik
list Henrik Størner · Mon, 8 Aug 2005 18:20:19 +0200 ·
Hi Eric,
quoted from Henrik Størner

On Sat, Aug 06, 2005 at 05:31:34PM +0200, henrik wrote:
Hi Eric,

On Thu, Jul 28, 2005 at 04:31:05PM -0400, Schwimmer, Eric E *HS wrote:
I was fiddling around a little bit with the event log reporting code;  I
added the ability to search through a specific time interval, and also the
ability to apply a regular expression against the host, test and/or status
color.
Great! That could be a nice feature.
You can fetch it from http://www.nerdvana.org/eric/files/eventlog-patch
Will look it over.
I've applied this to my source-tree, with some clean-ups and portability
improvements.

I haven't changed the way the start/finish times are specified - partly
because I'm too lazy, and partly because I think it works fine for
people like me who prefer using the keyboard instead of picking off 6
drop-down boxes with a mouse.


Regards,
Henrik