Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 10 of 10

Thread: Erro checking the event in

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    163

    Default Erro checking the event in

    I want to check regulary for errors in the event in file and then email any findings.

    Is there a way to do this already available with the default system? In the event registartion it offers a field to call an application on error, but it does not appear to allow any parameters to be passed?

    If there is not the functionality I will just schedule something to query the file and call macro.mail, but I would have thought there must have been something for error checking?

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    You can add a sequence 2 to the event.

    The condition to run should be set to

    Code:
    evstatus in $axces="error"
    then You can generate en email that way.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  3. #3
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Here is an example
    Attached Images
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    163

    Default

    OK, so am i right thinking that I would have my pmo in and out event on sequence 1 and then add a pmo sequence 2 input event that could call macro.mail on errror? or do I also need an output event for the macro.mail event?

  5. #5
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    I don't know if You can call a macro from the event but try and let us know the result.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  6. #6
    Senior Member
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    163

    Default

    it doesnt appear to let you call macro.mail, suppose thats too simple!

    however I have followed what you have done but am unable to get it working as yet, does your error event call the email map? if so how to you populate the evfields?

  7. #7
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Make a copy of the standard email event and map.

    Change all the fields in the map to variables, just put a $ in front of all the existing fields.

    Then on expressions on the seq 2 event You set all the fields to the appropriate values. This is how I generate an error event. I have not tried with an email but I don't see why this should not work.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  8. #8
    Senior Member
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    163

    Default

    well it all works except to where it reaches the event out file, i have used an event called pmo_error to create the email, but when it reaches the event out it will not send. If however I change the evtype in the event out reocord to be email it sends straight away.

    I must have play around a bit longer me thinks.

    I will let you know how I get one.

    Thanks alot for your help though!

  9. #9
    Senior Member
    Join Date
    Apr 2002
    Location
    United Kingdom
    Posts
    163

    Default

    Well after much messing around I still cant get it to work!

    It wont send an email without the event out been called "email". And i cant use the email event and map because that is already used.

    What event does your error checking use?

  10. #10
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Actually I do not send an email, I am generating an event that is read by a custom SCAuto application.

    Perhaps You can read the event and generate the mail with Connect.It if You have access to that?
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts