Moin, mrgates@Safe-mail.net wrote:
Hallo
Welche Version von Nagios wird benutzt?
Getestet mit 1.2 und 2.0b(2|3) Auf SuSE 7.1 läuft Version 1.1 problemlos und seit Ewigkiten.
Als ich Nagios benutzt habe, hiess das projekt noch netsaint oder so ähnlich. Ist also schon eine ganze weile her :) Bei Interesse mail mir mal die Conf files ich teste es dann mal in einer 9.2er testumgebung. Schon mal bei Suse 9.3 probiert?
9.3 hab' ich nicht probiert, denn Nagios soll hier auf einem Rechner laufen den ich nicht upgraden will. Ich hab' mal zwei Dateien angehängt. nagios-mini.cfg ist die Datei die man nagios beim Start mitgibt. mini.cfg enthält alles sonst und lässt zwei Checks auf localhost laufen. Die Dateien sind dafür gemacht in den Standard-Verzeichnissen eingesetzt zu werden, d.h. ./configure von nagios ohne besondere prefixes. Dann einfach dir .cfg dateien nach /usr/local/nagios/etc kopieren. Wenn noch jemand mal probieren möchte Nagios zu übersetzen und zu testen... Ach so - Web-Frontend ist für den Test _nicht_ nötig. Nur einfach starten und warten und in einem anderen Terminal mit top den Speicherverbrauch beobachten. Hier komm' ich auf rund 64 MB pro Stunde. Arno
<< ------------------------>> Greetings from ... >> Mr. Gates @ Suse Linux :=) >> =============================
Hallo Leute,
ich habe jetzt eine ganze Weile ein bestimmtes Problem versucht einzukreisen - ohne Erfolg.
Unter SuSE 9.2 Kernel 2.6.8-24.14-default (und frühere) kann ich das Programmpakte Nagios (s. http://www.nagios.org ) nicht benutzen.
Scheint ein Memory-Leak zu sein.
Abhängig davon wieviele Checks laufen ist der Speicher früher oder später voll -> oom-reaper -> System unbrauchbar.
Hat jemand dies Kombination(en) am laufen?
Wäre jemand mit dem Kernel bereit mal Nagios zu installieren? Konfigurations-Dateien würde ich stellen :-)
Danke,
Arno
-- IT-Service Lehmann al@its-lehmann.de Arno Lehmann http://www.its-lehmann.de
-- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com
-- IT-Service Lehmann al@its-lehmann.de Arno Lehmann http://www.its-lehmann.de log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/mini.cfg object_cache_file=/usr/local/nagios/var/objects.cache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat nagios_user=nagios nagios_group=nagios command_check_interval=30s command_file=/usr/local/nagios/var/rw/nagios-test.cmd comment_file=/usr/local/nagios/var/comments.dat downtime_file=/usr/local/nagios/var/downtime.dat 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_checks=1 service_inter_check_delay_method=s max_service_check_spread=60 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=60 max_concurrent_checks=20 service_reaper_frequency=2 service_check_timeout=30 host_check_timeout=60 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=120 use_retained_program_state=1 use_retained_scheduling_info=1 interval_length=2 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=0 execute_host_checks=1 accept_passive_host_checks=0 enable_notifications=1 enable_event_handlers=0 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 check_for_orphaned_services=0 check_service_freshness=0 service_freshness_check_interval=300 check_host_freshness=0 host_freshness_check_interval=1500 aggregate_status_updates=0 status_update_interval=24 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=strict-iso8601 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=root@localhost admin_pager=<nicht vorhanden> daemon_dumps_core=0 define command{ command_name check-host-alive command_line $USER1$/check_dummy 0 Immer_ok_dafür_sorg_ich_schon } define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } define command{ command_name nix command_line /bin/true } define host{ host_name Hier alias Hier address 127.0.0.1 check_command check-host-alive max_check_attempts 2 check_interval 12 check_period 24x7 contact_groups admins notification_interval 22 notification_period 24x7 notification_options d,u,r,f } define hostgroup{ hostgroup_name alles alias Alles members Hier } define service{ host_name Hier service_description DISK check_command check_local_disk!10%!5%!/ max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 22 notification_period 24x7 notification_options w,u,c,r,f contact_groups admins } define service{ host_name Hier service_description DISK2 check_command check_local_disk!10%!5%!/tmp max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 22 notification_period 24x7 notification_options w,u,c,r,f contact_groups admins } define contactgroup{ contactgroup_name admins alias Administrators members admin } define contact{ contact_name admin alias Admins email root@localhost host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r,f,n service_notification_options w,u,c,r,f,n service_notification_commands nix host_notification_commands nix } define timeperiod{ timeperiod_name 24x7 alias Always sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 }