NMIS 8.5.2G E-mail Notifications Using Exchange As Relay

In the past few weeks, I started working with NMIS. The application does a great job monitoring all sorts of devices. I decided to use the free version, so support is mainly based on whatever is found on the web or from NMIS’ email group.

It took me a few tries to enable email relay notifications in NMIS, and the few blogs that I found only touched on enabling email notifications using NMIS itself to deliver emails. In my case, I wanted to use my Exchange 2010 server to be the one responsible for delivering emails on behalf of NMIS.

Here’s what you’ll need:
  1. A working NMIS environment
    1. I downloaded the NMIS appliance and got the application to work in an hour.
  2. A working installation of a mail daemon in the linux box where NMIS is running
    1. For my environment I used sendmail, so most of these steps are related to sendmail.
  3. A working installation of Exchange server

Prepare Sendmail To Relay

  1. Logon to the linux server where NMIS is running from
  2. Go to /etc/mail directory
  3. run vi sendmail.cf
    1. You can use any file editor, I just prefer vi
  4. If using vi type: /DSsmtp
    1. /  does a search for string DSsmtp
  5. Once that line is found, then you’ll want to change it to:  DSsmtp.YourDomain.com
  6. Save the file and reload sendmail services

Prepare Exchange Server To Accept Relay

  1. Logon to your hub Exchange server
  2. Follow the next screenshot

Configure Emails, Notifications and Escalations in NMIS

It took me quite a bit of time to understand how notifications and escalations work in NMIS; there are many blogs that do a decent job explaining this topic, so I’m not going to go into details.

First, you have to setup Contacts in NMIS. NMIS creates some default contacts, so you can use one of these or create your own.

Note: Take a look at the field Contact, since I chose one of the default contacts created by NMIS, I’m using Contact1

Second, create your email notifications and escalations to send notifications to your contact.

Once again, I’m using a default notification and escalation. Notice that I’m using the same contact name, Contact1, to send notifications.

There is a catch though. This will send email  for all Level 1 and Level 4 notifications for ALL devices that you have added to NMIS. Prepare yourself for all the spam!

Let this run for a few days, so you learn what each level of notification is. Basically, Level 0 is severity major, Level 1 is a severity warning; this is based on the email notifications I gathered in a week of spamming. I use this to create filtered notifications, read along.

When you add devices to NMIS, hopefully you created groups and added these devices to different groups. Also, when you add devices to NMIS, you have to indicate what type of device is, and these fields will allow you to filter your notifications based on groups, type, etc. Here’s an example.

In this example, I’m receiving text message notifications for routers in my DataCenter group that generate Level 0 and Level 1 events.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: