SystemMonitoring not reading emails

Moderator: crythias

Locked
mcollis
Znuny newbie
Posts: 30
Joined: 26 Aug 2011, 17:06
Znuny Version: 3.0.10
Real Name: Martyn Collis
Company: Monmouthshire Building Society

SystemMonitoring not reading emails

Post by mcollis »

I've got a fault with the systemmonitoring system where it has stopped reading the emails.
It has been working fine however, recently it has suddenly stopped reading the emails and thus is not tagging the emails as they come in so does not auto close the created tickets as the resolved notice comes through.

I tried changing the settings over to post postmaster filter however this has made no difference.
currently it is set as pre-postmaster and until now has worked perfectly everytime even with multiple systems emailing it, for some reason it has suddenly stopped reading the emails that are comming from the monitors.

the settings are as follows:
ArticleType: note-report
CloseActionState: closed successfuly
ClosePendingTime: 172800
CloseTicketRegExp: (up|ok|0x010A|6048|6038)
DefaultService: IT ALERT
FreeTextHost: 1
FreeTextService: 2
FreeTextState: 3
FromAddressRegExp: (host1@domain|host2@domain|host13@domain|host4@domain|host5@domain)
HostRegExp: \s*Host:|Name :|Computer:\s+(.*)\s*
Module: Kernel::System::PostMaster::Filter::SystemMonitoring
NewTicketRegExp: (critical|down|0x0109|6054|6035)
SenderType: system
ServiceRegExp: \s*Service:\s+(.*)\s*
StateRegExp: \s*State:|Code:|SNMP Trap:\s+(\S+)


I have considered performaing a rebuild of the otrs configuration settings incase something has gone screwy but i'm not sure if this will help at all.

Thanks in advance all.
Collis
Running: OTRS 3.0.10 (Live) OTRS 3.2.3 (Test)
OS: Windows Server 2003
DB: MySQL
HTTP: Apache
mcollis
Znuny newbie
Posts: 30
Joined: 26 Aug 2011, 17:06
Znuny Version: 3.0.10
Real Name: Martyn Collis
Company: Monmouthshire Building Society

Re: SystemMonitoring not reading emails

Post by mcollis »

Just a quick update,
I ran the rebuild config and delete cache perl scripts and nothing has changed.
an upgrade to the system monitoring application has also made no difference.
Running: OTRS 3.0.10 (Live) OTRS 3.2.3 (Test)
OS: Windows Server 2003
DB: MySQL
HTTP: Apache
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SystemMonitoring not reading emails

Post by jojo »

have a look in your logfile
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mcollis
Znuny newbie
Posts: 30
Joined: 26 Aug 2011, 17:06
Znuny Version: 3.0.10
Real Name: Martyn Collis
Company: Monmouthshire Building Society

Re: SystemMonitoring not reading emails

Post by mcollis »

the error in the log shows:
[Tue Oct 25 11:57:27 2011][Notice][Kernel::System::PostMaster::Filter::SystemMonitoring::Run] SystemMonitoring Mail: SystemMonitoring: Could not find host address and/or state in mail => Ignoring

Unyet the email address that is sending the emails is host1
it's almost as if it's stopped actually reading the email fully.

I also get these errors however as I'm not using the ITSM package i'd expect it to fail on these, unless it looking for these file is causing the errors:
[Tue Oct 25 11:57:27 2011][Error][Kernel::System::PostMaster::Filter::SystemMonitoring::new][47] Module Kernel/System/GeneralCatalog.pm not found!
[Tue Oct 25 11:57:27 2011][Error][Kernel::System::PostMaster::Filter::SystemMonitoring::new][54] Module Kernel/System/ITSMConfigItem.pm not found!
Running: OTRS 3.0.10 (Live) OTRS 3.2.3 (Test)
OS: Windows Server 2003
DB: MySQL
HTTP: Apache
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SystemMonitoring not reading emails

Post by jojo »

Please show the monitoring mail you got....


YOu can switch off the ITSM Part in Sysconfig for this module
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mcollis
Znuny newbie
Posts: 30
Joined: 26 Aug 2011, 17:06
Znuny Version: 3.0.10
Real Name: Martyn Collis
Company: Monmouthshire Building Society

Re: SystemMonitoring not reading emails

Post by mcollis »

jojo wrote:Please show the monitoring mail you got....


YOu can switch off the ITSM Part in Sysconfig for this module
I have switched off the ITSM parts but this has made no difference.
Running: OTRS 3.0.10 (Live) OTRS 3.2.3 (Test)
OS: Windows Server 2003
DB: MySQL
HTTP: Apache
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SystemMonitoring not reading emails

Post by jojo »

Switch off the ITSM Parts will prevent these messages:
[Tue Oct 25 11:57:27 2011][Error][Kernel::System::PostMaster::Filter::SystemMonitoring::new][47] Module Kernel/System/GeneralCatalog.pm not found!
[Tue Oct 25 11:57:27 2011][Error][Kernel::System::PostMaster::Filter::SystemMonitoring::new][54] Module Kernel/System/ITSMConfigItem.pm not found!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked