Hello List,

I have a problem with System Monitoring in OTRS 3.1.11 and multiple sources of 
alarms. The one source is an Icinga instance and this is working as expected. 
The other instance is the Hetzner system monitoring available for all root 
servers, that sends a little bit other notifications like Icinga/Nagios. Here 
is an example of a notification:
----
Subject: Notification for 5.9.55.176 
(irgendwas.bacanol.de<http://irgendwas.bacanol.de>) -> smtp:OK

Body:
Notification for 5.9.55.176 (irgendwas.bacanol.de<http://irgendwas.bacanol.de>):

==> SMTP <==
State is now:   OK       (17:19h 2012.12.13)
State before:   ERROR    (was 14 minutes)
Service params: port=25
Service uptime: 99.96%
Check output:
  >  smtp connection works
----
My regex is like the following:

FromAddressRegExp: 
alarmingaddr...@bacanol.de<mailto:alarmingaddr...@bacanol.de>|supp...@hetzner.de<mailto:supp...@hetzner.de>
HostRegExp: \s*Host:\s+(.*)\s*|^Notification.*\((.*)\)
ServiceRegExp: \s*Service:\s+(.*)\s*|\s*==>\s+(.*)<==\s*
StateRegExp: \s*State:\s+(\S+)

----

Do you have any idea why the system claims that "SystemMonitoring Mail: 
SystemMonitoring: Could not find host address and/or state in mail => Ignoring"?

I tried to test my regex with external sites and perl support, but OTRS seems 
to treat this maybe different?

Thank you and best regards,

Nico
---------------------------------------------------------------------
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

Reply via email to