VMware Cloud Community
jablan_hyperic
Contributor
Contributor

Show More Of Log File In Alert?

Hi folks!

I have a question. I have my Hyperic system running great.

The developers are asking, however, if I can provide MORE of the log file in the alert than the single line of the ERROR that matched.

They are currently using HOBBIT which includes the log file contents from the ERROR forward to the end of the log.

How could I do this, if at all?
Reply
0 Kudos
1 Reply
staceyeschneide
Hot Shot
Hot Shot

HQ only can store a 75 character string (maybe 100, my memory is failing me on that detail), so this will restrict you from doing it via the normal way in HQ.

Couple alternatives:
1. Create a control action script that goes and grabs the file and sends a secondary email with the whole script. You can connect this to the alert as an automated response if you have Enterprise.

2. Modify the email template to include a link that initiates the running of the same script. This is good for open source, but probably bad for running from a blackberry/web phone.

Both by the way, sound like great ideas that our community might like to see as a contribution. 🙂
Reply
0 Kudos