Change already added hostname
Posted: Mon Sep 01, 2014 2:38 pm
We have configured nagiosxi and monitoring around 200 hosts with its services. everything is going good. We have configured hosts with its ip address and not used hostnames for configured nodes.
Please let us know how we can change hostname so that we can get notification subject with its hostname instead of host's ip address.
Its coming like:
Sub : PROBLEM Host Alert -x12.x13.x14.x15 is DOWN
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this host.
Notification Type: PROBLEM
Host: x12.x13.x14.x15
State: DOWN
Address: x12.x13.x14.x15
Info: /bin/ping -n -U -w 10 -c 1 localhost
Date/Time: 2013-12-13 03:00:30
WE need like:
Sub : PROBLEM Host Alert -abchostname is DOWN
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this host.
Notification Type: PROBLEM
Host: x12.x13.x14.x15
State: DOWN
Address: x12.x13.x14.x15
Info: /bin/ping -n -U -w 10 -c 1 localhost
Date/Time: 2013-12-13 03:00:30
thanks
Please let us know how we can change hostname so that we can get notification subject with its hostname instead of host's ip address.
Its coming like:
Sub : PROBLEM Host Alert -x12.x13.x14.x15 is DOWN
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this host.
Notification Type: PROBLEM
Host: x12.x13.x14.x15
State: DOWN
Address: x12.x13.x14.x15
Info: /bin/ping -n -U -w 10 -c 1 localhost
Date/Time: 2013-12-13 03:00:30
WE need like:
Sub : PROBLEM Host Alert -abchostname is DOWN
***** Nagios XI Alert *****
** This is an escalated notification ** Nagios has detected a problem with this host.
Notification Type: PROBLEM
Host: x12.x13.x14.x15
State: DOWN
Address: x12.x13.x14.x15
Info: /bin/ping -n -U -w 10 -c 1 localhost
Date/Time: 2013-12-13 03:00:30
thanks