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?
Nagios only shows Localhost
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios only shows Localhost
Did you verify the configuration and restart nagios after deploying the configuration?
Re: Nagios only shows Localhost
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
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
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.
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
Fair enough, you may want contact the guys over at nconf's forums:
http://www.nconf.org/dokuwiki/doku.php? ... :help:main
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.
"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.
Re: Nagios only shows Localhost
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?
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
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...
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
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/
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.
"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.