I implemented in OTRS 4.0.6 successfully the SystemMonitoring module with a link to the Config Items in the CMDB.
So when a mail from Nagios is coming (for example host : serv2k3 is down), he will look for serv2k3 in the CMDB, find it, and put his incident state to Incident.
You'll say I don't see your request in this post, but here it is.
For some services, i've put an allias in Nagios (So host vserv2k8) can be Main Server 2008. So when the mail is coming from nagios, the host is set to Main Server 2008 but SystemMonitoring link with CI is looking only for Main, instead of Main Server 2008.
I've tested a lot of regexp for the host, but not the one (that i'm looking for) that work...
I'm using this HostRegExp for now : \s*Host:\s+(\S*)\s*
I've put you the configuration of my PostMaster PreFilterMoule from SystemMonitoring.
I tested the same reg exp as Service, but in this case, he was looking for the name of the host, but with a blank at the end, so like this : 'win2k3 ' instead of 'win2k3'
Thanks in advance for your help
