We had a power outage last night which unfortunetly ended up in taken down everything, even zabbix and upon rebooting almost all the host entries had errors next to them stating:
gethostbyname() failed [Host name lookup failure]
Unfortunetly there was no problem as all the machines where back and healthy and running. I checked whether it was a DNS problem by querying the internal DNS on the machine, even creating a script that uses gethostbyname to resolve it on the machine. It resolved the correct address.
The agent was running the machines, I checked by telneting to the correct port.
The only thing that resolved the problem was deleting the host and then re-entering it. As soon as I did that it came back straight away with no problem, but I can't do this with every host because they have alot of configuration options and I will have to enter everything again.
I am running it on a Debian box from an apt-install version.
gethostbyname() failed [Host name lookup failure]
Unfortunetly there was no problem as all the machines where back and healthy and running. I checked whether it was a DNS problem by querying the internal DNS on the machine, even creating a script that uses gethostbyname to resolve it on the machine. It resolved the correct address.
The agent was running the machines, I checked by telneting to the correct port.
The only thing that resolved the problem was deleting the host and then re-entering it. As soon as I did that it came back straight away with no problem, but I can't do this with every host because they have alot of configuration options and I will have to enter everything again.
I am running it on a Debian box from an apt-install version.
Comment