Page 1 of 1

Hosts down , can ping them from the CLI

Posted: Wed Apr 12, 2023 9:40 am
by deby23456
Starting last night we have the vast majority of our hosts showing as down, all services are showing as up. I can ping the hosts from the cli. I have run the latest update and rebooted, no change. Where should i look next?

Check which plugin you're using to check hosts. I've noticed that check_ping sometimes doesn't work but check_icmp does.

Re: Hosts down , can ping them from the CLI

Posted: Thu Apr 13, 2023 11:02 pm
by aiqbal88
it has to do with arp table
The Address Resolution Protocol (ARP) handles the mapping between an Internet Protocol (IP) address and a Media Access Control (MAC) address. Linux stores all such mappings in a local system cache called an ARP table.
Since it maps IP to MAC addresses, ARP works with IPv4 between layers 2 and 3 of the Open Systems Interconnection (OSI) model. Critically, the Network Discovery Protocol (NDP) replaces ARP for IPv6.

In addition to handling the mappings, ARP also allows the discovery of hosts on the network via requests. In fact, we can leverage ARP as a layer 2 ping via the arping command.

arpa -a

ping xx.xx.xx.xx

arpe -a