Problem: Nagios core dumps and slowing down when only active test
zxr750 at citap.com
zxr750 at citap.com
Fri Oct 17 19:15:19 CEST 2008
3) Problem: Nagios 3.0.3 core dumps and slowing down when only active test
are expected.
Troubleshouting:
With Nagios 3.0.2 no problem.
output from /opt/monitoring/nagios/bin/nagios
/opt/monitoring/nagios/etc/nagios.cfg
- when nagios cannot found /opt/csw/libexec/nagios-plugins/check_fping
a plugin to execute
Why is check_fping executed on a server where only active test are
configurated.
in /opt/monitoring/nagios/etc/nagios.cfg we set execute_service_checks=0
execute_host_checks=0 accept_passive_service_checks=1
accept_passive_host_checks=1 log_passive_checks=0
define host {
name generic-host
max_check_attempts 3
active_checks_enabled 1
passive_checks_enabled 1
check_period tp_production
retain_status_information 1
retain_nonstatus_information 1
notification_interval 120
notification_period tp_production
notification_options d,u,r
notifications_enabled 1
register 0
}
define service {
name check_nagios-by-db
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
active_checks_enabled 1
passive_checks_enabled 0
check_period tp_production
parallelize_check 1
obsess_over_service 1
check_freshness 1
freshness_threshold 3600
flap_detection_enabled 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 120
notification_period tp_production
notification_options w,u,c,r
notifications_enabled 1
register 0
}
/opt/monitoring/nagios/etc/checkcommands.cfg: command_line
$USER7$/check_fping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -n 1
/opt/monitoring/nagios/etc/checkcommands.cfg: command_line
$USER7$/check_fping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -n 1
/opt/monitoring/nagios/etc/checkcommands.cfg: command_line
$USER7$/check_fping -H $ARG1$ -w 3000.0,80% -c 5000.0,100% -n 1
We thought that nagios.cfg overrules hosts.cfg and services.cfg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081017/9ea8eba1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list