NAGIOSQL LOGIN FAILED!
Posted: Thu Jul 19, 2018 8:26 am
Hi Team,
Please find the out put of reconfigure_nagios.sh script,
Please find the out put of reconfigure_nagios.sh script,
FYI,
URL: https://localhost:8443/nagiosxi/include ... nents/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost:8443/nagiosxi/include ... nents/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=Mo0EO8gmvERX' -O nagiosql.login--2018-07-19 09:22:00-- https://localhost:8443/nagiosxi/include ... nents/ccm/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:8443... connected.
WARNING: cannot verify localhost's certificate, issued by ‘/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA’:
Unable to locally verify the issuer's authority.
WARNING: no certificate subject alternative name matches
requested host name ‘localhost’.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
[ <=> ] 18,602 --.-K/s in 0.02s
2018-07-19 09:22:01 (1.06 MB/s) - ‘nagiosql.login’ saved [18602]
NAGIOSQL LOGIN FAILED!
#cat /usr/local/nagiosxi/html/config.inc.php | grep "use_https"
$cfg['use_https'] = true; // determines whether cron jobs and other scripts will force the use of HTTPS instead of HTTP
#cat /usr/local/nagiosxi/html/config.inc.php | grep "port_number"
$cfg['port_number'] = 8443;