• Main
  • >
  • Blog
  • >
  • Tutorial
  • >
  • Integrating NetPing into the Monitoring System The Dude by Microtik
Tutorial
10/1/2015

Integrating NetPing into the Monitoring System The Dude by Microtik

The Dude  is a powerful and flexible network monitoring system (NMS), which supports different types of testing availability of services and can request devices via SNMP protocol. There is a possibility to send notifications on events via e-mail, Syslog, as well as configure SMS notification. Unlike a majority of other monitoring systems, The Dude is totally not demanding to hardware resources, simply installed, has an intuitive interface and can be installed at almost any OS.

Let us examine an example of integrating a monitoring system The Dude with a device UniPing server solution v3/SMS

An offered solution allows to watch parameters received from temperature and humidity sensor, which are connected to a device UniPing server solution v3/SMS. A system draws diagrams of temperature and humidity and displays current values at a map of a device in a monitoring system The Dude. If specified margins are exceeded, a corresponding notification will be shown. 

The Dude - графики температуры и влажности от устройства UniPing server solution v3SMS

Program notifications and a system notification, respectively:

The Dude - уведомления программы о превышении температуры от устройства NetPing

The Dude - cистемное уведомление о понижении температуры от устройства NetPing

Requirements

To implement a represented solution, the next equipment will be necessary:

There is a need to perform an initial configuring and setting up a monitoring system The Dude to PC/server. For an additional information go to the official documentation on the product or corresponding resources on the Internet.

If NetPing equipment uses a router with the NAT function and/or Firewall to access the Internet, there is a need to allow incoming packages via an SNMP protocol (UDP/161) to the NetPing device to control it remotely. For an additional information go to the documentation for a router equipment or a network administrator.

If necessary, a NetPing device can be connected to a router via Wi-Fi wireless technology using VAP11N adapter. An adapter is purchased separately. For additional information go to the «VAP11N user guide».

Configuring UniPing server solution v3/SMS

Set a device UniPing server solution v3/SMS into a working condition, plug in temperature and humidity sensor, and connect a device to the Internet network – all according to corresponding sections of  «Firmware description».

An access to a device UniPing server solution v3/SMS via an SNMP protocol in the Internet network can be obtained due to the next parameters according to documentation:

  • IP address/host: dude.netping.ru
  •  порт SNMP: 161
  •  SNMP Community for read: snmpread

An access to connected temperature sensors and a humidity sensor can be obtained via the next SNMP OID respectively:

  • .1.3.6.1.4.1.25728.8800.1.1.2.1
  • .1.3.6.1.4.1.25728.8800.1.1.2.2
  • .1.3.6.1.4.1.25728.8400.3.2.0.1

Configuring NMS The Dude

After setting up and initial configuring NMS The Dude, there is a need to add a new  SNMP profile for further working with a device UniPing server solution v3/SMS. «Settings» -> «SNMP» -> (icon with a read plus)  and fill in the fields as follows and save all settings:

  • Name: netping_snmp
  • Version: 1
  • Port: 161
  • Community: snmpread

The Dude - добавление нового профиля SNMP для подключения устройства UniPing server solution v3SMS

Then there is a need to add sensors, from which an information will be gathered, and diagrams built. If a specified value is exceeded, a notification will be displayed. To add a new sensor there is a need to go to the section «Probes» -> (icon with a red plus) – and enter the next values of the frist temperature sensor «Temp1»:

  • Name: Temp1
  • Type: Function
  • Agent: default
  • Available: "1"
  • Error: if (oid("1.3.6.1.4.1.25728.8800.1.1.2.1") > 30, "Temp Over 30 C","")
  • Value: oid("1.3.6.1.4.1.25728.8800.1.1.2.1")
  • Unit: C

The Dude - добавление нового датчика от устройства UniPing server solution v3SMS

Add the second temperature sensor in the same way:

  • Name: Temp2
  • Type: Function
  • Agent: default
  • Available: "1"
  • Error: if (oid("1.3.6.1.4.1.25728.8800.1.1.2.2") > 30, "Temp Over 30 C","")
  • Value: oid("1.3.6.1.4.1.25728.8800.1.1.2.2")
  • Unit: C

The same for a humidity sensor «Humid1»:

  • Name: Humid1
  • Type: Function
  • Agent: default
  • Available: "1"
  • Error: if (oid(".1.3.6.1.4.1.25728.8400.3.2.0.1") > 70, "Humid Over 70%","")
  • Value: oid(".1.3.6.1.4.1.25728.8400.3.2.0.1")
  • Unit: %

To add a device UniPing server solution v3/SMS go to the section «Devices» -> (icon with a read plus) – and enter the address of a device UniPing server solution v3/SMS published to the Internet into the field «Address», particularly dude.netping.ru and go to the next step «Next»:

The Dude - добавление нового устройства UniPing server solution v3SMS

At the next step, add a previously created temperature sensor:

The Dude - добавление датчика температуры от устройства UniPing server solution v3SMS

Include logging of notifications and events  (if necessary):

The Dude - включение уведомлений и запись событий от датчиков UniPing server solution v3SMS в системный журнал

Repeat the steps to add the rest of sensors.

Go back to device settings again and change an SNMP profile, which is used on default:

 The Dude - смена профиля SNMP по умолчанию

To configure displaying of sensor status directly on the map of devices,  there is a need to click the right button on a device at the map of devices. There is a need to click a right button of a mouse on a device and select «Appearance»:

The Dude - настройка отображения датчиков на карте

Activate the section «Label» and enter the next data:

  • [Device.Name]
  • [Device.ServicesDown]
  • Uptime: [oid("1.3.6.1.2.1.1.3.0")]
  • TEMP1=[oid("1.3.6.1.4.1.25728.8800.1.1.2.1")] C
  • TEMP2=[oid("1.3.6.1.4.1.25728.8800.1.1.2.2")] C
  • HS1=[oid("1.3.6.1.4.1.25728.8400.3.2.0.1")] %

he Dude - настройка отображения датчиков на карте

To add an icon to a device go to the tab «Image» and select a suitable one (or add an own one):

The Dude - настройка отображения иконки устройства на карте

A basic configuring of a monitoring system The Dude from Microtik is now completed.


  • All devices

Main tags


All devices
All NetPing power
NetPing SMS
NetPing mini-UPS
NetPing 2/PWR-220 v1/SMS
UniPing server solution v3/SMS
UniPing server solution v3
NetPing /PWR-220 v3/ETH
NetPing IO v2
NetPing 4/PWR-220 v3/SMS
UniPing v3
Uniping server solution
NetPing 8/PWR-220 v3/SMS
NetPing 2/PWR-220 v2/SMS
NetPing 2/PWR-220 v3/ETH
NP-SM4
Temperature sensor T811, 2m
Temperature 1-wire, (THS), 2m
▼ All tags
New devices
Temperature sensor T811, 2m
Temperature sensor for measuring an ambient air temperature indoors from -40°C to +125°C. Avoid water details...

Price: 19 usd

UniPing server solution v3
A device for a remote monitoring of sensors via the Ethernet/Internet network. It allows to receive details...

Price: 180 usd

Humidity sensor WS-2
A relative humidity sensor for measuring relative humidity in % and a built-in temperature sensor.Plastic details...

Price: 42 usd

-+ usd usd
Subtotal usd

Your Order