Host does not exist on quick search

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
tariqondego
Posts: 85
Joined: Fri Mar 28, 2014 6:18 am

Host does not exist on quick search

Post by tariqondego »

I have a weird situation happening,this past week whenever I add a new host to monitor and do a quick search on the web portal at times I do get the host but most times I get 0 results.

I have done a restart of nagios several times,but this problem still persists.

Please advise.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Host does not exist on quick search

Post by sreinhardt »

What version of core are you on?
Which pages are you seeing this on?
Do these systems eventually pop up and just take time, or do you have to manually change something?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Host does not exist on quick search

Post by slansing »

Does this happen at random? Are you searching for alias, or name? What version of core are you running?
tariqondego
Posts: 85
Joined: Fri Mar 28, 2014 6:18 am

Re: Host does not exist on quick search

Post by tariqondego »

Core Vesrion 3.5.1
Host Page.
They eventually pop up when the page refreshes,then disapear again,this happens at random,I never have to change anything.
I am searching for name.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host does not exist on quick search

Post by abrist »

Is core restarting frequently?
Are there any errors in the apache logs?

Code: Select all

tail -50 /var/log/httpd/error_log
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.
tariqondego
Posts: 85
Joined: Fri Mar 28, 2014 6:18 am

Re: Host does not exist on quick search

Post by tariqondego »

No it doesnt restart.I tried to do several restarts myself to try clear this problem though.

No errors in apache logs relating to this particular problem.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host does not exist on quick search

Post by abrist »

Time to start looking for errors. Try to search for the host again and then look at the following logs for any info:

Code: Select all

tail -50 /var/log/httpd/error_log
tail -50 /var/log/messages
tail -50 /usr/local/nagios/var/nagios.log
Also, can you see if there are any errors in your javascript console in your workstation browser?
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.
tariqondego
Posts: 85
Joined: Fri Mar 28, 2014 6:18 am

Re: Host does not exist on quick search

Post by tariqondego »

Checked and confirmed nothing is being logged simply because no error is generated,just that the search cannot find new added hosts.

Please advise
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host does not exist on quick search

Post by abrist »

Is your server under heavy load? High io wait?
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