UCMDB Tip : In ver 10.10, UD Discovery Job "Host Fingerprint using nmap" does not retain "OS Match"

UD Discovery Job "Host Fingerprint using nmap" does not retain data field "OS Match" as a UCMDB CI. The XML NMAP report is also purged after the job runs. 

Due to this it may not be possible to get the data from nmap named "OS match". 

Is there a way to either retain "OS match" as a CI or to retain the XML NMAP report from discovery job "Host Fingerprint using nmap"?

 

 

 

 

Modify the script nmap_osfingeprint.py to process the nmap result correctly for UCMDB 10.10 CP13 and later versions.

1. Open the script nmap_osfingeprint.py

2. Around the line 163 you can find the following code:

            if os and discoverOsName:
                osClass = os.getChild('osclass')

                                                                
   Change it to:

            if os and discoverOsName:
                osMatch = os.getChild('osmatch')
                osClass = osMatch.getChild('osclass')


3. Re-run the job.


Note : A Change Request QCCR1H92663 ( http://support.openview.hp.com/selfsolve/document/LID/QCCR1H92663 ) is raised to fix this in a future release.

 

 

 

Reference : http://support.openview.hp.com/selfsolve/document/KM00910222

 

 

 

 

Tags: