Hallo,
ich versuche PRTG an das Systemmonitoring anzupassen. Es gelingt mir nicht.
Ich habe folgende Betreffzeile für die Mails an OTRS erstellt :
Z.B:
Status: Fehler Device: server01 name Teil 3 Info: (Simulierter Fehler (Code: PE034)) Service: Disk Free: C:\ (SNMP Plattenplatz)
Nun habe ich das Systemmonitoring mit folgenden Configs AFTER PostMasterFilter angelegt :
HostRegEx : \s*Device:\s.*Info
NewTicketRegExp : Fehler
ServiceRegExp: \s*Service:\s+(.*)\s*
StateRegExp: Status:\s+(\S+)
CloseTicketRegExp: Ok
Laut Regex Tests wird alles erkannt.
HOST = DEVICE: server01 name Teil 3 Info
State : Status: Fehler
Service: Service: Disk Free: C:\ (SNMP Plattenplatz)
Das Log von OTRS sagt aber :
[Notice][Kernel::System::PostMaster::Filter::Systemmonitoring::Run] Systemmonitoring Mail: Systemmonitoring: Could not find host address and/or state in mail => ignoring
Nun fehlt mir die Idee, warum das so ist und wie ich weiter komme.
Habt Ihr noch einen Tipp für mich?
Danke
Hendrik
OTRS Systemmonitoring mit PRTG *solved*
-
- Znuny newbie
- Posts: 65
- Joined: 16 Nov 2015, 12:59
- Znuny Version: 5.02.13
OTRS Systemmonitoring mit PRTG *solved*
Last edited by hschinnenburg on 12 Aug 2016, 08:24, edited 1 time in total.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS Systemmonitoring mit PRTG
Du musst den Devicenamen auch "einfangen"...
HostRegEx : \s*Device:\s(.*)\sInfo
HostRegEx : \s*Device:\s(.*)\sInfo
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 65
- Joined: 16 Nov 2015, 12:59
- Znuny Version: 5.02.13
Re: OTRS Systemmonitoring mit PRTG
SUPEr, das war es schon, die dumme Klammer 
Danke Dir für den Anstoss.
VG
Hendrik

Danke Dir für den Anstoss.
VG
Hendrik