nv-l
[Top] [All Lists]

$NVATTR attribute

To: nv-l@lists.tivoli.com
Subject: $NVATTR attribute
From: Matt Ashfield <mda@UNB.CA>
Date: Tue, 25 May 1999 11:44:45 -0300
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hi all,
 
I'm running some UPS monitoring software which integrates with NetView. I am receiving traps from it and am now trying to write a script which processses the trap. I am trying to send an email containing the description of the trap. I invoke the script when I receive a trap from the UPS, with the following action:
 
/scripts/ups $NVATTR_3
 
I have tried $NVATTR_3  but I just get an output of 3 instead of the description of the trap.
 
/scripts/ups $NVC which should give the community name and $NVT which gives me the timestamp, and these works, so the functionality of the script works fine.
 
Since it's a private enterprise mib, would that affect the functionality of $NVATTR_ or am I simply querying the incorrect value...
 
I'm running NV 5.1.1, on aix 4.3.2...
 
THanks
 
Matt
 
 
 
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web