[otrs] Questions About System Monitoring Module

302 views
Skip to first unread message

Nick Peters

unread,
Jul 26, 2012, 10:17:24 AM7/26/12
to ot...@otrs.org
Good Morning (Or Evening),

Recently I have been tasked with setting up a otrs install as our tier
three ticketing system. We have a monitoring software called Intermapper
that functions similar to nagios. I have been trying to get the
SystemMonitoring module working with the emails that it (Intermapper)
sends out. However I have yet to get it fully functional.

I keep getting:

SystemMonitoring Mail: SystemMonitoring: Could not find host address
and/or state in mail => Ignoring

in the logs.


I have tried removing the Host address regex and using only the State
regex as the emails coming out of Intermapper have the State in the
subject line and not the host address.

The regex I use for the states is pretty simple: Warning|Alarm|Down|Up|OK

Please note that I also use OK|Up for the CloseTicketRegExp (Which
doesn't seem to work ether).

My question is:

When I remove a line item (like the host address) from the
SystemMonitoring -> Core::PostMaster area does it revert back to
defaults and generate the error above because it can't find the host
address? Or is my regex for the State the one still generating the error?


Thanks for any help in advance,

-Nick Peters
---------------------------------------------------------------------
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

Nils Leideck

unread,
Jul 26, 2012, 12:26:25 PM7/26/12
to User questions and discussions about OTRS.
All details have to be in the Body, the Subject is not considered.

You might change your emails send to OTRS to have a Host and Service and State information.

Note: the Host and Service value is required to find related tickets to Up or Ok messages. The State (and all other values) are case sensitive. The State is stored per Article, not per Ticket.
-- Cheers, Nils

http://webint.cryptonode.de / a Fractal project

Nick Peters

unread,
Jul 27, 2012, 10:54:34 AM7/27/12
to ot...@otrs.org
Nils,

Thank you for your reply, I was under the impression that it would grab
the attributes from subject or body (Subject First then the Body) given
the code in otrs/Kernel/System/PostMaster/Filter/SystemMonitoring.pm

However my issues were caused by a wonky State regex. I was able to
figure out what the proper regex needed to be.

Thanks for your help,


-Nick Peters

Nils Leideck

unread,
Jul 27, 2012, 11:47:58 AM7/27/12
to User questions and discussions about OTRS.
That is new to me :-)

On 27.07.2012, at 16:54, Nick Peters wrote:

> I was under the impression that it would grab the attributes from subject or body (Subject First then the Body) given the code in otrs/Kernel/System/PostMaster/Filter/SystemMonitoring.pm

Reply all
Reply to author
Forward
0 new messages