Customization in additional information
Posted: Fri Aug 14, 2015 9:27 am
Hello Sir,
I have configured my notification email so that I should not receive full IP address in the email.
Below is the email for alerts how I get for check_http looking for the string -s success
suppose my httpd address is
http://192.168.0.100:8080/test/check.jsp
-------------------------------------------------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service: Check Connection
Host: App1
Address: 0.100
State: CRITICAL
Date/Time: Fri Aug 14 14:14:15 UTC 2015
Additional Info:
connect to address 192.168.0.100 and port 8080: Connection refused
------------------------------------------------------------------------------------------------
I have used cut command so that in Address section it will not show the Full IP address
Now the problem is that, In additional info section the IP address is shown when I am getting the alerts. I want this to be same as it is looking in address.
Is there any way that wherever it uses IP address It should give alert with IP address with last 2 bytes.
Please help!!!
I have configured my notification email so that I should not receive full IP address in the email.
Below is the email for alerts how I get for check_http looking for the string -s success
suppose my httpd address is
http://192.168.0.100:8080/test/check.jsp
-------------------------------------------------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service: Check Connection
Host: App1
Address: 0.100
State: CRITICAL
Date/Time: Fri Aug 14 14:14:15 UTC 2015
Additional Info:
connect to address 192.168.0.100 and port 8080: Connection refused
------------------------------------------------------------------------------------------------
I have used cut command so that in Address section it will not show the Full IP address
Now the problem is that, In additional info section the IP address is shown when I am getting the alerts. I want this to be same as it is looking in address.
Is there any way that wherever it uses IP address It should give alert with IP address with last 2 bytes.
Please help!!!