Testing the OpenNMS installation

Last Updated : Sep 24, 2018 |
Prolog information
You can manually generate alarms or traps to test OpenNMS installation on the Avaya Breeze® platform using the CLI interface.
  1. Log in to the Avaya Breeze® platform CLI interface and obtain root access.
  2. Run the presAlarmTest.sh script to generate alarms for testing.
    • Use the –l option to list all available alarms.
    • Use the –r option to raise an alarm.
    • Use the –c option to clear an alarm.
    ADDITIONAL INFORMATION: # cd /opt/Avaya/snap_in/ps/bin/
    # ./presAlarmTest.sh

    Test Tool for raising/clearing all Presence Services alarms.
    Usage: presAlarmTest -l|-r|-c
      Options: -l list all available alarms
               -r [alarm-event-code], raise a given alarm or leave alarm-event-code blank to raise all alarms
               -c [alarm-event-code], clear a given alarm or leave alarm-event-code blank to clear all alarms
               -h Prints this help

    # ./presAlarmTest.sh -l
    Available alarms:
      MESSAGE_ARCHIVE_UPLOAD_FAILURE_ALARM_CODE_MAJOR       IMArc_01
      MESSAGE_ARCHIVE_UPLOAD_FAILURE_ALARM_CODE_CRITICAL    IMArc_02
      GEO_REMOTE_DATACENTER_FAILURE_ALARM_CODE_CRITICAL     GR_01
      GEO_CONFIG_ALARM_CODE_MAJOR   GR_02
      HEALTH_MONITOR_CLUSTER_ALARM_MAJOR    HLTH_01
      HEALTH_MONITOR_SERVER_ALARM_MAJOR     HLTH_02
      HEALTH_MONITOR_CLUSTER_ALARM_CRITICAL HLTH_03

    # ./presAlarmTest.sh -r IMArc_01

    # ./presAlarmTest.sh -c IMArc_01