Monitoring rule label empty after change
Hi,
At the moment I test the 7.5.1 Trail and I have a strange behavior.
The field "Monitoring rule label" are empty after a had change something in the alert settings for the rule.
The Dashboard shows the Rule name as number.
Do anyone know what are the problem?
At the moment I test the 7.5.1 Trail and I have a strange behavior.
The field "Monitoring rule label" are empty after a had change something in the alert settings for the rule.
The Dashboard shows the Rule name as number.
Do anyone know what are the problem?
This discussion has been closed.
Comments
Edit the rule and then save the rule label.
You first need to save the settings prior to changing alert settings or otherwise changes are lost.
But the change was for an exiting rule. I have edit the alert settings for the rule. After I have save the settings for the alert the name is empty. I can reproduce this.
And also the setting for the alert are not saved! If I open the alert settings my changes are not shown.
But the changes are viewed in the Dashboard with no label under Type it showes me my changes what I have add in the alert settings.
You can download the default serverscheck.conf from following url:
http//files.serverscheck.net/debug/serverscheck.conf
The problem appears everytime I change the field "Instructions on alert:" I fillin two rows
e.g.
Service: PROD WEB SERVER (ENTER)
Contact: John Do, Tel:
For me I seems that the ENTER makes the problem. In the conf file the line for these check make also a line break.
As result I have a line that begins with "Contact: John Do ...."
Open the serverscheck.conf and remove the line break.
To explain what I will assign to the field "Instructions on alert:" is e.g.
Type of Notification: PROBLEM
Service: ServiceName
Servername: APPSERV
Serveraddress: xxx.xxx.xxx.xxx
Status: CRITICAL
in separated lines
Thanks
ADMIN note: file received and removed from forum for privacy reasons.
The problem is that I couldn't apply line breaks in the field
"Instructions on alert:"
And in the field "Email body" under "SMTP Alert Settings" I can apply line breaks which are shown in the conf files as "n" but with no affect for the email.
BUT now everytime you save the alert rule the rows between the lines are reduplicate.
e.g.
I fillin
Notification: Warning
Service: HOSTNAME PING Check
Host: HOSTNAME
IP: nnn.nnn.nnn.nnn
after 1. save
Notification: Warning
Service: HOSTNAME PING Check
Host: HOSTNAME
IP: nnn.nnn.nnn.nnn
after 2. save
Notification: Warning
Service: HOSTNAME PING Check
Host: HOSTNAME
IP: nnn.nnn.nnn.nnn
and so on ....
The email that will send shows the note as below
nNotification: Warning nnnnnnnnnnnnnnnnService: HOSTNAME PING Check nnnnnnnnnnnnnnnnHost: HOSTNAMEnnnnnnnnnnnnnnnnIP: nnn.nnn.nnn.nnn