16.3 Scripting for SNMP Auditing

The following examples use the Windows Notepad application. Although Notepad does not require logon, you can create an application definition to respond to the execution of almost any application and to elicit additional information, such as machine name, as a SNMP alert.

16.3.1 Prerequisites

  • Identify the IP address of the receiving computer.
  • Ensure the SNMP console application is active.
  1. Close the Personal Management Utility (if open).

  2. Start Notepad.

  3. On the system tray, right-click Confirmation message, and then click Add Application. The Add Application Wizard is displayed. Follow the prompts to enable the application.

  4. On the system tray, double-click Confirmation message to open the Personal Management Utility.

  5. Click Applications.

    Applications pane
  6. Double-click the application description, in this example, Untitled - Notepad.The Application Pane is displayed.

  7. Click the Definition tab. The application definition editor is displayed.

    Application definition editor

    The following example command sends a SNMP alert to the computer running the SNMP console application, advising that Notepad has been activated.

    NOTE:You can set alerts for any event that SecureLogin responds to, including Change Password dialog boxes and error messages.

  8. After the EndDialog command, type the following:

    Run "C:\Program Files\novell\SecureLogin\slsnmp.exe" public <IP address> "Notepad has started"

  9. Click OK to save the command and to close the Personal Management Utility.

  10. Start Notepad. The alert is sent to the SNMP console.

NOTE:For more information about commands and events that you can configure to produce SNMP alerts, see the Novell SecureLogin 6.0 SP1 Application Definition Guide.