Configure E-mail Notifications in Hirschmann's Industrial HiVision Network Management Software

Network Monitoring and Management packages are incredibly useful, but most users can’t have someone sitting in front of the Network Management PC 24/7. For this reason, Hirschmann’s Industrial HiVision allows you to setup E-mail alerts on events of your choosing. Let’s take a look at how to set this up.

Industrial HiVision does not natively support sender e-mail accounts that require TLS/SSL authentication like Gmail, but we can use a third party SSL tunneling client called Stunnel to help with this.

During the installation process you will come across a command prompt window asking for various information; this information is used to create an SSL certificate for Stunnel. DO NOT skip this process or Stunnel will not function properly. Stunnel is configured with a text based configuration file titled “stunnel.conf”. You can find the file in the directory Stunnel is installed to or from selecting Start > All Programs > stunnel > Edit stunnel.conf.

Once you’ve opened the stunnel.conf file in Notepad you’ll be presented with the default configuration. Select all the text in the file and delete it. You will now have a blank text file, copy only the bold text I’ve posted below and paste it into the configuration file. Save the configuration and now you can start the Stunnel runtime. If Stunnel was running then you’ll need to open the GUI and select Configuration > Reload stunnel.conf from the menu bar.

client = yes
[SMTP]
accept = 127.0.0.1:25
connect = smtp.gmail.com:465

The accept command is used to specify the host that will accept the connection and the connect command is used to specify the remote host. If you’re using a connection other than Gmail, you should only have to change the connect server and port.

Now that you have Stunnel configured you may want to run it as a service. First, you’ll need to install Stunnel as a service by going to Start > All Programs > stunnel > Service install. A successful dialog should appear. You can now find Stunnel in your Window’s Services list. Set the service to start Automatically.

Now you configure the e-mail account in IHV under Preferences>Advanced>External Applications


Next configure the Event Action:


Finally you create the alarm and set the action that will occur on the alarm. This alarm was imported from the alarm summary and will send an e-mail when Port 1 link goes down on the 51 switch.

To test, I took the link down and received an e-mail with the following text:
Info from 192.168.3.51 Port 1/Link: Link is Down (9/2/10 6:09:44 PM)

Success! Now we can set up additional alerts for any events we feel warrant attention.

Links of Interest

2 comments :

Kai said...

Hi there! Nice feature!

But is it possible to create an email massage for the case an switch isnt reachable/offline for the hivision? i mean not an specific port , i mean the whole switch!

many thanks

Josh Varghese said...

Yes, that is absolutely possible! Basically anything that appears in the event log can be used to trigger an action. You can also use wildcards to make the event more generic. For example you could import the event of a specific switch going offline, but then configure a wildcard so in the future if ANY switch goes offline an e-mail is triggered. This feature is very customizable and powerful.

Post a Comment

Comments: