nv-l
[Top] [All Lists]

trapd script processing exception etc.

To: nv-l@lists.tivoli.com
Subject: trapd script processing exception etc.
From: Christo Burger <christob@ABSA.CO.ZA>
Date: Thu, 18 Feb 1999 14:52:30 -0000
Organization: Absa Group
Reply-to: "christob@absa.co.za" <christob@absa.co.za>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
I have a entry in trapd.conf to execute a script when a specific alert is
received:

In the trapd.conf , at the specific trap entry I run the following command:
EXEC /home/root/scripts/netfinTrap $A $7 $8 $1

however when the script executes these variables have not been resolved. (see
entry nvaction.alog )

99/17/02 17:37:52 :     997 :/home/root/scripts/netfinTrap $NVATTR2 $NVATTR7
$NVATTR8 $NVATTR1~99/17/02
17:37:49~1.3.6.1.4.1.2.6.71~6~1~167773608~2171100~public~Warning Alert
DriveF%SpaceUsed: Monitor 'Drive F: % Space Used' has been above or equal to
80% for 1
days.~SFINANCE~05:24:45p~02-17-1999~2~Warning~MonitorB~0~TCPIP::10.0.5.97~5~u~1

The text, that you see refers to $1.

I have also noticed that I get flooded with "authentication error: messages at
config polls, which includes this Netview server. In /usr/tmp/snmpd.log the
messages "EXCEPTIONS: authentication error: invalid community name: admin" are
logged.  snmpd.conf and ovsnmp.conf check out okay with the correct community
strings for these devices.

Note: This was working before and I only discovered this when the users started
to complain.

I am not sure if both problems relate or do we have two separate ones.

Any suggestions.

Netview 5.0
AIX4.2.


Christo Burger
Systems Management
Absa Bank
+27 11 3506480 (work)
+27 11 3506228 (fax)

<Prev in Thread] Current Thread [Next in Thread>
  • trapd script processing exception etc., Christo Burger <=

Archive operated by Skills 1st Ltd

See also: The NetView Web