Announcement

Collapse
No announcement yet.

checks pas tous incrémentés dans les graphs rrd ! !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • checks pas tous incrémentés dans les graphs rrd ! !

    Bonjour,

    Je suis en train de préparer une plateforme de supervision, j'ai déja :

    ScreenShot007.jpg

    J'ai l'impression que les checks ne sont pas tous incrémentés dans les graphs rrd et même loind de là, voilà ce que j'ai sur les graphs rrd des hosts et des services:

    ScreenShot008.jpg

    Au niveau paramètres de nagios nagios.cfg:

    ################################################## #################
    # #
    # GENERATED BY OREON #
    # #
    # Developped by : #
    # - Julien Mathis #
    # - Romain Le Merlus #
    # #
    # www.oreon-project.org #
    # For information : [email protected] #
    ################################################## #################

    ################################################## #################
    # #
    # Last modifiREtion June 6, 2006, 12:03 pm #
    # By production #
    # #
    ################################################## #################

    # 'Nagios CFG 1'
    # TGZ Install RHAS3
    cfg_file=/usr/loREl/nagios/etc/hosts.cfg
    cfg_file=/usr/loREl/nagios/etc/services.cfg
    cfg_file=/usr/loREl/nagios/etc/misccommands.cfg
    cfg_file=/usr/loREl/nagios/etc/checkcommands.cfg
    cfg_file=/usr/loREl/nagios/etc/contactgroups.cfg
    cfg_file=/usr/loREl/nagios/etc/contacts.cfg
    cfg_file=/usr/loREl/nagios/etc/hostgroups.cfg
    cfg_file=/usr/loREl/nagios/etc/timeperiods.cfg
    cfg_file=/usr/loREl/nagios/etc/esRElations.cfg
    cfg_file=/usr/loREl/nagios/etc/dependencies.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_commands.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_contact.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_contactgroup.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_dependencies.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_esRElations.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_host.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_hostgroup.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_services.cfg
    cfg_file=/usr/loREl/nagios/etc/meta_timeperiod.cfg
    resource_file=/usr/loREl/nagios/etc/resource.cfg
    log_file=/usr/loREl/nagios/var/nagios.log
    temp_file=/usr/loREl/nagios/var/nagios.tmp
    status_file=/usr/loREl/nagios/var/status.log
    aggregate_status_updates=1
    status_update_interval=15
    nagios_user=nagios
    nagios_group=nagios
    enable_notifiREtions=1
    execute_service_checks=1
    accept_passive_service_checks=1
    enable_event_handlers=1
    log_rotation_method=d
    log_archive_path=/usr/loREl/nagios/var/archives/
    check_external_commands=1
    command_check_interval=1s
    command_file=/usr/loREl/nagios/var/rw/nagios.cmd
    downtime_file=/usr/loREl/nagios/var/downtime.log
    comment_file=/usr/loREl/nagios/var/comment.log
    lock_file=/usr/loREl/nagios/var/nagios.lock
    retain_state_information=1
    state_retention_file=/usr/loREl/nagios/var/status.sav
    retention_update_interval=60
    use_retained_program_state=1
    use_syslog=0
    log_notifiREtions=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
    sleep_time=1
    inter_check_delay_method=s
    service_interleave_factor=s
    max_concurrent_checks=100
    service_reaper_frequency=10
    interval_length=60
    use_agressive_host_checking=1
    enable_flap_detection=1
    low_service_flap_threshold=25.0
    high_service_flap_threshold=50.0
    low_host_flap_threshold=25.0
    high_host_flap_threshold=50.0
    soft_state_dependencies=1
    service_check_timeout=60
    host_check_timeout=60
    event_handler_timeout=60
    notifiREtion_timeout=60
    ocsp_timeout=1
    perfdata_timeout=5
    obsess_over_services=0
    process_performance_data=1
    check_for_orphaned_services=0
    check_service_freshness=1
    freshness_check_interval=60
    date_format=euro
    illegal_object_name_chars=~!$%^&*"|'<>?,()=
    illegal_macro_output_chars=`~$^&"|'<>
    admin_email=admin
    [email protected]

    Au niveau de la définition des hosts (tous sur le même model):

    # 'MODELE_HOST_LAN' host definition 1
    # 02/06/2006 - 10:44:43
    define host{
    name MODELE_HOST_LAN
    check_command check_host_alive
    max_check_attempts 2
    checks_enabled 1
    event_handler_enabled 1
    flap_detection_enabled 0
    process_perf_data 1
    retain_status_information 1
    retain_nonstatus_information 1
    notifiREtion_interval 1
    notifiREtion_period workhours
    notifiREtion_options d,u,r
    notifiREtions_enabled 1
    stalking_options o,d,u
    register 0
    }

    # 'MODELE_WWWEDI' host definition 2
    # 02/06/2006 - 10:44:43
    define host{
    name MODELE_WWWEDI
    check_command check_host_alive
    max_check_attempts 2
    checks_enabled 1
    event_handler_enabled 1
    flap_detection_enabled 0
    process_perf_data 1
    retain_status_information 1
    retain_nonstatus_information 1
    notifiREtion_interval 1
    notifiREtion_period workhours
    notifiREtion_options d,u,r
    notifiREtions_enabled 1
    stalking_options o,d,u
    register 0
    }

    Mon model de service est:

    # 'HTTPS_EDI' service definition 1
    # ID_OREON:'1'
    # 02/06/2006 - 10:45:22
    define service{
    name HTTPS_EDI
    service_description HTTPS_EDI
    is_volatile 1
    check_command check_https
    max_check_attempts 2
    normal_check_interval 1
    retry_check_interval 1
    check_period 24x7
    parallelize_check 1
    obsess_over_service 1
    check_freshness 1
    freshness_threshold 0
    event_handler_enabled 0
    low_flap_threshold 1
    high_flap_threshold 10
    flap_detection_enabled 1
    process_perf_data 1
    retain_status_information 1
    retain_nonstatus_information 1
    notifiREtion_interval 1
    notifiREtion_period workhours
    notifiREtion_options w,u,c,r
    notifiREtions_enabled 1
    contact_groups prod
    stalking_options o,w,u,c
    register 0
    }

    J'ai pourtant ça dans les logs de nagios qui montre que les tests sont bien effectués le plus souvent possibles en fonction des critères de temps de nagios:

    [1149676483] SERVICE ALERT: XXX07;HTTPS_TEPDC;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 5186 bytes in 0.909 seconds
    [1149676503] SERVICE ALERT: XXX06;HTTPS_TEBO;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1257 bytes in 0.373 seconds
    [1149676503] SERVICE ALERT: XXX07;HTTPS_TEMP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 903 bytes in 0.873 seconds
    [1149676523] SERVICE ALERT: XXX06;HTTPS_TEBR;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 797 bytes in 0.376 seconds
    [1149676523] SERVICE ALERT: XXX07;HTTPS_TELDA;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1255 bytes in 0.865 seconds
    [1149676543] SERVICE ALERT: XXX06;HTTPS_TEIDFP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 894 bytes in 0.383 seconds
    [1149676543] SERVICE ALERT: XXX07;HTTPS_RETP;OK;HARD;1;OK - HTTP/1.1 302 Redirect - 0.859 second response time
    [1149676564] SERVICE ALERT: XXX06;HTTPS_TELDA;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1253 bytes in 0.402 seconds
    [1149676564] SERVICE ALERT: XXX07;HTTPS_RENDF;OK;HARD;1;OK - HTTP/1.1 302 Redirect - 0.860 second response time
    [1149676564] SERVICE ALERT: XXX07;HTTPS_TEBR;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 799 bytes in 0.393 seconds
    [1149676564] SERVICE ALERT: XXX07;HTTPS_REGU;OK;HARD;1;OK - HTTP/1.1 302 Redirect - 0.860 second response time
    [1149676584] SERVICE ALERT: XXX05;HTTPS_RERE;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1640 bytes in 0.867 seconds
    [1149676604] SERVICE ALERT: XXX06;HTTPS_TERAL;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1248 bytes in 0.417 seconds
    [1149676604] SERVICE ALERT: XXX07;HTTPS_TEPC;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 5179 bytes in 0.452 seconds
    [1149676604] SERVICE ALERT: XXX07;HTTPS_REFI;OK;HARD;1;OK - HTTP/1.1 302 Redirect - 0.845 second response time
    [1149676604] SERVICE ALERT: XXX07;HTTPS_RERE;OK;HARD;1;OK - HTTP/1.1 302 Redirect - 0.835 second response time
    [1149676624] SERVICE ALERT: XXX09;HTTPS_EDI_RECMDS;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1645 bytes in 0.438 seconds
    [1149676624] SERVICE ALERT: XXX07;HTTPS_TERAL;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1250 bytes in 0.471 seconds
    [1149676644] SERVICE ALERT: XXX06;HTTPS_TEPDC;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 891 bytes in 0.438 seconds
    [1149676644] SERVICE ALERT: EDI;HTTPS_EDI_CMANJOU;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 830 bytes in 0.366 seconds
    [1149676644] SERVICE ALERT: XXX07;HTTPS_REAV;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1646 bytes in 0.787 seconds
    [1149676664] SERVICE ALERT: XXX06;HTTPS_EDI_TEXX;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 1236 bytes in 0.456 seconds
    [1149676664] Warning: The results of service 'HTTPS_XXX_CMANJOU' on host 'XXX' are stale by 71 seconds (threshold=257 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RERE' on host 'XXX05' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RETP' on host 'XXX05' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TEAL' on host 'XXX06' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_REAV' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RERE' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_REFI' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_REGU' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RENDF' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RENO' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_RETP' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TELDA' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TELR' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TEMP' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TEPDC' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_TEPDL' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_CS' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_XXX_CT' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.
    [1149676664] Warning: The results of service 'HTTPS_XXX_CCDS' on host 'XXX07' are stale by 249 seconds (threshold=78 seconds). I'm forcing an immXXXate check of the service.

    Pourquoi les graphs rrd ne prennent pas en compte toutes les données de nagios ?

    Une idée ? ? ?

    Merci d'avance
    Attached Files
    Debian 3.1 kernel 2.6.8-2-386
    Nagios 1.3 + Oreon 1.3.1-1 + Nagios-Plugins 1.4.3 + Perfparse 0.105.6 (marche pô)

  • #2
    résolu je ne sais comment

    résolu je ne sais comment
    Debian 3.1 kernel 2.6.8-2-386
    Nagios 1.3 + Oreon 1.3.1-1 + Nagios-Plugins 1.4.3 + Perfparse 0.105.6 (marche pô)

    Comment

    Working...
    X