Hi guys,
I have a script that contains the following :
#!/bin/bash
ping -s 1000 -c 1 213.49.18.85 | grep icmp | awk '{ print $7}' | sed -e 's/time=//g'
it gives an output like this :
28.6
----------
when i check my zabbix_server.log :
006433:20060215:104705 Active parameter [lat.test] is not supported by agent on host [mariko.gigaspeeds.be]
006433:20060215:104705 Type of received value [ZBX_NOTSUPPORTED] is not sutable for [[email protected]]
Permissions of my script are ok
zabbix@mariko:~$ ls -la ping_1500.sh
-rwx--x--x 1 zabbix zabbix 137 Feb 15 10:45 ping_1500.sh
any ideas' ??? I really need this script
also tried with fping and a grep and sed to get the number only, but i get same result... all my other scripts work fine
I have a script that contains the following :
#!/bin/bash
ping -s 1000 -c 1 213.49.18.85 | grep icmp | awk '{ print $7}' | sed -e 's/time=//g'
it gives an output like this :
28.6
----------
when i check my zabbix_server.log :
006433:20060215:104705 Active parameter [lat.test] is not supported by agent on host [mariko.gigaspeeds.be]
006433:20060215:104705 Type of received value [ZBX_NOTSUPPORTED] is not sutable for [[email protected]]
Permissions of my script are ok
zabbix@mariko:~$ ls -la ping_1500.sh
-rwx--x--x 1 zabbix zabbix 137 Feb 15 10:45 ping_1500.sh
any ideas' ??? I really need this script
also tried with fping and a grep and sed to get the number only, but i get same result... all my other scripts work fine
Comment