vCenter

 View Only
  • 1.  Show More Of Log File In Alert?

    Posted Aug 13, 2008 05:22 PM
    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?


  • 2.  RE: Show More Of Log File In Alert?

    Posted Aug 14, 2008 07:11 PM
    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. :)