Menu

#80 Modifying host name does not complete

open
nobody
configure (8)
5
2001-06-17
2001-06-17
Anonymous
No

When Modifying a host name under view/modify:

If you just change the host's name it:

A. Correctly changes the host's enteriy under the
#HOST ENTERIES section of the hosts.cfg, but
B. It does not change the name as it is listed under
the #HOSTGROUP ENTRIES...

this causes neat to display a blank entry, and you are
unable to delete this entry thru the interface
(Because it reports it's unique id as null or "")

I looked thru the cgi, but did not notice anything off-
hand.

Changing host1 to webserver1 changed the following:

# HOST ENTRIES
host[host1]
=host1;192.168.0.1;;check_ping;5;10;24x7;1;1;1;
host[host2]
=host2;192.168.0.2;;check_ping;5;10;24x7;1;1;1;

# HOSTGROUP ENTRIES
hostgroup[Hosts]=unidata;linux-admins;host1,host2

to the following:

# HOST ENTRIES
host[webserver1]
=host1;192.168.0.1;;check_ping;5;10;24x7;1;1;1;
host[host2]
=host2;192.168.0.2;;check_ping;5;10;24x7;1;1;1;

# HOSTGROUP ENTRIES
hostgroup[Hosts]=unidata;linux-admins;host1,host2

notic the lack of change to the listed hostgroup, it
should read:

# HOSTGROUP ENTRIES
hostgroup[Hosts]=unidata;linux-admins;webserver1,host2

probably more detail than you neaded, but i figure
i'll just be really clear and error on the over
describing side

Discussion


Log in to post a comment.

MongoDB Logo MongoDB