OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
-
- Znuny newbie
- Posts: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Hallo zusammen,
Ich bekomme es nicht hin, dass durch das sperren eines Tickets das Event im Icinga acknowledged wird. Ich könnte verzweifeln
- Icinga Ticket wird im OTRS erstellt (FetchMail),
- Aktualisierungen werden dem OTRS Ticket hinzugefügt/angehängt,
- OTRS Tickets werden geschlossen wenn das Icinga Event "Recovered" wurde.
Alles schön, nur beim Sperren eines Tickets bekommt Icinga das nicht mit.
Die URL ist vom ORTS Server (shell) aus ausführbar (curl) und bestätigt den Event.
In den OTRS Systemlogs sehe ich aber über den Event keinen Eintrag. Muss dieser Task noch irgendwo aktiviert werden??
Gern stehe ich für Rückfragen zur Verfügung
Gruß
Mathias
Ich bekomme es nicht hin, dass durch das sperren eines Tickets das Event im Icinga acknowledged wird. Ich könnte verzweifeln
- Icinga Ticket wird im OTRS erstellt (FetchMail),
- Aktualisierungen werden dem OTRS Ticket hinzugefügt/angehängt,
- OTRS Tickets werden geschlossen wenn das Icinga Event "Recovered" wurde.
Alles schön, nur beim Sperren eines Tickets bekommt Icinga das nicht mit.
Die URL ist vom ORTS Server (shell) aus ausführbar (curl) und bestätigt den Event.
In den OTRS Systemlogs sehe ich aber über den Event keinen Eintrag. Muss dieser Task noch irgendwo aktiviert werden??
Gern stehe ich für Rückfragen zur Verfügung
Gruß
Mathias
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Hallo,
dann zeigt doch mal die SysConfig vom SystemMonitoring und sag einmal welche Version von Icinga eingesetzt wird.
- Roy
dann zeigt doch mal die SysConfig vom SystemMonitoring und sag einmal welche Version von Icinga eingesetzt wird.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Das ging ja schnell
Icinga 1.11.6
Icinga 1.11.6
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Hi,
stell doch mal bei Nagios::Acknowledge::Typ was ein, vorzugsweise http.
- Roy
stell doch mal bei Nagios::Acknowledge::Typ was ein, vorzugsweise http.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Das sieht schon viel besser aus!
Allerdings sehe ich im Icinga noch nichts. In welchen Logs kann ich noch nachschauen??
Allerdings sehe ich im Icinga noch nichts. In welchen Logs kann ich noch nachschauen??
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Hi,
zuerst einmal im Apache Log auf dem Icinga Sercver ob der Request überhaupt ankommt.
- Roy
zuerst einmal im Apache Log auf dem Icinga Sercver ob der Request überhaupt ankommt.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Ja es kommt was auf dem Icinga Server an (apache2.log):
192.168.x.x - otrs [08/Feb/2019:09:35:12 +0100] "GET /cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw-oc-001.dmz.gm.rz%0D&service=hsw-oc-001.dmz.gm.rz&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000016&btnSubmit=Commit HTTP/1.1" 200 5480 "-" "libwww-perl/6.26"
Jetzt ist mir das Problem auch klar. Der host sollte hier ohne domain stehen und der service ist nicht korrekt, hier sollte in diesem Fall "ux_proc_crond" stehen. Wie kann ich das ändern??
Gruß
Mathias
192.168.x.x - otrs [08/Feb/2019:09:35:12 +0100] "GET /cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw-oc-001.dmz.gm.rz%0D&service=hsw-oc-001.dmz.gm.rz&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000016&btnSubmit=Commit HTTP/1.1" 200 5480 "-" "libwww-perl/6.26"
Jetzt ist mir das Problem auch klar. Der host sollte hier ohne domain stehen und der service ist nicht korrekt, hier sollte in diesem Fall "ux_proc_crond" stehen. Wie kann ich das ändern??
Gruß
Mathias
-
- Znuny newbie
- Posts: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Hab noch ein bischen geforscht. Liegt also an diesen Variablen, wie müssten die denn aussehen:
PostMaster::PreFilterModule###1-SystemMonitoring
HostRegExp : erwartete Ausgabe hostname ohne domain (hsw-oc-001)
ServiceRegExp : Servicenamen ux_proc_crond
Vielen Dank schonmal ...
PostMaster::PreFilterModule###1-SystemMonitoring
HostRegExp : erwartete Ausgabe hostname ohne domain (hsw-oc-001)
ServiceRegExp : Servicenamen ux_proc_crond
Vielen Dank schonmal ...
-
- 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:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Zeig doch mal eine Beispielmail und was Du im Moment konfiguriert hast.
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: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Je nachdem, wie ich die zwei Parameter konfiguriert habe, werden folgende URLs generiert:
HostRegExp: \s*Host:\s+([A-Za-z0-9]*)
ServiceRegExp: \s*Service:\s+([A-Za-z0-9]*)
/cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw&service=ux&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000025&btnSubmit=Commit
Hinweis zu oben: Es wird nur der Beginn des hostnamens (hsw) und des Services (ux) ausgegeben
----------------------------------------------------
HostRegExp: \s*Host:\s+(.*)\s*
ServiceRegExp: \s*Service:\s+(.*)\s*
/cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw-oc-001.dmz.gm.rz%0D&service=ux_proc_crond%0D&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000034&btnSubmit=Commit
Hinweis zu oben: Hostnamen mit Domain, sollte ohne Domain ausgegeben werden + Steuerzeichen %0D entfernen, Service ok nur ohne Steuerzeichen %0D
HostRegExp: \s*Host:\s+([A-Za-z0-9]*)
ServiceRegExp: \s*Service:\s+([A-Za-z0-9]*)
/cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw&service=ux&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000025&btnSubmit=Commit
Hinweis zu oben: Es wird nur der Beginn des hostnamens (hsw) und des Services (ux) ausgegeben
----------------------------------------------------
HostRegExp: \s*Host:\s+(.*)\s*
ServiceRegExp: \s*Service:\s+(.*)\s*
/cgi-bin/icinga/cmd.cgi?cmd_typ=34&cmd_mod=2&host=hsw-oc-001.dmz.gm.rz%0D&service=ux_proc_crond%0D&sticky_ack=on&send_notification=on&persistent=on&com_data=2019020863000034&btnSubmit=Commit
Hinweis zu oben: Hostnamen mit Domain, sollte ohne Domain ausgegeben werden + Steuerzeichen %0D entfernen, Service ok nur ohne Steuerzeichen %0D
-
- 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:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Code: Select all
Host:\s+([A-Za-z0-9-]*)
Service:\s+([A-Za-z0-9_]*)
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: 7
- Joined: 07 Feb 2019, 15:00
- Znuny Version: 6.0.8
- Real Name: Mathias Henking
- Company: GRASS-MERKUR GmbH & Co. KG
Re: OTRS:ITSM 6 - Acknowledge im Icinga (SystemMonitoring)
Yeah, vielen Dank! Jetzt funktioniert es.
Gruß
Mathias
Gruß
Mathias