Nagios only shows Localhost

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
blade123
Posts: 6
Joined: Fri Nov 01, 2013 11:59 am

Nagios only shows Localhost

Post by blade123 »

Hello to everyone.
This is my configuration:
ubuntu 12.04.3
nagios 4.0.1
nconf 1.3.0

I have setup everything correct and nconf works good, it creates Default_collector and global directory with all information inside.

nagios.cfg is configured to cfg_dir only to global and Default collector.

For a strange reason i don't know after i deployed the configuration from nconf to nagios, nagios is showing only Localhost.
I also tryed to remove localhost and add another machine but nagios shows me only localhost.
Any help on this please?
Attachments
nagios.png
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios only shows Localhost

Post by scottwilkerson »

Did you verify the configuration and restart nagios after deploying the configuration?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
blade123
Posts: 6
Joined: Fri Nov 01, 2013 11:59 am

Re: Nagios only shows Localhost

Post by blade123 »

Yes i did.
One temporary solution i found is to stop nagios
delete object.cache and object.precache
and then start nagios.

So each time i want to deploy a new configuration i have to do this.
I wonder if is something i did wrong during installation either nagios or nconf...

Any idea?
Thanks
blade123
Posts: 6
Joined: Fri Nov 01, 2013 11:59 am

Re: Nagios only shows Localhost

Post by blade123 »

Yes i veryfied.
The temporary solution i found is to stop nagios service, delete objects.cache and objects.precache and the restart nagios.

But i can undestand is not really good as solution, but it's working for now.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios only shows Localhost

Post by abrist »

Fair enough, you may want contact the guys over at nconf's forums:
http://www.nconf.org/dokuwiki/doku.php? ... :help:main
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.
blade123
Posts: 6
Joined: Fri Nov 01, 2013 11:59 am

Re: Nagios only shows Localhost

Post by blade123 »

Thank you abrist, i'll contact also nconf team.
Is not a nagios problem? Because as far as i see the nconf works good when to deploy the data and restart nagios.
What do you think?
blade123
Posts: 6
Joined: Fri Nov 01, 2013 11:59 am

Re: Nagios only shows Localhost

Post by blade123 »

It's 3 days that i registered to nconf forum but still i got not activated. It's impossible to contact them because you have to be registered for contact an adminitrator to activate your account. This is a loop.
Can someone that is active on nconf forum could give me a favor and contact one of administrator and tell that the user blade123 need to be activated?
Thank you.
Sorry for this little OT...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios only shows Localhost

Post by abrist »

We have had other uses face similar issues with their forum. You may want to look at nagiosql instead of nconf as the support for nagiosql is bit better around this forum.
http://www.nagiosql.org/
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.
Locked