PDA

View Full Version : Auto registration issue in 1.9.5


ataylo13
15-08-2011, 19:36
I created an auto registration action for new hosts. In my production environment (1.8.3), everything works as expected. in 1.9.5 I am getting a blank host name. When I look at latest data, host lists, etc. there is a line for the host, but the name is empty. Since nothing is in the name column the only way to access the host from the website is by putting the hostid in the url.

When I edit the host, the only thing I noticed was that the visible name was blank. If I enter the hostname by hand the host is displayed properly throughout the site.

I am using the following operations in the action:

Add host
Add to host groups: Linux servers
Link to templates: Template_Linux

I am also seeing a similar issue with the item discovery. Everything seems to be discovered properly, but all their names are blank. The graphs have data though.

I am sure more information is needed to help track the issue down, but not sure what information is needed.

Let me know. I can post screen shots if needed.

zalex_ua
17-08-2011, 16:21
I can't reproduce described issue in the Zabbix 1.9.6 rev. 20875.
Both fields (host, name) in the table 'hosts' filled by the proper values.
"Host name" in the GUI has proper value.
"Visible name" in the GUI is empty as it should be !

The same with the items - all fine.

And all this tests are successful with the action with the type "Discovery"

ataylo13, maybe something wrong with you DB schema, or maybe this issue already fixed.

ataylo13
17-08-2011, 16:27
OK. I will download the lastest code, and give a shot again.

ataylo13
17-08-2011, 17:03
Zalex_ua thanks for checking. I grabbed the nightly build and the auto registration is working as expected.