The WatchDog continuously monitors whether a given process or a part of a system work as they should. If not, the WatchDog restarts the process.
In the intelligent power outlets NETIO there is Watchdog function

The “IP WatchDog” or "Ping WatchDog" term refers to the method of detecting if an IP device works correctly. IP device functionality is usually monitored using ICMP PING replies.  A device is considered to be functioning if it is connected to the network and responds to PING requests. If a reply to a PING request fails to arrive (within a specified time or after a certain number of retries), the IP Watchdog device restarts the device (by disconnecting the power for a short time).

In general, the IP WatchDog function replaces a human who would have to travel several km (or hours) to the site just to flip the power switch off and on. With the "IP WatchDog", the device is power-cycled without human intervention. Often, end users don’t even notice that something was not working.

  • In the context of NETIO products, the ping based Watchdog detects the functioning as well as the network connection. This way, the basic functioning of the device is checked together with the network elements (microwave links, routers, switches) along the route.
  • This function is sometimes referred to as Autoping or Heartbeat / PING Heartbeat or even WatchDog only..
  • Each output of the NETIO device can monitor another device (IP address) independently.
  • We have to say, a PING reply does not guarantee that the tested device is functioning as it should. For example, an IP surveillance camera with a lens or image encoding problem can still reliably respond to PING over the network.


IP WatchDog in the context of NETIO products

NETIO products company is using several different technologies for WatchDog functionality in it's products.

  • WatchDog (PING) functionality based on "Condition" & "Action" (WatchDog & Rules) definition. Supported by all NETIO products except PowerPDU 4C, AN61 described.
  • Power consumption WatchDog functionality based on "Condition" & "Action" (PABs & Rules) definition. Supported by all NETIO products except PowerPDU 4C, AN62 described.
  • IP WatchDog function - Web based single page interface, limitted features, PowerPDU 4C only, no updated planned
  • LUA scripts - LUA script editable in device WEB interface, many features but programming skills recommended, PowerPDU 4C only, AN09 described, no updated planned


NETIO Devices overview


PING WatchDog: "Condition" & "Action" (WatchDog & Rules)

NETIO devices use a system of "Condition" & "Action" which have to be configured separately (in 2 different tabs). To configure even simple IP WatchDog you have to configure 2 tabs:

  • Watchdog (IP address to be monitored)
  • Rules (what to do if defined state happens)

Detailed description and examples on the NETIO Wiki - "Local device scripting".

Application Note AN61: How to configure PING Watchdog function in the NETIO devices (Pinging 1 or 2 different IP adresses).

NETIO WatchDog example NR01


PING WatchDog (PowerPDU 4C): LUA + WatchDog function

Linux based NETIO PowerPDU 4C manage IP Watchdog in different way tnah other NETIO products.
PowerPDU 4C include an integrated IP WatchDog function that can be used to check the availability of another device in the network using the “ping” command (ICMP protocol). If the WatchDog function does not receive a response within a specified time, it power-cycles the socket (Short Off) to reboot the connected device.

  • To detect the failure of a single device, it is sufficient to specify the IP address of this device.
  • To watch a connection to a network (e.g. to verify the functioning of a microwave link), we recommend to monitor PING responses from two different IP addresses. This will prevent WatchDog from restarting an otherwise perfectly working Internet connection over and over if one particular device is down.



IP WatchDog by NETIO PowerPDU 4C (built-in function + 3x Lua extensions)


1) IP WatchDog function in device settings (web administration).

Checks for a response from a single IP address. Can be configured for each output separately.


2) AN09: IP Watchdog 1 of 2PING based failure detection for 1 or 2 devices (Lua script)

The status is considered OK if a reply is received from at least one of the two IP addresses. Can be used to monitor Internet connectivity because a backup address (e.g. Google server should still work.

AN09 demonstrates a Lua script that detects a dropped Internet connection and automatically restarts e.g. a microwave link. The script periodically sends PING (icmp) requests to the 1 or 2 configured IP addresses. When none of these two addresses respond for e.g. 60 seconds, one of the 230V sockets is turned off for 20 seconds (short off – restart).



3) AN24: IP WatchDog 1 to 1device LAN connectivity detection and indication (Lua script)

Detects and indicates the network presence of a device. Suitable e.g. to monitor the status of a network printer in order to switch off certain equipment when the printer is powered off.

AN24 is a Lua script that detects the presence of an IP address in the network and signals the result by switching a selected output on or off. In this way, it is possible for example to switch off certain equipment when a central printer is switched off, or to signal that someone is present in an office (reachable IP address of a notebook or a phone).



4) AN25: IP WatchDog 2 from 10 – list of monitored devices, failure indication by power output (Lua script)

This is a simple function for IT departments; a failure can be signaled by turning on a red light. The light turns on when 1 or more IP addresses specified in a table (10 target addresses) fail to respond for a specified time (or to a specified number of attempts).

Do you need an indication that any out of 10 LAN devices is not working or unavailable? Regardless of whether a cable got loose, WiFi was disconnected or the UPS failed, when one or more of the ten devices fail to respond to PING, the Lua script described in this Application Note lights up a red warning light.




Do you need to write different IP WatchDog conditions in Lua? Contact us for details.


Ask for a price or technical parameters

For device testing use name/password demo/demo