I am developing a plugin on
Tivoli Netview 7.1.3 for AIX and Solaris. The purpose of the plugin is to show
all the traps messages received from the devices managed by the plugin in the
Event Browser.
For this purpose I have made
an application which should run when the traps are received.
Entries have been made in
the trapd.conf for these traps. The command in the “event modify”
window of the traps contains the entries as:
/usr/OV/bin/nvsniffer –c
/usr/OV/conf/xyz.conf -n $A –t 1
–T 30 –m
–s xyz.conf is the
configuration file that contains the entry for my application.
$A is the selection name of
the device that sends a trap.
Now when I run this command
from the console window, I am able to get the traps reflected in the event
browser. But this command does not executes automatically for a trap, when set
in the “modify event” for a trap in the “event
configuration”.
The ovactiond.log contains
some entries like:
03/28/06 05:57:28 AM Command
/usr/OV/bin/nvsniffer -c /usr/OV/conf/xrxsniffer.conf -n 13.205.105.98 -t 1 -T
30 -m -s returned standard output data:
WARNING: launched task
'/usr/OV/bin/xrx_prnStatus.exe' on node '13.205.105.98' returned value (9) out
of range; assuming FAILURE.
03/28/06 05:57:28 AM Command
/usr/OV/bin/nvsniffer -c /usr/OV/conf/xrxsniffer.conf -n 13.205.105.98 -t 1 -T
30 -m -s returned standard error data:
ps: illegal option -- f
usage: ps [ -aceglnrSuUvwx ]
[ -t term ] [ num ]
03/28/06 05:57:39 AM Command
/usr/OV/bin/nvsniffer -c /usr/OV/conf/xrxsniffer.conf -n 13.205.105.98 -t 1 -T
30 -m -s returned standard output data:
WARNING: launched task
'/usr/OV/bin/xrx_prnStatus.exe' on node '13.205.105.98' returned value (9) out
of range; assuming FAILURE.
03/28/06 05:57:39 AM Command
/usr/OV/bin/nvsniffer -c /usr/OV/conf/xrxsniffer.conf -n 13.205.105.98 -t 1 -T
30 -m -s returned standard error data:
ps: illegal option -- f
usage: ps [ -aceglnrSuUvwx ]
[ -t term ] [ num ]
Please help me on this.
Thanks & Regards
Arvind Chaudhary