Re: [nv-l] status change problem??
2005-09-15 07:04:00
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 ^
.1.3.6.1.4.1.2.6.3 "" 6 58916871 "" ^
.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 "%2" ^
.1.3.6.1.4.1.2.6.3.1.1.4.0 octetstring "Status is" ^
.1.3.6.1.4.1.2.6.3.1.1.5.0 octetstring "%3"
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager
Swapna Prasad <swapna56782004 AT yahoo DOT com>
Sent by: owner-nv-l AT lists.us.ibm DOT com
09/15/2005 06:40 AM
|
To
| nv-l AT lists.us.ibm DOT com
|
cc
|
|
Subject
| Re: [nv-l] status change
problem?? |
|
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 AT us.ibm DOT 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
Swapna Prasad <swapna56782004 AT yahoo DOT com>
Sent by: owner-nv-l AT lists.us.ibm DOT com
09/14/2005 02:51 AM
|
To
| nv-l AT lists.us.ibm DOT com
|
cc
|
|
Subject
| [nv-l] status change problem?? |
|
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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Yahoo! for Good
Click
here to donate to the Hurricane Katrina relief
effort.
|
|
|