Page 1 of 1
nagios quick search not showing all hosts
Posted: Tue Jun 03, 2014 2:03 pm
by cbui
When i type box*; it only show's one box instead of 5. When i remove /usr/local/nagios/var/retention.dat then i can see all 5 host. After a few minutes then the quick search only comes back with 1 host. Any idea's? Thanks!!
Re: nagios quick search not showing all hosts
Posted: Tue Jun 03, 2014 3:45 pm
by slansing
Do all 5 hosts start with "box"? If not, try specifying *box* to wildcard either end.
Re: nagios quick search not showing all hosts
Posted: Tue Jun 03, 2014 4:06 pm
by cbui
slansing wrote:Do all 5 hosts start with "box"? If not, try specifying *box* to wildcard either end.
it all starts with box. I already did both and it doesn't work unless i delete the retention.dat
Re: nagios quick search not showing all hosts
Posted: Wed Jun 04, 2014 1:16 pm
by abrist
What version of core are you running?
Re: nagios quick search not showing all hosts
Posted: Wed Jun 04, 2014 2:03 pm
by cbui
abrist wrote:What version of core are you running?
i have 2 which are identical(one is for testing):
Version 4.0.2
and
Version 4.0.7
I'm not sure if it matters, but i have the following Active Host / Service Checks: 3673 / 36010
Re: nagios quick search not showing all hosts
Posted: Thu Jun 05, 2014 1:30 pm
by tmcdonald
That does seem like a lot of services, but it shouldn't affect anything with the search except maybe speed.
I'm not able to recreate the issue on my end. Have you made any changes to your nagios.cfg?
Re: nagios quick search not showing all hosts
Posted: Thu Jun 05, 2014 1:52 pm
by cbui
tmcdonald wrote:That does seem like a lot of services, but it shouldn't affect anything with the search except maybe speed.
I'm not able to recreate the issue on my end. Have you made any changes to your nagios.cfg?
I haven't made any changes. It's just weird that it's only that box with that problem. I'm able to look for everything else with no problem. Here's my nagios.cfg:
Code: Select all
accept_passive_host_checks=1
accept_passive_service_checks=1
additional_freshness_latency=15
[email protected]
[email protected]
auto_reschedule_checks=0
auto_rescheduling_interval=30
auto_rescheduling_window=180
bare_update_check=1
cached_host_check_horizon=15
cached_service_check_horizon=15
cfg_dir=/usr/local/nagios/etc/objects/shared
cfg_dir=/usr/local/nagios/etc/objects/calvin/hosts
cfg_dir=/usr/local/nagios/etc/objects/calvin/services
check_external_commands=1
check_for_orphaned_hosts=1
check_for_orphaned_services=1
check_for_updates=1
check_host_freshness=0
check_result_path=/usr/local/nagios/var/spool/checkresults
check_result_reaper_frequency=2
check_service_freshness=1
child_processes_fork_twice=0
command_file=/usr/local/nagios/var/rw/nagios.cmd
daemon_dumps_core=0
date_format=us
debug_file=/usr/local/nagios/var/log/nagios.debug
debug_level=16
debug_verbosity=2
enable_environment_macros=1
enable_event_handlers=1
enable_flap_detection=1
enable_notifications=1
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
event_broker_options=-1
event_handler_timeout=30
execute_host_checks=1
execute_service_checks=1
high_host_flap_threshold=20.0
high_service_flap_threshold=20.0
host_check_timeout=30
host_freshness_check_interval=60
host_inter_check_delay_method=s
host_perfdata_file=/usr/local/nagios/var/host-perfdata
illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
interval_length=60
lock_file=/usr/local/nagios/var/lock/nagios.lock
log_archive_path=/usr/local/nagios/var/archives
log_event_handlers=1
log_external_commands=1
log_file=/usr/local/nagios/var/log/nagios.log
log_host_retries=1
log_initial_states=0
log_notifications=1
log_passive_checks=1
log_rotation_method=d
log_service_retries=1
low_host_flap_threshold=5.0
low_service_flap_threshold=5.0
max_check_result_file_age=3600
max_check_result_reaper_time=30
max_concurrent_checks=0
max_debug_file_size=1000000
max_host_check_spread=30
max_service_check_spread=30
nagios_group=nagios
nagios_user=nagios
notification_timeout=30
object_cache_file=/usr/local/nagios/var/objects.cache
obsess_over_hosts=0
obsess_over_services=0
ocsp_timeout=5
passive_host_checks_are_soft=0
perfdata_timeout=5
precached_object_file=/usr/local/nagios/var/objects.precache
process_performance_data=1
resource_file=/usr/local/nagios/etc/resource.cfg
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
retained_host_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_service_attribute_mask=0
retain_state_information=1
retention_update_interval=5
service_check_timeout=120
service_freshness_check_interval=60
service_inter_check_delay_method=s
service_interleave_factor=s
service_perfdata_file_mode=a
service_perfdata_file_processing_command=process-service-perfdata
service_perfdata_file_processing_interval=30
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file=/usr/local/nagios/nagiosgraph/log/perfdata.log
soft_state_dependencies=0
state_retention_file=/usr/local/nagios/var/retention.dat
status_file=/usr/local/nagios/var/status.dat
status_update_interval=10
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/tmp
translate_passive_host_checks=0
use_aggressive_host_checking=0
use_large_installation_tweaks=0
use_regexp_matching=0
use_retained_program_state=0
use_retained_scheduling_info=1
use_syslog=0
use_true_regexp_matching=0
Re: nagios quick search not showing all hosts
Posted: Fri Jun 06, 2014 11:40 am
by scottwilkerson
Still cannot re-create this.
above the table of after searching, do you get
Service Status Details For Host 'box*'