Nagios Sql Login Issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jivy
Posts: 1
Joined: Thu Aug 10, 2017 9:40 am

Nagios Sql Login Issues

Post 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
bolson

Re: Nagios Sql Login Issues

Post by bolson »

Hello, could you please post the contents of this command:

Code: Select all

cat /etc/hosts
Locked