Afficher la page web de nagios

sanga -  
 amel_ouertani -
Bonjour,
SVP peut on m'expiquer:
je ne comprends pas pourquoi cette erreur [1195207874] Caught SIGTERM, shutting down...
[1195207874] Caught SIGTERM, shutting down..., alors que tout est OK quand je démarre Apache et Nagios en ligne de commandes, Mais je n'ai rien dans le navigateur.

Merci pour votre aide

Voici mes nagios.logs

[1195167600] LOG ROTATION: DAILY
[1195167600] LOG VERSION: 2.0
[1195167600] CURRENT HOST STATE: localhost;UP;HARD;0;PING OK - Paquets perdus = 0%, RTA = 0.08 ms
[1195167600] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - Charge moyenne: 0.00, 0.00, 0.00
[1195167600] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;UTILISATEURS OK - 1 utilisateurs actuellement connectés sur
[1195167600] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Paquets perdus = 0%, RTA = 0.07 ms
[1195167600] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 18888 MB (84% inode=93%):
[1195167600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 53 processus avec ETAT = RSZDT
[1195170024] Auto-save of retention data completed successfully.
[1195170275] Auto-save of retention data completed successfully.
[1195173624] Auto-save of retention data completed successfully.
[1195173875] Auto-save of retention data completed successfully.
[1195177224] Auto-save of retention data completed successfully.
[1195177475] Auto-save of retention data completed successfully.
[1195180824] Auto-save of retention data completed successfully.
[1195181075] Auto-save of retention data completed successfully.
[1195184424] Auto-save of retention data completed successfully.
[1195184675] Auto-save of retention data completed successfully.
[1195188024] Auto-save of retention data completed successfully.
[1195188275] Auto-save of retention data completed successfully.
[1195191624] Auto-save of retention data completed successfully.
[1195191875] Auto-save of retention data completed successfully.
[1195195224] Auto-save of retention data completed successfully.
[1195195475] Auto-save of retention data completed successfully.
[1195198824] Auto-save of retention data completed successfully.
[1195199075] Auto-save of retention data completed successfully.
[1195202424] Auto-save of retention data completed successfully.
[1195202675] Auto-save of retention data completed successfully.
[1195203192] Nagios 2.10 starting... (PID=12774)
[1195203192] LOG VERSION: 2.0
[1195203192] Lockfile '/usr/local/nagios/var/nagios.lock' is held by PID 13400. Bailing out...
[1195203233] Nagios 2.10 starting... (PID=12821)
[1195203233] LOG VERSION: 2.0
[1195203233] Lockfile '/usr/local/nagios/var/nagios.lock' is held by PID 13400. Bailing out...
[1195203299] Nagios 2.10 starting... (PID=12868)
[1195203299] LOG VERSION: 2.0
[1195203300] Lockfile '/usr/local/nagios/var/nagios.lock' is held by PID 13400. Bailing out...
[1195204001] Nagios 2.10 starting... (PID=13051)
[1195204001] LOG VERSION: 2.0
[1195206024] Auto-save of retention data completed successfully.
[1195206275] Auto-save of retention data completed successfully.
[1195207601] Auto-save of retention data completed successfully.
[1195207874] Caught SIGTERM, shutting down...
[1195207874] Caught SIGTERM, shutting down...
[1195207874] Successfully shutdown... (PID=13400)
[1195207874] Successfully shutdown... (PID=19247)
[1195207885] Nagios 2.10 starting... (PID=13911)
[1195207885] LOG VERSION: 2.0
Configuration: Linux
Mozilla 1.2.1

1 réponse

  1. amel_ouertani
     
    slt tout le monde
    j'ai installé nagios et j'ai configuré
    mais j'ai un problème nagios ag=ffiche que tout les postes down
    fichier de configuration
    hosts.cfg:
    define host{
    name generic-host
    check_command check-host-alive
    max_check_attempts 2
    check_interval 5
    active_checks_enabled 1
    passive_checks_enabled 0
    check_period 24x7
    obsess_over_host 0
    check_freshness 0
    event_handler_enabled 0
    flap_detection_enabled 1
    process_perf_data 0
    retain_status_information 1
    retain_nonstatus_information 1
    contact_groups serveur-admin
    notifications_enabled 1
    notification_interval 60
    notification_period 24x7
    notification_options d,r,u
    register 0
    }
    define host{
    use generic-host ; Name of host template to use
    host_name virtulWin
    alias poste
    address xxx.xxx.xxx.xxx
    check_command check-host-alive
    check_command check_http
    check_command check_dns
    low_flap_threshold 10.0
    high_flap_threshold 30.0
    }

    define host{
    use generic-host ; Name of host template to use
    host_name linux
    alias Serveur
    address xxx.xxx.xxx.xxx
    check_command check-host-alive
    check_command check_http
    check_command check_dns
    low_flap_threshold 10.0
    high_flap_threshold 30.0
    }
    define host{
    use generic-host ; Name of host template to use
    host_name virtulRed
    alias poste
    address xxx.xxx.xxx.xxx
    check_command check-host-alive
    check_command check_http
    check_command check_dns
    low_flap_threshold 10.0
    high_flap_threshold 30.0
    }
    hostgroup.cfg
    define hostgroup{
    hostgroup_name serveurs
    alias Servers
    members linux,virtulWin,virtulRed
    }
    contacts.cfg
    # 'serveur' contact definition
    define contact{
    contact_name serveur
    alias Nagios Admin
    service_notification_period 24x7
    host_notification_period 24x7
    service_notification_options w,u,c,r
    host_notification_options d,u,r
    service_notification_commands notify-by-email,notify-by-epager
    host_notification_commands host-notify-by-email,host-notify-by-epager
    email nagios-admin@localhost
    pager pagenagios-admin@localhost
    }
    contactgroup.cfg
    define contactgroup {
    contactgroup_name serveur-admin
    alias serveurs
    members serveur
    }
    services.cfg
    # Generic service definition template
    define service{
    name generic-service
    active_checks_enabled 1
    passive_checks_enabled 1
    parallelize_check 1
    obsess_over_service 1
    check_freshness 0
    notifications_enabled 1
    event_handler_enabled 1
    flap_detection_enabled 1
    process_perf_data 1
    retain_status_information 1
    retain_nonstatus_information 1
    is_volatile 0
    check_period 24x7
    normal_check_interval 5
    max_check_attempts 3
    notifications if any
    retry_check_interval 1
    notification_interval 0
    notification_period 24x7
    notification_options c,r
    register 0
    }
    define service{
    use generic-service
    host_name linux,virtulWin,virtulRed
    service_description PING
    contact_groups serveur-admin
    check_command check_ping!100.0,20%!500.0,60%
    }
    define service{
    use generic-service
    host_name linux,virtulWin,virtulRed
    service_description http
    contact_groups serveur-admin
    check_command check_http
    }
    define service{
    use generic-service
    host_name linux,virtulWin,virtulRed
    service_description tcp
    contact_groups serveur-admin
    check_command check_tcp
    }
    define service{
    use generic-service
    host_name linux,virtulWin,virtulRed
    service_description telnet
    contact_groups serveur-admin
    check_command check_tcp
    }
    define service{
    use generic-service
    host_name linux,virtulWin,virtulRed
    service_description dns
    contact_groups serveur-admin
    check_command check_dns
    }
    merci d'avance
    0