Page 1 of 1

Host does not exist on quick search

Posted: Fri Oct 31, 2014 6:55 am
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.

Re: Host does not exist on quick search

Posted: Fri Oct 31, 2014 1:39 pm
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?

Re: Host does not exist on quick search

Posted: Fri Oct 31, 2014 1:39 pm
by slansing
Does this happen at random? Are you searching for alias, or name? What version of core are you running?

Re: Host does not exist on quick search

Posted: Mon Nov 03, 2014 4:25 am
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.

Re: Host does not exist on quick search

Posted: Mon Nov 03, 2014 11:59 am
by abrist
Is core restarting frequently?
Are there any errors in the apache logs?

Code: Select all

tail -50 /var/log/httpd/error_log

Re: Host does not exist on quick search

Posted: Tue Nov 04, 2014 3:40 am
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.

Re: Host does not exist on quick search

Posted: Tue Nov 04, 2014 4:57 pm
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?

Re: Host does not exist on quick search

Posted: Thu Nov 06, 2014 3:57 am
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

Re: Host does not exist on quick search

Posted: Thu Nov 06, 2014 3:02 pm
by abrist
Is your server under heavy load? High io wait?