Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Wynford Thomas_ Absent Member.
Absent Member.
3400 views

Sending test NNMi Incidents

Jump to solution
Hi all,

I'm using NNMi 8.13 on Win2003.
I would like to know if anyone can tell me how to generate a test incident such as; Interface/Node Up/Down that will appear in the NNMi Incident browser.

Regards, Wynford
0 Likes
1 Solution

Accepted Solutions
Absent Member.. BobCona Absent Member..
Absent Member..

Re: Sending test NNMi Incidents

Jump to solution
Wynford,

http:///jmx-console
Logon to console using system

When the console come up do:
ctrl-f and search for injector

look for mbean=EventInjectorService Link

Click on link

search for void injectNodeDown()

In the ParamValue type in the Name of one of your managed servers

Click Invoke

this should create an Mangement NodeDown Event.


As always points are appreciated.

10 Replies
Sohil_2 Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Hi Thomas,

You can try this

The following command sends an SNMP link down trap request to the node v1_node with the agent address set to agent:

nnmsnmpnotify.ovpl -a .1.3.6.1.6.3.1.1.5.3

You can select different OIDs from the "Device Profiles" option in Configuration workspace in NNMi console
0 Likes
Wynford Thomas_ Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Hi there,

I need the incident to be displayed in the Incident Browser as being originated from "Management Software", rather than as an "SNMP Trap", which will be the case if using the nnmsnmpnotify command.

Regards, Wynford
0 Likes
zarrider Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Wynford,
If you already have a NODE DoWN incident you can open it.
Once open change the "lifecycle state" to "registered".
This will not open a new incident but it will change the displayed status and let you test "Actions" if that is what you need to do.
I don't know if there is any way actually generate a new Incident.
ray
0 Likes
Highlighted
Absent Member.. BobCona Absent Member..
Absent Member..

Re: Sending test NNMi Incidents

Jump to solution
If you know the system password you can logon to the jmx console and inject a management nodedown test.

If your still interested, I can send how to do.
0 Likes
Wynford Thomas_ Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Hi there, yes please; send me details of how to send a Management NodeDown test using the JMX console.
HP told me that there is no tool to send such a test, other than the nnmsnmpnotify.

Regards, Wynford
0 Likes
Absent Member.. BobCona Absent Member..
Absent Member..

Re: Sending test NNMi Incidents

Jump to solution
Wynford,

http:///jmx-console
Logon to console using system

When the console come up do:
ctrl-f and search for injector

look for mbean=EventInjectorService Link

Click on link

search for void injectNodeDown()

In the ParamValue type in the Name of one of your managed servers

Click Invoke

this should create an Mangement NodeDown Event.


As always points are appreciated.

Wynford Thomas_ Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Thanks Bob.
0 Likes
Wynford Thomas_ Absent Member.
Absent Member.

Re: Sending test NNMi Incidents

Jump to solution
Thanks again Bob.
0 Likes
limsn
New Member.

Re: Sending test NNMi Incidents

Jump to solution

HI,

I am testing the NNMi version 2018.11.
I m getting the issue to open up the jmx-console. May I know is there any properties file I need to edit to enble the jmx-console.

 

Thanks,

Ning

0 Likes
Acclaimed Contributor.. asoloperto Acclaimed Contributor..
Acclaimed Contributor..

Re: Sending test NNMi Incidents

Jump to solution

Hello,

 

you can enable the JMX console by editing the file <NnmDataDir>/nmsas/NNM/conf/nms-auth-config.xml. At the end of the file you will find this section:

 

<!--
HP recommends the jmx-console be left disabled unless it is actively being used for troubleshooting.
To enable the jmx-console change the mode to BASIC and run nnmsecurity.ovpl -reloadAuthConfig
to reload this file.
-->
<realm name="jmx-console">
<mode>BASIC</mode>
</realm>

Setting the mode to BASIC and reloading with the above command will enable the JMX console.

 

HTH and best regards

 

Allessandro

 

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.