I have a nagios / icinga and otrs system.
Versions:
icinga 1.7.2
otrs 3.1.10
SystemMonitoring 2.3.3 (In a centos 6.3 vmware testenvironment)
So far, i get problems from icinga into otrs, without a lot of trouble; also i get an acknowledgement if i lock a ticket from otrs in icinga.
In this scenario, i have 3 problems left:
- The regexp for the services gives problems with acknowledgements from otrs:
The service "DNS" is acknowledged, but "Total Processes" isn't, because of the space in the service name; my regexp was \s*Service:\s+([A-Za-z0-9]*), but that doesn't detect the space, and tries to acknowledge service "Total", which doesn't exist; Adding a space in the regexp : \s*Service:\s+([A-Za-z0-9\s]*) also gets the \n in the acknowledgement, and the service "Total Processes\n" doesn't exist either. How can i change the regexp to just find spaces and characters, but not other control characters?
- The acknowledgement is sent on ticket lock; is it possible to sent an acknowledgement the moment the ticket is made (by the emailfilters)
- When a ticket is opened, i would like to see in the "ticket information" the hostname and service name... But i haven't the sligthest idea how i do that....
Hans