In order to send alerts from WVP to the SNMP receiver, the WVP SNMP component needs to be installed in the OSS space. This component receives messages from notification component of WVP and sends out corresponding SNMP traps to the SNMP receiver.

Please follow the below steps to install the SNMP agent.

1. Unpak the SNMPOSS file present in the Web ViewPoint subvolume to a unique subvolume by running the below command (ex: $VOLUME.SNMPWVP).

UNPAK SNMPOSS,*.*.*, VOL <$system.subvol>, MYID
Following files are extracted
CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
BLDOSS 101 2088 05MAY2016 14:43 255,255 NUNU 14 14
COMPOSS 101 2504 05MAY2016 14:43 255,255 NUNU 14 28
E2716ABC 991 2856241 05MAY2016 14:47 255,255 NUNU 42 42
FOSSPPD 101 2098 05MAY2016 14:43 255,255 NUNU 14 14
OBEYOSS 101 2586 05MAY2016 14:43 255,255 NUNU 14 28
OSSSNMPC 180+ 10514 05MAY2016 14:43 255,255 NUNU 28 14000
OSSSNMPJ 180+ 15535 05MAY2016 14:43 255,255 NUNU 28 14000
SNMP4J24 180+ 473413 05MAY2016 14:45 255,255 NUNU 28 14000
SNMPOSS 0 3043270 09OCT2018 9:05 255,255 NUNU 42 42
STOPOSS 101 2076 05MAY2016 14:43 255,255 NUNU 14 14
STRTOSS 101 2088 05MAY2016 14:43 255,255 NUNU 14 28
TOSSPPD 101 2072 05MAY2016 14:43 255,255 NUNU 14 14

2. Run the below command to extract files from E2716ABC.

SWARCSET E2716ABC, , VOLUME <vol.subvol>, MYID

Following files are extracted

CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
A0CINFO 963 12288 03MAR2016 15:52 101,24 GOGO 16 16
A7CINFO 180 84557 03MAR2016 15:52 101,24 GOGO 14 42
T2716ABC 101 14698 03MAR2016 15:52 101,24 GOGO 14 28
T2716DOC 180 4768256 03MAR2016 15:52 101,24 GOGO 1008 1008
T2716PAX 180 2614784 03MAR2016 15:52 101,24 GOGO 1008 1008

3. Install PAX file, run the command:

$SYSTEM.ZOSSUTL.COPYOSS $VOLUME.SUBVOL.T2716PAX (requires super.super id)

4. Install documents.

$SYSTEM.ZOSSUTL.COPYOSS $VOLUME.SUBVOL.T2716DOC (requires super.super id)

5. Ensure that the OSS file system is accessible and operational.

osh
ls /usr/tandem/javaexth11/lib/tdmext.jar

6. Edit OBEYOSS for the following

WARNING – $ZTN0.#PTUS9ZP: TRUNCATION OCCURRING

  1. Replace /G/VOLUME/SUBVOL/snmp4j24 to the volume & subvolume where snmp4j is present.
  2. Replace /G/VOLUME/SUBVOL to the volume & subvolume where OSSSnmpc file is present.

NOTE: Make sure all the locations are valid in the below files.

OBEYOSS
export _RLD_LIB_PATH=$_RLD_LIB_PATH:/usr/tandem/javaexth11/lib
export JAVA_HOME=/usr/tandem/nssjava/jdk180_h80
export JREHOME=$JAVA_HOME/jre
export CLASSPATH=$CLASSPATH:/usr/tandem/javaexth11/lib/tdmext.jar
export PATH=/usr/tandem/javaexth11/bin:$PATH
echo $PATH

export CLASSPATH=$CLASSPATH:/G/VOLUME/SUBVOL/snmp4j24
cd /G/VOLUME/SUBVOL
export DEBUG_PROG=’run -name=/G/ser2′
run -name=/G/ser2 -cpu=1 /usr/tandem/nssjava/jdk180_h80/bin/java OSSSnmp

7. Edit COMPOSS for the following:

Replace /G/VOLUME/SUBVOL/snmp4j24 to the volume & subvolume where snmp4j is present.

Replace /G/VOLUME/SUBVOL/OSSSnmpj to the volume & subvolume where OSSSnmpj is present.

NOTE: Make sure all the locations are valid in the below files.

export _RLD_LIB_PATH=$_RLD_LIB_PATH:/usr/tandem/javaexth11/lib
export JAVA_HOME=/usr/tandem/nssjava/jdk180_h80
export JREHOME=$JAVA_HOME/jre
export CLASSPATH=$CLASSPATH:/usr/tandem/javaexth11/lib/tdmext.jar
export PATH=/usr/tandem/javaexth11/bin:$PATH

export CLASSPATH=$CLASSPATH:/G/VOLUME/SUBVOL/snmp4j24

/usr/tandem/nssjava/jdk180_h80/bin/javac /G/VOLUME/SUBVOL/OSSSnmpj

8. Obey file STRTOSS using the below command.

OBEY STRTOSS

9. Check status $ser2 to make sure it is running.

STATUS $SER2