How to set multiple hosts to ping resource
Issue
- How do I set multiple hosts to
ping
resource? - After I set a comma separated list "host1,host2" to
host_list
inping
resource, the following error occurs.
Dec 1 18:04:23 node1 ping(test-ping)[17599]: ERROR: Unexpected result for 'ping -n -q -W 10 -c 5 host1,host2' 2: ping: host1,host2: Name or service not known
Environment
- Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.