WatchDog (IP WatchDog) | NETIO products: Smart power sockets controlled over LAN and WiFi
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 notion of “IP WatchDog” refers to the method of detecting if an IP device works correctly. IP devices are 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 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 miles (or hours) to the site just to flip the power switch off and on. With 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 LAN / WiFi network products, IP 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.

Each output has its own IP Watchdog function (one IP address for each output).


Note: 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.


In the context of NETIO products

NETIO 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.
  • The NETIO IP WatchDog implementation can deactivate itself after several restarts. If the restart didn’t help and the target is still unreachable (the Internet connection was not re-established), it may be pointless to restart the connected device over and over again.


Devices overview

  • NETIO PowerPDU 4C   (function Watchdog,  Lua skripts)
  • PowerBOX 3Px  - IP Watchdog function not supported.
  • PowerBOX 4Kx  - IP Watchdog function not supported.
  • PowerCable xxx 101x - IP Watchdog function not supported.
  • PowerDIN 4PZ  - IP Watchdog function not supported.
  • PowerPDU 4PS - IP Watchdog function not supported.
  • PowerPDU 8QS - IP Watchdog function not supported.
  • NETIO 4   (function Watchdog,  Lua skripts) - EOL product
  • NETIO 4All   (function Watchdog,  Lua skripts) - EOL product


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