OpenNMS – Email Notification

August 25, 2008

Hi All,

From last week I just started to work with OpenNMS. It’s such a wonderful web based network discovery tool. It has lot of features then other NMS products.

I downloaded the version 1.5.91 from OpenNMS download server. Compiled with maven and added with eclipse workbench. Every thing works fine except mail notification. After some RND on this, finally i solved the problem. I used gmail smtp server.

All open NMS configurations related files are found under etc folder of openNMS. To enable mail notification we need to do some changes in the configuration files.

Edit Javamail-configuration.xml to set SMTP information

org.opennms.core.utils.fromAddress=frommailid@gmail.com

org.opennms.core.utils.useJMTA=false

org.opennms.core.utils.transport=smtp

org.opennms.core.utils.mailHost=smtp.gmail.com

org.opennms.core.utils.smtpport=587

org.opennms.core.utils.smtpssl.enable=false

org.opennms.core.utils.authenticate=true

org.opennms.core.utils.authenticateUser=tomailid@gmail.com

org.opennms.core.utils.authenticatePassword=password

org.opennms.core.utils.starttls.enable=true

org.opennms.core.utils.messageContentType=text/html

org.opennms.core.utils.charset=UTF-8

Edit notifd-configuration.xml to enable notification

status=”on”

Example:
notifd-configuration
status=“on”
pages-sent=”SELECT * FROM notifications”
next-notif-id=”SELECT nextval(‘notifynxtid’)”
next-group-id=”SELECT nextval(‘notifygrpid’)”

User mail configuration for notification:

As per your need you can configure the duty schedules.

Example:

Group configuration for notify:

As per your need you can configure the duty schedules.

Example:

When my node is down, i got a email notification. please see the below mail.

Entry Filed under: Common. Tags: , , , , .

3 Comments Add your own

  • 1. subbu  |  May 4, 2009 at 3:26 am

    hi

    i tried out this one but i didnt get mail alert and if i change any thing in configuration.xml file the opennms starting is failed can u help about this

    thanks in advance

    Reply
  • 2. mangala  |  August 11, 2009 at 9:37 am

    please guide to configure email notification for events in opennms

    Reply
    • 3. experiencesharing  |  August 12, 2009 at 3:23 am

      Hi,
      what kind of problem you are getting while configuring?
      R u able to follow by guidelines from my post?

      Reply

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


RSS Experience Sharing

Top Posts

Recent Posts

Meta

Categories