Bug in parsing SNMP host and domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Server |
New
|
Undecided
|
Unassigned |
Bug Description
I'm not sure if this is a server bug or an agent bug...
In 2.1.1 I am seeing the wrong value in the database for NAME in the SNMP table. It looks like the server may be appending the domain of the server to the hostname rather than the domain that the client host should be in.
As an example, here is one of my hosts in the hardware table:
+------
| deviceid | name | workgroup | userdomain | useragent |
+------
| xlimegecko-
+------
and here is the same host from the snmp table:
+------
| name | description | location |
+------
| xlimegecko.
+------
The odd thing is that the location is also wrong, snmp is reporting "Redwood City, CA" for this host:
drich@ocsinvent
SNMPv2-
drich@ocsinvent
SNMPv2-
How is it creating the fqdn for the host in the snmp table? Does that happen on the server or does the client doing the snmp discovery set that data?