Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
hello?
anyone? :)
В сообщении от Monday 14 January 2008 11:30:11 Val Polyakov написал(а):
Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I asked this once in the past, and I seem to remember someone saying that they had one and would post it, but I dont remember if they did or not. Try searching the archives. It should be relatively easy to parse the notifications log. Personally I wish it was a feature of Hobbit to provide a report on pages that were sent out, but thus far I have been getting by using the Event Log Report, which lets you make a report of the number of red alerts (for which you assume a page was sent out), including their duration etc.
Val Polyakov wrote:
hello?
anyone? :)
В сообщении от Monday 14 January 2008 11:30:11 Val Polyakov написал(а):
Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Jan 15, 2008 10:33 AM, Charles Jones <jonescr at cisco.com> wrote:
I asked this once in the past, and I seem to remember someone saying that they had one and would post it, but I dont remember if they did or not. Try searching the archives. It should be relatively easy to parse the notifications log. Personally I wish it was a feature of Hobbit to provide a report on pages that were sent out, but thus far I have been getting by using the Event Log Report, which lets you make a report of the number of red alerts (for which you assume a page was sent out), including their duration etc.
Have you looked at the 4.3.0 beta??
There's a "Notification Report" in the Reports dropdown menu which might do what you want.
Ralph Mitchell
*checks the 4.3.0-0.20070727 snapshot server he has* Well I'll be darned :)
-Charles
Ralph Mitchell wrote:
On Jan 15, 2008 10:33 AM, Charles Jones <jonescr at cisco.com <mailto:jonescr at cisco.com>> wrote:
I asked this once in the past, and I seem to remember someone saying that they had one and would post it, but I dont remember if they did or not. Try searching the archives. It should be relatively easy to parse the notifications log. Personally I wish it was a feature of Hobbit to provide a report on pages that were sent out, but thus far I have been getting by using the Event Log Report, which lets you make a report of the number of red alerts (for which you assume a page was sent out), including their duration etc.Have you looked at the 4.3.0 beta??
http://www.hswn.dk/beta/ <http://www.hswn.dk/beta/>
There's a "Notification Report" in the Reports dropdown menu which might do what you want.
Ralph Mitchell
i can't really use a beta in the production environment :)
В сообщении от Tuesday 15 January 2008 11:43:24 Ralph Mitchell написал(а):
On Jan 15, 2008 10:33 AM, Charles Jones <jonescr at cisco.com> wrote:
I asked this once in the past, and I seem to remember someone saying that they had one and would post it, but I dont remember if they did or not. Try searching the archives. It should be relatively easy to parse the notifications log. Personally I wish it was a feature of Hobbit to provide a report on pages that were sent out, but thus far I have been getting by using the Event Log Report, which lets you make a report of the number of red alerts (for which you assume a page was sent out), including their duration etc.
Have you looked at the 4.3.0 beta??
There's a "Notification Report" in the Reports dropdown menu which might do what you want.
Ralph Mitchell
On Jan 15, 2008 11:26 AM, Val Polyakov <vpolyakov at vmsinfo.com> wrote:
i can't really use a beta in the production environment :)
As Johann Eggers pointed out:
"There is a patch for this in the current all-in-one-patch"
which is here: http://www.hswn.dk/hobbitsw/patches/
Apply to the 4.2.0 original source tree and rebuild.
Ralph Mitchell
I use the Notification Report for viewing this.
It is similar to the eventlog report...
There is a patch for this in the current all-in-one-patch
-Johann
-----Original Message----- From: Charles Jones [mailto:jonescr at cisco.com] Sent: Dienstag, 15. Januar 2008 17:34 To: hobbit at hswn.dk Subject: Re: [hobbit] parsing notifications.log
I asked this once in the past, and I seem to remember someone saying that they had one and would post it, but I dont remember if they did or not. Try searching the archives. It should be relatively easy to parse the notifications log. Personally I wish it was a feature of Hobbit to provide a report on pages that were sent out, but thus far I have been getting by using the Event Log Report, which lets you make a report of the number of red alerts (for which you assume a page was sent out), including their duration etc.
Val Polyakov wrote:
hello?
anyone? :)
В сообщении от Monday 14 January 2008 11:30:11 Val Polyakov написал(а):
Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On mán, 2008-01-14 at 11:30 -0500, Val Polyakov wrote:
Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
Hi Val, thanks for bringing this subject up. It enabled me to rediscover the notification log page in the reports. I had applied the allinone patch, but had not been using the page.
The information in the log seems to indicate how long time passes from alert notification until the alert recovery notification. This is not exactly the alert duration, but it is useful information, when there is doubt about who was alerted and when, ahd who was notified of recovery and when and the event duration as seen from the staff.
As an example of the notification log page in Hobbit, I enclose a page for today.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
В сообщении от Tuesday 15 January 2008 13:21:37 Anna Jonna Armannsdottir написал(а):
On mán, 2008-01-14 at 11:30 -0500, Val Polyakov wrote:
Has anyone made a script that parses hobbit's notifications.log to create a report for the day?
I was thinking something along the lines of a perl script that parses the notifications.log file to create a report that specifies what pages were sent out, how much time passed before the alert recovered, etc
I didn't really want to reinvent the wheel and code the script if someone else has already done so
So.. is there such a script in existence? And if so, can you share it ? :)
Val
Hi Val, thanks for bringing this subject up. It enabled me to rediscover the notification log page in the reports. I had applied the allinone patch, but had not been using the page.
The information in the log seems to indicate how long time passes from alert notification until the alert recovery notification. This is not exactly the alert duration, but it is useful information, when there is doubt about who was alerted and when, ahd who was notified of recovery and when and the event duration as seen from the staff.
As an example of the notification log page in Hobbit, I enclose a page for today.
thank you :)
i'll apply the patch
participants (5)
-
annaj@hi.is
-
Johann.Eggers@teleatlas.com
-
jonescr@cisco.com
-
ralphmitchell@gmail.com
-
vpolyakov@vmsinfo.com