Re: Nagios Error after sending test notifications... Solved
Posted: Wed Aug 31, 2016 8:27 am
Looking at the error here -
I believe you'll need to add local resolution to your /etc/hosts file for the hostname your machine has assigned. For example, if my server was named nagios, it would look like this -
If that doesn't work, please post your full /etc/hosts file, the output of hostname, and a tail of your maillog once again.
Code: Select all
Aug 31 06:10:03 xxxxxxxxxxx sendmail[12448]: My unqualified host name (xxxxxxxxxxx) unknown; sleeping for retry
Aug 31 06:11:03 xxxxxxxxxxx sendmail[12448]: unable to qualify my own domain name (xxxxxxxxxxx) -- using short name
Code: Select all
[root@localhost libexec]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 nagios nagios.fqdn.ext
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6