Service Checks in pending state - Take 2
Adi
adisharon at gmail.com
Wed Aug 24 21:41:11 CEST 2005
hello
first thanks for the fast response. well its only a very small configured
enviroment. i almost removed all services here is some info.
nagios -v nagios.cfg
Checking services...
Checked 5 services.
Checking hosts...
Checked 4 hosts.
Checking host groups...
Checked 1 host groups.
Checking contacts...
Checked 1 contacts.
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
the nagios.cfg
log_passive_service_checks=0
inter_check_delay_method=0.5
service_interleave_factor=0.5
max_concurrent_checks=1500
service_reaper_frequency=22
state_retention_file=/usr/local/nagios/var/status.sav ( file is deleted when
test. i cleared all var directory. but its with db support so file does not
really matter )
retain_state_information=0
retention_update_interval=1
use_retained_program_state=0
execute_service_checks=1
sample service.cfg
define service{
use generic-service-5-min
host_name Web_server
service_description PING
active_checks_enabled 1
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
contact_groups admin_users
notifications_enabled 1
notification_interval 0
notification_period 24x7
notification_options w,u,r,c
check_command check_ping!100.0,20%!500.0,60%
}
template
define service{
name generic-service-5-min
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
notifications_enabled 1
notification_interval 0
notification_period 24x7
notification_options w,u,r,c
check_command check_none
register 0
}
tried on fedora core 3 and also on Cent OS 4
nagios installed from source (downloaded from nagios.org)
compiled with mysql support:
--with-mysql-status --with-mysql-comments --with-mysql-retention --with-mysql-
downtime
and last nagios.log does not show anything :
[1124870948] Caught SIGTERM, shutting down...
[1124870949] Nagios 1.2 starting... (PID=17862)
[1124870949] Finished daemonizing... (New PID=17863)
and then nothing apears.
well just to make clear some things. im pretty familier with nagios working
with it over several years now. usually things got solve pretty fast. i already
have several installations running fine. this is very strange problem i bumped
recently.
and andreas i know you like to snap at people as usual(instead of trying to
help) but if you ever tried to read all the message i posted you would have
seen ". i double checked and there is only one running nagios proc.
"
again thanks for the fast response.
Adi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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