WMI - Backend login to the Core Config Manager failed.
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
WMI - Backend login to the Core Config Manager failed.
I have configured WMI on client server and can authenticate to wmiagent but at end og WMI server config wizard
I get the following error
Backend login to the Core Config Manager failed.
I upgraded from nagiosxi version 520 to 530.
Still no luck!!!!
Please help...
I get the following error
Backend login to the Core Config Manager failed.
I upgraded from nagiosxi version 520 to 530.
Still no luck!!!!
Please help...
Re: WMI - Backend login to the Core Config Manager failed.
Try the solution mentioned in this KB article:
https://support.nagios.com/kb/article/n ... ailed.html
https://support.nagios.com/kb/article/n ... ailed.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
Re: WMI - Backend login to the Core Config Manager failed.
I tried that and there was no change.
My /etc/hosts looks like this:
[root@nagiosxi scripts]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 xi-c6x-x64
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 xi-c6x-x64
10.10.20.40 phxsanim1
When I run "./reconfigure_nagios.sh" I get the following error:
NAGIOSQL LOGIN FAILED!
Also it looks like my upgrades have been failing. How do I list version from the command line?
My /etc/hosts looks like this:
[root@nagiosxi scripts]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 xi-c6x-x64
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 xi-c6x-x64
10.10.20.40 phxsanim1
When I run "./reconfigure_nagios.sh" I get the following error:
NAGIOSQL LOGIN FAILED!
Also it looks like my upgrades have been failing. How do I list version from the command line?
Re: WMI - Backend login to the Core Config Manager failed.
Can you share the full output of reconfigure_nagios.sh executed from the CLI of your Nagios XI machine? Multiple steps can produce that message, and knowing which step specifically broke things is massively helpful.
Was SSL enabled on this server? Page 8 and 9 of this documentation contain information pertinent to reconfigure_nagios.sh:
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Is the server behind a proxy for it's internet access?
Was SSL enabled on this server? Page 8 and 9 of this documentation contain information pertinent to reconfigure_nagios.sh:
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Is the server behind a proxy for it's internet access?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
Re: WMI - Backend login to the Core Config Manager failed.
Also:
Config File Management
Use this tool to manually manage (write, delete, update) Nagios object configurations physical configuration files.
Note: To manually apply configuration, first use Delete Files and then run Write Configs followed by a verification (optional) and restart to fully apply the configuration.
Write Configs Delete Files Verify Files Restart Nagios Core
Write host configurations ...
Configuration file: xen-app-06.grhc.local.cfg successfully written!
Host configuration files successfully written!
Write service configurations ...
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
Config File Management
Use this tool to manually manage (write, delete, update) Nagios object configurations physical configuration files.
Note: To manually apply configuration, first use Delete Files and then run Write Configs followed by a verification (optional) and restart to fully apply the configuration.
Write Configs Delete Files Verify Files Restart Nagios Core
Write host configurations ...
Configuration file: xen-app-06.grhc.local.cfg successfully written!
Host configuration files successfully written!
Write service configurations ...
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
Re: WMI - Backend login to the Core Config Manager failed.
Also:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Uptime' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 143)
Warning: Duplicate definition found for service 'Server Work Queues' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 127)
Warning: Duplicate definition found for service 'Ping' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 112)
Warning: Duplicate definition found for service 'Page File Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 96)
Warning: Duplicate definition found for service 'Memory Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 80)
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 64)
Warning: Duplicate definition found for service 'DNS Resolution - DC02.grhc.local' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 48)
Warning: Duplicate definition found for service 'DNS IP Match - DC02.grhc.local' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 32)
Warning: Duplicate definition found for service 'CPU Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 524 services.
Checked 88 hosts.
Checked 5 host groups.
Checked 1 service groups.
Checked 27 contacts.
Checked 2 contact groups.
Checked 115 commands.
Checked 31 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 88 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 31 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Uptime' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 143)
Warning: Duplicate definition found for service 'Server Work Queues' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 127)
Warning: Duplicate definition found for service 'Ping' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 112)
Warning: Duplicate definition found for service 'Page File Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 96)
Warning: Duplicate definition found for service 'Memory Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 80)
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 64)
Warning: Duplicate definition found for service 'DNS Resolution - DC02.grhc.local' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 48)
Warning: Duplicate definition found for service 'DNS IP Match - DC02.grhc.local' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 32)
Warning: Duplicate definition found for service 'CPU Usage' on host 'DC02.grhc.local' (config file '/usr/local/nagios/etc/services/dc02.grhc.local.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 524 services.
Checked 88 hosts.
Checked 5 host groups.
Checked 1 service groups.
Checked 27 contacts.
Checked 2 contact groups.
Checked 115 commands.
Checked 31 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 88 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 31 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
Re: WMI - Backend login to the Core Config Manager failed.
Here is the reconfigure_nagios.sh output....
[root@nagiosxi scripts]# ./reconfigure_nagios.sh
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=taiufp' -O nagiosql.login--2017-08-17 13:42:33-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:443... connected.
WARNING: cannot verify localhostâs certificate, issued by â/DC=local/DC=grhc/CN=CERTâ
Unable to locally verify the issuerâs authority.
WARNING: certificate common name ânagiosxi.grhc.localâlocalhostâ
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 18,383 --.-K/s in 0.02s
2017-08-17 13:42:34 (788 KB/s) - ânagiosql.loginâ
NAGIOSQL LOGIN FAILED!
[root@nagiosxi scripts]#
[root@nagiosxi scripts]# ./reconfigure_nagios.sh
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=taiufp' -O nagiosql.login--2017-08-17 13:42:33-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:443... connected.
WARNING: cannot verify localhostâs certificate, issued by â/DC=local/DC=grhc/CN=CERTâ
Unable to locally verify the issuerâs authority.
WARNING: certificate common name ânagiosxi.grhc.localâlocalhostâ
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 18,383 --.-K/s in 0.02s
2017-08-17 13:42:34 (788 KB/s) - ânagiosql.loginâ
NAGIOSQL LOGIN FAILED!
[root@nagiosxi scripts]#
-
[email protected]
- Posts: 52
- Joined: Wed Nov 12, 2014 3:09 pm
Re: WMI - Backend login to the Core Config Manager failed.
Also yes, it is behind a proxy:
Proxy Address:
172.16.2.203
Proxy Port:
80
Proxy Auth:
username:password
Use HTTP tunnel
Update Settings
Proxy Address:
172.16.2.203
Proxy Port:
80
Proxy Auth:
username:password
Use HTTP tunnel
Update Settings
Re: WMI - Backend login to the Core Config Manager failed.
Have you edited your system's wgetrc file to account for the presence of a proxy?
See this article for specific steps:
https://support.nagios.com/kb/article.php?id=147
See this article for specific steps:
https://support.nagios.com/kb/article.php?id=147
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: WMI - Backend login to the Core Config Manager failed.
Any updates, [email protected]? Did the DB article suggested by mcapra help?
Be sure to check out our Knowledgebase for helpful articles and solutions!