Can't get Nagios up ( again )

Bock, Christian Christian.Bock at liz.lsa-net.de
Fri Jul 2 09:16:41 CEST 2004


Hello,

it seems I am the only one having that problems
since I did not find any previous mail soliving
that problem:

I added mysql-support to nagios. After restart 
of nagios had to check all services again,
which did not surprise me, because no status
data were in the database yet. But after 
restarting it again nagios does not seem to 
read these values and start checking services 
from scratch ( pending ) again. That results 
in a behaviour of delays of more than 2300 
seconds. I never expirienced these high delays
before.
Strange now is that even after redoing the 
installation without mysql the problem persists.
How to start that system with 321 services and 
215 hosts?
At the same time I introduced Nagmin, that's 
the reson for the lots of config files in 
nagios.cfg maybe that can cause the problem?

Thanks a lot fo help :-)

chris

----------------------------------------------------

The results from the -s option is as 

	SERVICE SCHEDULING INFORMATION
        -------------------------------
        Total services:             321
        Total hosts:                215

        Command check interval:     -1 sec
        Check reaper interval:      10 sec

        Inter-check delay method:   SMART
        Average check interval:     299.439 sec
        Inter-check delay:          0.933 sec

        Interleave factor method:   SMART
        Average services per host:  1.493
        Service interleave factor:  2

        Initial service check scheduling info:
        --------------------------------------
        First scheduled check:      1088752094 -> Fri Jul  2 09:08:14
2004
        Last scheduled check:       1088752393 -> Fri Jul  2 09:13:13
2004

        Rough guidelines for max_concurrent_checks value:
        -------------------------------------------------
        Absolute minimum value:     11
        Recommend value:            33


nagios.cfg

log_file=/usr/local/nagios/var/nagios.log
cfg_file=/usr/local/nagios/etc/Command.cfg
cfg_file=/usr/local/nagios/etc/Contact.cfg
cfg_file=/usr/local/nagios/etc/ContactGroup.cfg
cfg_file=/usr/local/nagios/etc/ContactTemplate.cfg
cfg_file=/usr/local/nagios/etc/Host.cfg
cfg_file=/usr/local/nagios/etc/HostDependency.cfg
cfg_file=/usr/local/nagios/etc/HostEscalation.cfg
cfg_file=/usr/local/nagios/etc/HostGroup.cfg
cfg_file=/usr/local/nagios/etc/HostGroupEscalation.cfg
cfg_file=/usr/local/nagios/etc/HostTemplate.cfg
cfg_file=/usr/local/nagios/etc/Service.cfg
cfg_file=/usr/local/nagios/etc/ServiceDependency.cfg
cfg_file=/usr/local/nagios/etc/ServiceEscalation.
resource_file=/usr/local/nagios/etc/resource.cfg
status_file=/usr/local/nagios/var/status.log
nagios_user=nagios
nagios_group=nagcmd
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
comment_file=/usr/local/nagios/var/comment.log
downtime_file=/usr/local/nagios/var/downtime.log
lock_file=/usr/local/nagios/var/nagios.lock
temp_file=/usr/local/nagios/var/nagios.tmp
log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
use_syslog=0
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_service_checks=1
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=10
sleep_time=1
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/usr/local/nagios/var/status.sav
retention_update_interval=60
use_retained_program_state=1
interval_length=60
use_agressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
enable_notifications=1
enable_event_handlers=1
process_performance_data=1
obsess_over_services=1
check_for_orphaned_services=1
check_service_freshness=1
freshness_check_interval=60
aggregate_status_updates=1
status_update_interval=15
enable_flap_detection=0
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=de
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
admin_email=Christian.Bock at liz.lsa-net.de
admin_pager=pagenagios
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O
UTPUT$\t
$PERFDATA$





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list