CentOS 7.x Configure OpenNMS
From Notes_Wiki
<yambe:breadcrumb>CentOS_7.x_OpenNMS|CentOS 7.x OpenNMS</yambe:breadcrumb>
CentOS 7.x Configure OpenNMS
Enable notifications
- For enable notifications on OpenNMS
- Go to Dashboard -> admin -> Configure OpenNMS
- Select on on Notification Status
- Click Update
Create Users and groups
- 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
- 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
- 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
- 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
- For adding node to OpenNMS
- Go to Dashboard -> admin -> Quick-Add Node
- on Basic Attributes (required)
- Requisition -> Test #Create requisition for first time
- Ip Address -> 192.168.1.X
- Node Label -> LinuxServer1
- SNMP Parameters (optional)
- Version - v2c
- Community String - Public
- Select provision for finish
Create Notifications based on events
- 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
<yambe:breadcrumb>CentOS_7.x_OpenNMS|CentOS 7.x OpenNMS</yambe:breadcrumb>