Hi!
I try to run a curl command by agent, it works from bash, but not from agent, maybe because the interpreter. I got an error "no such file or directory".
system.run[*] enabled in the agent config, if i tried with zabbix_get it works too.
The reason why I use this because there is a multiple IIS server which has multiple nodes and I want to know which works or not.
Is there any idea for this issue?
Thanks
I try to run a curl command by agent, it works from bash, but not from agent, maybe because the interpreter. I got an error "no such file or directory".
system.run[*] enabled in the agent config, if i tried with zabbix_get it works too.
Code:
curl --resolve test.example.com:443:192.168.1.1 -H "Host: test.example.com" https://test.example.com/health
Is there any idea for this issue?
Thanks
Comment