HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

HP SIM discovery using hosts file does not seem to work as expected all the time

 
rijsbergen
Frequent Advisor

HP SIM discovery using hosts file does not seem to work as expected all the time

We are using HP SIM V7.2 on Windows 2K8 R2.

I did read the user's guide and i think i implemented it properly, but that's this post for too, double check.

 

We are monitornig many systems for different customers.

So we have different discoveries per customer because of credentials and such.

There are relatively many changes to IP adresses so manually keeping the discovery jobs up-to-date is time consuming and error prone. We are implementing a failover setup with 2 SIM servers making it even harder to sync.

 

So using our CMDB containing FQDN's and IP's i use queries to automatically create hosts files per customer and put them in the proper SIM folder: Systems Insight Manager\config\discovery\hosts

So the discovery content is always up-to-date.

 

In the 'options - discovery - manage hosts files' i do see the files: group-customer.txt

The contents of the files is like: IPaddress FQDN shortname e.g. 1.2.3.4 node1.domain.local node1

I even have a few with lines starting with '#' because one of the 3 fields is empty so not a valid record.

 

Many of these files (also some with the '#' lines) and it's corresponding task results are in sync, but there are some where the contents of the file are out of sync (bigtime) with the task results.

 

In the discovery task there is only: $group-customer.txt

If the job is run (manualy started or the normal schedule) the task results do not contain all the nodes that are in the file. Like one of the files has ~60 lines but the task result only contains ~30.

 

Q's:

- am i missing something in my setup?

- besides the task results is there another place to check if the discovery task reads the whole hosts file to see if there is an error reading any of the lines?

- any other suggestions

 

Regards, Marcel

Regards,
Marcel Rijsbergen