Page tree

Using PSL for sending SNMP traps allows you to control the following events:

  • Under what circumstances SNMP traps are sent
  • The format the SNMP trap uses
  • Destination of the SNMP trap

Note

BMC recommends using a PSL Notification command in the event catalog rather than a recovery action, because it can be done generically for all parameters rather than adding a recovery action to each one.

This section tells you how you can use PSL to control how the PATROL SNMP Master Agent and the PATROL Agent interact with SNMP.

Overview of PSL functions for SNMP

The primary groups of PSL functions for SNMP are as follows:

  • Listening for traps
  • Sending traps
  • Starting and stopping the SNMP subagent
  • Getting and setting Management Information Base (MIB) variables
  • Changing the registered SNMP manager list
  • Debugging

PSL functions allow you to manage a number of processes, including starting and stopping the PATROL SNMP subagent and changing the list of registered SNMP managers.

Some of these PSL functions are briefly described in this section. Refer to the PATROL Script Language Reference Manual Volume 2 — PSL Functions for detailed information about all PSL functions for SNMP.