Need customization in email
Posted: Tue Jul 07, 2015 3:16 pm
Hello Experts,
I need to do some customization in email alerts which I get from Nagios. For example, I dont need hostname and IP address mentioned in the email as it is not secure.
Last 2 octets of IP addresses will do but not the whole IP address.
Email is sent by nagios@hostname. I want some other email id to send an email from Nagios.
Is this possible anyways.
Below is the example content of the email:
***** Nagios *****
Notification Type: PROBLEM
Service: MySQL Replication 5951
Host: localhost
Address: 192.168.0.1
State: CRITICAL
Date/Time: Tue Jul 7 14:50:18 CDT 2015
Additional Info:
CRIT Slave_IO_Running: No Slave_SQL_Running: No Last_Error:
--------------------------------------------------------------------------------------------------------------------------------------
Instead of Address I need just X.X.0.1 or the last 2 octets will also do. and email should be sent by any other email id. Please suggest any ideas.
I need to do some customization in email alerts which I get from Nagios. For example, I dont need hostname and IP address mentioned in the email as it is not secure.
Last 2 octets of IP addresses will do but not the whole IP address.
Email is sent by nagios@hostname. I want some other email id to send an email from Nagios.
Is this possible anyways.
Below is the example content of the email:
***** Nagios *****
Notification Type: PROBLEM
Service: MySQL Replication 5951
Host: localhost
Address: 192.168.0.1
State: CRITICAL
Date/Time: Tue Jul 7 14:50:18 CDT 2015
Additional Info:
CRIT Slave_IO_Running: No Slave_SQL_Running: No Last_Error:
--------------------------------------------------------------------------------------------------------------------------------------
Instead of Address I need just X.X.0.1 or the last 2 octets will also do. and email should be sent by any other email id. Please suggest any ideas.