Page 1 of 1

Nagios Sql Login Issues

Posted: Wed Aug 23, 2017 3:51 pm
by jivy
Hi,

I installed a new instance using the ESXi install guide. After the install I used the system-config-network to configure the instance. My goal is to manage ESXi host, so I used the nagios guide to enable configuration of ESXi host via the configuration wizard. The configuration wizard never completes and I get the below nagios sql login issues. What should I do in this case?

Thanks

[root@nagios ~]# tail -f /usr/local/nagiosxi/var/cmdsubsys.log
...............................PROCESSING COMMAND ID 14...
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2017-08-08 12:50:33-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... failed: Name or service not known.
wget: unable to resolve host address “localhost”
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backe nd=1&username=nagiosxi&password=O5kL0B' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=tru e&backend=1&username=nagiosxi&password=O5kL0B' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2

Re: Nagios Sql Login Issues

Posted: Wed Aug 23, 2017 4:57 pm
by bolson
Hello, could you please post the contents of this command:

Code: Select all

cat /etc/hosts