Apa maksud dari ip watchdog

Written By Marduk Iting Wednesday, 13 February 2019 Edit

MikroTik adalah produsen peralatan jaringan Latvia. Perusahaan mengembangkan dan menjual peralatan jaringan kabel dan nirkabel, khususnya router, sakelar jaringan (sakelar), titik akses, serta sistem pengoperasian perangkat lunak dan perangkat lunak tambahan. Perusahaan ini didirikan pada tahun 1996 dengan tujuan menjual peralatan di pasar negara berkembang.

Salah satu produk MikroTik adalah RouterOS - sistem operasi jaringan berbasis Linux. Router OS dirancang untuk diinstal pada router RouterBoard Mikrotik . Juga, sistem ini dapat diinstal pada PC, mengubahnya menjadi router dengan firewall, server VPN / klien, QoS, titik akses, dan fungsi lainnya. Sistem ini juga dapat berfungsi sebagai portal Captive berdasarkan pada sistem akses nirkabel.

Fungsi WatchDog Timer memuat ulang MikroTik jika Internet hilang. Untuk menentukan masalah, perangkat secara berkala ping alamat IP server. Jika router tidak menerima respons, itu akan reboot.

Untuk mengonfigurasi pengawas waktu, Anda memerlukan alamat IP yang akan melakukan ping MikroTik. Idealnya, Anda perlu melakukan ping gateway penyedia, seolah-olah masalahnya ada pada mil terakhir, maka reboot dapat membantu. Dalam contoh ini, kami akan melakukan ping IP dari Google: 8.8.8.8

Unduh Winbox dari situs resmi jika Anda belum melakukan ini sebelumnya. Buka tab Tetangga ", pilih dan hubungkan ke Mikrotik Anda:

Selanjutnya, buka menu System → Watchdog dan isi parameter seperti pada gambar:

Timer Watchdog - mengaktifkan / menonaktifkan pengawas
Tonton Alamat - IP-address yang akan ping
Ping Etpu Mulai Setelah Boot - interval waktu yang ping IP-address;

Jika Anda ingin laporan dihapus setelah setiap reboot, isi bidang di bawah ini: 
Kirim Email Ke - ke alamat Email mana untuk mengirim file autosupout.rif yang dihasilkan setelah reboot; 
Kirim Email Dari - Alamat email pengirim. Jika alamat Email pengirim tidak ditentukan, maka pengaturan diambil dari Alat - Email; 
Kirim SMTP Server - melalui server SMTP mana untuk mengirim file. Jika alamat IP server SMTP tidak ditentukan, pengaturan diambil dari Alat → Email.

Установихме, че JavaScript е деактивиран в този браузър. За да продължиш да използваш twitter.com, активирай JavaScript или премини към поддържан браузър. Можеш да видиш списък с поддържаните браузъри в Центъра ни за помощ.

Център за помощ

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.

The “IP WatchDog” or "Ping WatchDog" term refers to a 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 monitored device function 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 be used to monitor different devices (IP addresses) independently.
     
  • It's worth noting that PING reply does not guarantee the tested device proper functionality. For example, an IP surveillance camera with a lens or image encoding problem can still reliably respond to PING over the network even though it does not work as it should.

NETIO products company is using several different technologies for WatchDog functionality in its products.

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

NETIO Devices overview

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

NETIO devices use a system of "Condition" & "Action" which has 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 in 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).
 

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

Linux based NETIO PowerPDU 4C handles IP Watchdog in a different way than in other NETIO products.
PowerPDU 4C contains an integrated IP WatchDog function that can be used to check 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 monitor 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 + 3 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 two IP addresses. Can be used to monitor Internet connectivity given that backup address (e.g. Google server 8.8.8.8) should always be available.

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 1 or 2 configured IP addresses. When none of these two addresses responds 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 to e.g. 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 period (or for 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.

Video yang berhubungan

Postingan terbaru

LIHAT SEMUA