Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
108 views

Hint when a new node is discovered ( node added )

In NNM 7.X there was an event created when a new node was added. 

This seems like feature lost in the webshop version.

I can fetch the seeded nodes from nnm.log, but from my auto-discovery rules, there is "nada" to be found.

In registration tab i can se the node was created, so a DB query could be done, but seem overkill.

The discovery log is missing, and the config looks like. conf/disco/log4j.properties

# Used to control logging in jboss clients for nnmconfigpoll.ovpl
# get the level of the root logger to DEBUG and set its appender
# as an appender named X
log4j.rootLogger = OFF, X

#set the appender named X to be a console appender
log4j.appender.X=org.apache.log4j.ConsoleAppender

#set the layout for the appender X
log4j.appender.X.layout=org.apache.log4j.PatternLayout
log4j.appender.X.layout.conversionPattern=%m%n

 

Does anyone know how to modify this for better logging, or have some other ideas?

 

Br Fredrik

 

Labels (3)
0 Likes
3 Replies
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Hint when a new node is discovered ( node added )

Hello Fredrik,

 

you can use the Inventory table "Nodes (All Attributes)" as there is the column "Created". As you might know you can export tables to CSV/Excel for further analysis.

 

HTH and best regards

 

Allessandro

0 Likes
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: Hint when a new node is discovered ( node added )

Yes, I knew that. I want to make this part of our automation, integrated with OM and OBM and our Case/Ticket system.

So thats a no, no. But a database query with such select could do also.

 

Br Fredrik

0 Likes
Highlighted
Respected Contributor.
Respected Contributor.

Sv: Hint when a new node is discovered ( node added )

How about this API?

https://docs.microfocus.com/itom/Network_Node_Manager_i:2019.11/NnmiWsiApi#Node_Subscription

Node Subscription

NNMi notifies subscribers when new Nodes are created, updated, or deleted.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.