I've got a tool to check my IP addresses on my hosts, the active zabbix agent runs the system.run item command.
One host changed its address, but the zabbix_agent (partially) reports the old IP address.
It is a Windows hosts.
if I run the command "it-wanip.exe -c" and "it-wanip.exe -l" from the command line I get 10.1.2.163 for both, but when the agent does it, it gets the old address for the list and the new one for the check.
the list/-l command is supposed to read from a text file on the host which contains the valid IP. (which I've deleted, recreated...). While the check, grabs the current IP.
Here is the zabbix_agent.log with debugging info.
*************************************************
{
"host":"HOST",
"key":"system.run[\"c:\\zabbix_agent\\it-wanip.exe -c\"]",
"value":"10.1.2.163",
"clock":1287957546},
{
"host":"HOST",
"key":"system.run[\"c:\\zabbix_agent\\it-wanip.exe -l\"]",
"value":"10.1.3.157",
"clock":1287957546},
*************************************************
(IP address have been changed to protect the innocent!)
Could the list file somehow, somewhere being cached?
Any suggestions?
One host changed its address, but the zabbix_agent (partially) reports the old IP address.
It is a Windows hosts.
if I run the command "it-wanip.exe -c" and "it-wanip.exe -l" from the command line I get 10.1.2.163 for both, but when the agent does it, it gets the old address for the list and the new one for the check.
the list/-l command is supposed to read from a text file on the host which contains the valid IP. (which I've deleted, recreated...). While the check, grabs the current IP.
Here is the zabbix_agent.log with debugging info.
*************************************************
{
"host":"HOST",
"key":"system.run[\"c:\\zabbix_agent\\it-wanip.exe -c\"]",
"value":"10.1.2.163",
"clock":1287957546},
{
"host":"HOST",
"key":"system.run[\"c:\\zabbix_agent\\it-wanip.exe -l\"]",
"value":"10.1.3.157",
"clock":1287957546},
*************************************************
(IP address have been changed to protect the innocent!)
Could the list file somehow, somewhere being cached?
Any suggestions?
Comment