ping:monitor_a_ping_and_icmp_disabled_host
Differences
This shows you the differences between two versions of the page.
ping:monitor_a_ping_and_icmp_disabled_host [2016/11/21 01:45] – created peter | ping:monitor_a_ping_and_icmp_disabled_host [2019/12/01 22:25] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ping - Monitor a ping and icmp disabled host ====== | ||
- | |||
- | To monitor a remote host 24x7 for alerts and issues which has ping disabled can be done in different ways. Special monitoring tools, such as nagios, can be used. These tools, by default, check the aliveness of the host with the help of ping. | ||
- | |||
- | However you can also use tcp ping to check the aliveness of the host with nagios. | ||
- | |||
- | <code bash> | ||
- | ./check_tcp 192.168.0.103 -p 80 | ||
- | </ | ||
- | |||
- | Result | ||
- | |||
- | < | ||
- | TCP OK - 0.003 second response time on port 80|time=0.002949s;;; | ||
- | </ | ||
- | |||
- | **check_tcp plugin** comes by default with the **nagios-plugins** package. | ||
- | |||
- | <WRAP notice> | ||
- | You need to have check_command ‘check_tcp -p 80′, inside the host template, to monitor the host aliveness with tcp_ping. | ||
- | </ | ||
- | |||
- | |||
ping/monitor_a_ping_and_icmp_disabled_host.1479692756.txt.gz · Last modified: 2020/07/15 09:30 (external edit)