#62 Edit message sent by email notification

open
nobody
4
2005-03-27
2005-03-26
thadius
No

I would like to be able to edit the message that is sent
via email, as I need to cut down the message length and
monitor only specific values.

Discussion

  • Logged In: YES
    user_id=809959

    Do you need to customize the message content (e.g. The E-
    Mail Subject/Body) or do you need more notification rules
    (e.g. send notification only if CPU is more than 70% and free
    memory is less than 50 MB) ?
    Please provide me more details just to be sure I'll give you
    what you need.

     
    • milestone: 331292 -->
    • priority: 5 --> 4
     
  • thadius
    thadius
    2005-03-27

    Logged In: YES
    user_id=1247166

    I was thinking more along the lines of editing the subject and
    body. I'm not sure how you've set it up, but my idea was so
    that you could enter your own text and put the values where
    you want. SO for instance I could do something like "Mail
    server has only %memfree%Mb of free memory left".

     
  • Logged In: YES
    user_id=809959

    I think it will be possible only with plugins provided in version
    3.0, however not in the first release (it's already in Beta
    Version)

     
  • Joao Matos
    Joao Matos
    2005-10-07

    Logged In: YES
    user_id=1100374

    I would like to propose something with the following columns:
    ServerName Level Origin Details, which would show something
    like:

    SERVER1 WARNING MSExchangeMGMT Event: 3

    or

    SERVER1 CRITICAL Mem <10%

    Joao Matos

     
  • Logged In: YES
    user_id=809959

    Actually it is:
    HOSTNAME - CHECKNAME: RESULT

    The process notification engine receive these informations:
    - hostname (e.g. SERVER1)
    - checkname (e.g. Check Event)
    - result (e.g. CRITICAL)
    - result details (e.g. Event Source: MSExchangeMGMT, Event
    ID: 3, Event Date: 2005/10/10 10:00:00, Event Description:
    Ms Exchange....... , Event category: xxxx, Event tipe: Warning)

    The only way to do what you need is to change every plugin
    and add a new variables for every process engine called
    MediumResult (e.g. Mem < 10%, EventSource and Event ID, CPU
    > 80%)

     
  • Logged In: YES
    user_id=809959

    Another solution is to use Custom Notification with a simple
    vbscript that wrap the result details and send an e-mail
    customized for your needings...