NAGIOSSQL LOGIN FAILED

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NAGIOSSQL LOGIN FAILED

Post by scottwilkerson »

It is because of your proxy settings

In /etc/wgetrc make sure you have :

Code: Select all

no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: NAGIOSSQL LOGIN FAILED

Post by toleolu »

Not sure what you mean by hosts to exclude? I just have the one, right? My nagios server?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NAGIOSSQL LOGIN FAILED

Post by scottwilkerson »

and these 2 at a bare minimum

Code: Select all

no_proxy=localhost,127.0.0.0/8
Nagios XI makes some calls to the backend to localhost, if it isn't excluded it will try to pass it to your proxy which will fail...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: NAGIOSSQL LOGIN FAILED

Post by toleolu »

So it should read no_proxy=localhost,127.0.0.0/8, ip of my nagios server. Is that correct?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NAGIOSSQL LOGIN FAILED

Post by abrist »

toleolu wrote:Is that correct?
That sound ok.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: NAGIOSSQL LOGIN FAILED

Post by toleolu »

That did it, thanks.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Locked