Page 1 of 1
Nagios only shows Localhost
Posted: Fri Nov 01, 2013 12:05 pm
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?
Re: Nagios only shows Localhost
Posted: Fri Nov 01, 2013 1:40 pm
by scottwilkerson
Did you verify the configuration and restart nagios after deploying the configuration?
Re: Nagios only shows Localhost
Posted: Fri Nov 01, 2013 8:49 pm
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
Re: Nagios only shows Localhost
Posted: Sun Nov 03, 2013 8:19 am
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.
Re: Nagios only shows Localhost
Posted: Mon Nov 04, 2013 10:58 am
by abrist
Fair enough, you may want contact the guys over at nconf's forums:
http://www.nconf.org/dokuwiki/doku.php? ... :help:main
Re: Nagios only shows Localhost
Posted: Mon Nov 04, 2013 6:25 pm
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?
Re: Nagios only shows Localhost
Posted: Tue Nov 05, 2013 4:58 am
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...
Re: Nagios only shows Localhost
Posted: Tue Nov 05, 2013 10:47 am
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/