The documentation for the SystemMonitoring module is a little... lacking.
I'm investigating using the module to manage emails sent to OTRS from PRTG. My work flow has been to manually merge tickets when alarms come in for the same issue, and I am hoping that the SystemMonitoring module can be used to automate this process.
I'm a bit unclear on what Postmaster:PreFilterModule###1-SystemMonitoring options do, specifically the HostRegExp and NewTicketRegExp. In what way do these interact with the inbound email?
Further, it's not clear from the documentation what the module is actually doing with these tickets. Does it merge them all together based on the HostRegExp?
System Monitoring module
Moderator: crythias
-
- Administrator
- Posts: 4251
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: System Monitoring module
Hi Nick,
the emails are not merged. The purpose of this add-on is to detect if an e-mail is a follow-up to an existing ticket for a host or service problem.
- Roy
the emails are not merged. The purpose of this add-on is to detect if an e-mail is a follow-up to an existing ticket for a host or service problem.
- 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: 12 Jan 2017, 00:40
- Znuny Version: 3.3.11
- Real Name: Nick Bright
- Company: Valnet
Re: System Monitoring module
Is there any way to merge these tickets automatically?
I grow weary of merging hundreds of tickets a day.
I grow weary of merging hundreds of tickets a day.
-
- Administrator
- Posts: 4251
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: System Monitoring module
Nick,
You have to adjust the SysConfig for PostMaster::PreFilterModule###1-SystemMonitoring
- CloseTicketRegExp is a regex to determine the value of a host or service check when the ticket should be closed (Service OK, Host UP)
- FromAddressRegExp is the e-mail PRTG is using as the sender address
- HostRegExp regex to grep the affected hostname from the email
- NewTicketRegExp is a regex to determine the value of a host or service check when a new ticket should be opened (Service CRITICAL, Host DOWN)
- ServiceRegExp regex to parse the name of the affected service
- StateRegExp regex to parse the value which is checked against CloseTicketRegExp and NewTicketRegExp
Hope this helps. If not show us the (anonymized) e-mails from PRTG
- Roy
You have to adjust the SysConfig for PostMaster::PreFilterModule###1-SystemMonitoring
- CloseTicketRegExp is a regex to determine the value of a host or service check when the ticket should be closed (Service OK, Host UP)
- FromAddressRegExp is the e-mail PRTG is using as the sender address
- HostRegExp regex to grep the affected hostname from the email
- NewTicketRegExp is a regex to determine the value of a host or service check when a new ticket should be opened (Service CRITICAL, Host DOWN)
- ServiceRegExp regex to parse the name of the affected service
- StateRegExp regex to parse the value which is checked against CloseTicketRegExp and NewTicketRegExp
Hope this helps. If not show us the (anonymized) e-mails from PRTG
- 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 ?