System monitoring CI link

Moderator: crythias

Post Reply
pumaboy
Znuny newbie
Posts: 4
Joined: 03 Mar 2015, 20:46
Znuny Version: 3.3.12
Real Name: javi

System monitoring CI link

Post by pumaboy »

Hi all,

I am using otrs for more than a year and I normally solved all the problems but I don't see more information about this module, the information of my otrs server:

Over windows 2008 r2
OTRS 3.3.12 (just upgraded from 3.3.3)
ITSM, faq, system moniroting... installed

SystemMonitoring -> Core::ConfigItem
SystemMonitoring::SetIncidentState YES
SystemMonitoring::LinkTicketWithCI YES

SystemMonitoring -> Core::PostMaster
PostMaster::PreFilterModule###1-SystemMonitoring
HostRegExp \s*Host:\s+(.*)\s* (seems to work fine because if I change it don't assign the subsequent nagios notifications to the same ticket)

In the log I see "[date] [Error] [Kernel::System::PostMaster::Filter::SystemMonitoring::_SetincidenState] [532] Could not find any CI with the name 'test'."

When I do a search I can found the CI without problem.

Anyone can bring me any hint, thank you
tzarot
Znuny newbie
Posts: 13
Joined: 20 Oct 2014, 20:08
Znuny Version: 3.3.9
Real Name: Themis Zarotiadis

Re: System monitoring CI link

Post by tzarot »

I had the same problem. Just change the regex for the Host to:

\s*Host:\s+(\S*)\s*

This will do the trick. My settings are attached.
otrs_sysmon.png
You do not have the required permissions to view the files attached to this post.
pumaboy
Znuny newbie
Posts: 4
Joined: 03 Mar 2015, 20:46
Znuny Version: 3.3.12
Real Name: javi

Re: System monitoring CI link

Post by pumaboy »

tzarot wrote:I had the same problem. Just change the regex for the Host to:

\s*Host:\s+(\S*)\s*

This will do the trick. My settings are attached.
otrs_sysmon.png
Thanks a lot, it seems to works perfectly!

I was trying other combinations but without luck.
pumaboy
Znuny newbie
Posts: 4
Joined: 03 Mar 2015, 20:46
Znuny Version: 3.3.12
Real Name: javi

Re: System monitoring CI link

Post by pumaboy »

Other more question about this link, when I try to work with the ticket and fix the problem how can I do to change the state of the CI other time to normal automatically?

I was working with the tickets only and now with the ITSM module I'm a little lost.
catharn
Znuny newbie
Posts: 32
Joined: 05 Feb 2015, 13:19
Znuny Version: 4.0.x

Re: System monitoring CI link

Post by catharn »

I had the same problem and tested the solution of tzarot and it is working ;)!

I'm on OTRS 4.0.6.

Thanks for sharing that solution :)

Have a good day :)
Post Reply