CentOS 7.x Configure OpenNMS

From Notes_Wiki

Home > CentOS > CentOS 7.x > Monitoring > OpenNMS > CentOS 7.x Configure OpenNMS

Enable notifications

  1. For enable notifications on OpenNMS
    Go to Dashboard -> admin -> Configure OpenNMS
    Select on on Notification Status
    Click Update



Create Users and groups

  1. For Creating users and groups in OpenNMS
    Go to Dashboard -> admin -> Configure OpenNMS -> Select Users,Groups and On-call Roles
    Select Configure Users
    Select Add New User. Enter required details
    User ID
    Password
    Confirm Password
    On Next Screen Enter
    Full name
    Email ID
    Select On this many Schedules



Configure Destination Path

  1. The default destination path is not working for some reason. Create new destination path for sending event notifications to users/groups
    Go to Dashboard -> admin -> Configure OpenNMS -> In event management section
    Select configure Notifications
    Select Configure Destination path
    Under create a new destination path -> Select New Path and provide required details
    Name - NewList
    Initial delay - 1s
    Initial target - Click Edit
    Select Users,Groups to receive notifications
    Click Next -> Select Java Mail -> Finish



Change destination Path

  1. In all existing notifications, Please change destination path with newly created one
    Go to Dashboard -> admin -> Configure OpenNMS -> In event management section
    Select configure Notifications
    Select Configure Event Notifications
    Select exisitnf Notification -> Click Next -> Click Skip results validation
    Select new destination path in Choose A path - NewList
    Finish



Configure Event Notifications

  1. For configure event notifications
    Go to Dashboard -> admin -> Configure OpenNMS -> In event management section
    Select configure Notifications
    Select Configure Event Notifications
    Select Add New Event notification
    Select an event from large list -> Click Next
    Enter Current Rule IPADDR IPLIKE *.*.*.* and Select services -> Click on Validate rule results -> Click next
    Name - Server Down
    Select newly created destination path New List
    Enter Some text message #Minimum single special value required
    Click Finish



Add node to OpenNMS

  1. For adding node to OpenNMS
    Go to Dashboard -> admin -> Quick-Add Node
  2. on Basic Attributes (required)
    Requisition -> Test #Create requisition for first time
    Ip Address -> 192.168.1.X
    Node Label -> LinuxServer1
  3. SNMP Parameters (optional)
    Version - v2c
    Community String - Public
  4. Select provision for finish



Create Notifications based on events

  1. If you want particular event as a notification
    Go to Dashboard -> Info -> Nodes
    Select Node LinuxServer1
    Select view events
    Select Edit notifications for event on particulat event -> Click Next
    Select Create a new notification
    Select Validate rule results
    Select Next
    Name - Server Down
    Select newly created destination path New List
    Enter Some text message #Minimum single special value required
    Click Finish


Steps contributed by Pavan Ponamala


Home > CentOS > CentOS 7.x > Monitoring > OpenNMS > CentOS 7.x Configure OpenNMS