To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] status change problem?? |
From: | Leslie Clark <lclark@us.ibm.com> |
Date: | Thu, 15 Sep 2005 07:03:03 -0400 |
Delivery-date: | Thu, 15 Sep 2005 12:04:02 +0100 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
In-reply-to: | <20050915104007.68924.qmail@web54401.mail.yahoo.com> |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
Have you tried coding it exactly as it is in the example in the Programmer's Reference for Netview for Windows \usr\ov\bin\nvsnmptrap %1 ^
Hi Leslie, The nvsnmptrap command used is c:\usr\ov\bin\nvsnmptrap test1 .1.3.6.1.4.1.2.6.3.1 test1 6 12345 0 .1.3.6.1.4.1.2.6.3.1.1.2.0 integer 14 .1.3.6.1.4.1.2.6.3.1.1.3.0 octetString "test2" .1.3.6.1.4.1.2.6.3.1.1.4.0 octetString " Results Status trap sent" .1.3.6.1.4.1.2.6.3.1.1.5.0 octetString "Critical" test1 is the machine which is sending the trap and receiving the trap(host on which NetView is installed and the code is executed) and test2 is the SelectionName of the host for which the status has to be changed. The syntax seems to be correct because when I execute this from the command line it adds this trap to the event browser. Thanks Swapna Leslie Clark <lclark@us.ibm.com> wrote: I've never done this on windows, but from doing it on AIX I know that the syntax of the trap is important. What exactly does your nvsnmptrap command look like? Cordially, Leslie A. Clark IBM Global Services - Systems Mgmt & Networking Detroit
Hi All, I am using Netview 7.1.4 on Windows. How to find out whether the command in the auto action of event configuration has executed or not. The command is .bat which executes a java application which executes the nvsnmptrap for status change. The map is in read-write mode. The event browser is opened from Monitor-->Events--> All Events. The objects I am trying to change the status has the "status source of Symbol". When I execute my application from the command line I see a 58916871 trap in the event browser, but I don't see that from auto action, nor any status change occurs. I referred to couple of mails in t! he archive. Under the Requirements for status change to work it is mentioned as follows... 1. In order for an event, no matter how it is processed, to override status and change the color of an object on the map(s), the Event process (called nvevents) must be running in dynamic workspace in a control desk on the read-write map, and the control desk must have been started by ovw (the map process) initially. This is the default NetView End User Interface configuration. The reason for this is that the APIs for the status override function are in nvevents and ovw, and they can only be used effectively when both are connected to the same read-write map. " The only service running in my machine is nvservice.exe,netmon.exe,trapd.exe..... I don't see ovw! or nvevents in netview installation directory. Are they referring to older version of NetView. Everything else seems to work ok. In the nv.log I see this WARNING message [ovspmd] WARNING: /usr/OV/conf/ovsuf: object manager polld: invalid behavior 120 [ovspmd] C:\usr\ov\bin\ovspmd.exe: /usr/OV/conf/ovsuf: object manager polld: invalid behavior 120 Is this any thing to do with the problem with status change. Is there anything else I need to do. Any help is greatly appreciated. Thanks Swapna __________________________________________________
Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort.
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [nv-l] status change problem??, Swapna Prasad |
---|---|
Next by Date: | RE: [nv-l] Fix pack installation, Gerardo Ruiz Garcia |
Previous by Thread: | Re: [nv-l] status change problem??, Swapna Prasad |
Next by Thread: | Re: [nv-l] status change problem??, James Shanks |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web