Re: [otrs] SystemMonitoring plugin with multiple nagios services

Hi Lars Exactly. The SystemMonitoring Postmaster Filter is (afaik) executed before any other postmaster filter. If you set the FromAddressRegExp with the names of your Nagios servers, the package will be executed and the values are parsed. After that you have to define some "normal" postMaster filters like: Match Header nagios@server1.com (and other header options you like) set: X-OTRS-Service, X-OTRS-Queue etc. With this, you can define on which Nagios server, which host or service is dropping a ticket in which queue with which priority and all oter stuff you need. It is in fact a very satisfying solution! regards, Bruno -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Jose Manuel Ferrer Mosteiro Sent: Wednesday, June 25, 2008 11:46 AM To: User questions and discussions about OTRS.org Subject: Re: [otrs] SystemMonitoring plugin with multiple nagios services You mean that the value of FromAddressRegExp is something like "nagios\@server1\.com|nagios\@server2\. org". Then create filters to send tickets to the queues. That's right? Klaus Bruno escribió:
Hi Lars
it does it by design. If you look at the config options in SystemMonitoring (Core::PostMaster) then you will see that the Key CloseTicketRegExp is (hopefuly) set to OK|UP. These messages are sent by Nagios if the problem is solved.
Perhaps you dont have modified FromAddressRegExp yet to identifiy your Nagios server?
regards, Bruno
-----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Lars Jørgensen Sent: Tuesday, June 24, 2008 3:19 PM To: 'User questions and discussions about OTRS.org' Subject: Re: [otrs] SystemMonitoring plugin with multiple nagios services
hi Klaus,
I have three nagios servers which genereates tickets in different queues based on the From and Body of the messages and set X-OTRS-Queue and X-OTRS-CustomerNo
Have you found a way to close tickets when Nagios sends recovery notifications?
-- Lars _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? =tp://www.otrs.com/ _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? =tp://www.otrs.com/
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? =http://www.otrs.com/
participants (1)
-
Klaus Bruno