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)
|