OTRS

recovered_service_handler

Description:

This event Handler updates the Ticket in the OTRS help desk, which is raised on NON-OK state of a service via email alert,when the service comes back(OK-State).

Current Version

1.0

Last Release Date

2012-01-19

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
Suppose a Ticket is created in the OTRS help desk by sending an email alert to the OTRS email address when a service is in a hard NON-OK state. when this service comes back in a OK state,this event handler should be fired to update the same ticket. It takes the name of the service and Host as argument,fetches the latest ticket's number from the OTRS database and send a mail to the OTRS email address with the ticket's number as the subject of the email to update the ticket. Email alert to the OTRS email address on recovery of the service should be suppressed in order to avoid raising a new ticket. A sample service definition should look like the following : define service{ use local-service ; Name of service template to use host_name localhost service_description SSH check_command check_ssh notifications_enabled 0 event_handler recovered_service_handler } An entry for the event handler command should be made in the command.cfg file.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
80,064