Resolution
How do I prevent the SNMP service from starting automatically?
goal
How do I keep PSDetect from starting SNMP?
goal
How do I tell PSDetect not to start the SNMP Trap Monitor job PSDTRPMON?
fact
PSDetect 7.5
fact
PSDetect 8.0
fact
NetIQ Security Solutions for iSeries 8.0
fact
VigilEnt Security Agent for iSeries 7.5
cause
The SNMP Trap Monitor job PSDTRPMON automatically starts the SNMP service jobs QTMSNMPRCV and QSNMPSA.
fix
To prevent the SNMP service from starting when subsystem ZPSD is started, use one of the following 2 options:
Option 1
The following method holds the PSDetect Trap Monitor. The Trap Monitor will never be submitted while the monitor is held, even if the PSDetect subsystem is restarted.
- From PSMENU, select options 3 and 4.
- Specify option 7 (=Hold) next to Trap Action Monitor and press Enter.
Option 2
The following method removes the autostart job entry for the Trap Monitor from the PSDetect subsystem description. The PSDetect Trap Monitor job will never be submitted until the autostart job entry is added to the PSDetect subsystem description.
- Access an iSeries command line.
- Type
ENDSBS ZPSD *IMMED
and press Enter. - Type
RMVAJE SBSD(PSDETECT/ZPSD) JOB(STRTRPMON)
and press Enter. - Type
ENDTCPSVR *SNMP
and press Enter. - Type
STRSBS PSDETECT/ZPSD
and press Enter.
If you ever want PSDetect to automatically start the SNMP service when the trap monitor is started, type command ADDAJE SBSD(PSDETECT/ZPSD) JOB(STRTRPMON) JOBD(PSDETECT/PSDSTRTRP)
and press Enter.