Привет всем.
Есть такая команда
arping -I eth1 -c3 172.18.55.13 | grep -v 'Unicast\|ARPING\|Sent' | awk '{ print $2 }'
Но при проверке командой
zabbix_agentd -t arping_check 192.168.53.11
Хотя в конфиге агента, прописано вот так
UserParameter=arping_check,arping -I eth1 -c3 $1 | grep -v 'Unicast\|ARPING\|Sent' | awk '{ print $2 }'
Подкажите где ошибка?
Есть такая команда
arping -I eth1 -c3 172.18.55.13 | grep -v 'Unicast\|ARPING\|Sent' | awk '{ print $2 }'
Но при проверке командой
zabbix_agentd -t arping_check 192.168.53.11
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address
arping_check [t|]
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address
arping_check [t|]
UserParameter=arping_check,arping -I eth1 -c3 $1 | grep -v 'Unicast\|ARPING\|Sent' | awk '{ print $2 }'
Подкажите где ошибка?
Comment