New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphic is empty #3
Comments
Please try removing the angle brackets from the macro. I will edit the wiki to make this clearer. |
not working |
Can you post the agent configuration and the agent log file? |
Looks like the script is timing out. How long does it take to return data when you run it by hand with the same parameters? When you are testing please make sure you run it as the same user running the zabbix agent. |
if takes 1/2 seconds. the script works successful via bash console. |
In that case I have no idea why it times out when being run in the zabbix agent context :( If you manage to fix the problem please let me know what was the cause. |
in the delay section of every items why there is written “60” without unit? |
It is the same thing. If the number doesn't have units it is in seconds. |
I encountered the same issue with the timeout and this is related to the configuration. In order to work the pinginterval and the agent timeout should be adjusted. In the original example the script runs 40 secs long, while the agent timeout is set to 10 secs:
If pinginterval is set to 5 secs and timeout to 30 secs (the max value allowed), then the script will run 20 secs and it won't time out:
|
Hi,
i imported the template, copied the "zping" file into /usr/local/bin/, added the template to the host but i can't understand where i have to set the hosts to ping.
i added the macro like that:
but the graphic is empty.
Someone could help me?
Thanks
The text was updated successfully, but these errors were encountered: