User Tools

Site Tools


supervision

This is an old revision of the document!


Métrologie & Monitoring

Etat de l'art

Métrologie

Cisco

Actuellement, les MIBs implémentées par Cisco ne permettent pas de mesurer le trafic IPv6.

La solution est alors d'effectuer régulièrement un “show interfaces accounting” via telnet ou ssh et d'utiliser par exemple RRDtool.

Nagios

Ce tutoriel s'applique à Nagios 1.2 (la version 2 officielle n'est pas encore disponible) et à la version 1.4.2 des greffons (plugins).

Il ne décrira que les spécificités liées à IPv6. Pour l'installation et la configuration initiale, se référer à la documentation.

Exemple de définition d'un hôte IPv6 (fichier hosts.cfg)

# 'asterix-ipv6' host definition
define host{
        use                     generic-host            ; Name of host template to use

        host_name               asterix-ipv6
        alias                   asterix - Serveur DNS et SMTP 
        address                 2001:660:3305::71
        parents                 xtb4
        check_command           check-host-alive-ipv6
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }

Exemple de définition d'un service IPv6 : ping (fichier services.cfg)

# Service definition
define service{
        use                             generic-service         ; Name of service template to use

        host_name                       asterix-ipv6
        service_description             PING6
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           15
        retry_check_interval            1
        contact_groups                  scipre-admins
        notification_interval           240
        notification_period             24x7
        notification_options            c,r
        check_command                   check_ping6!100.0,20%!500.0,60%
        }

Exemple de définition d'une commande de vérification : check_ping6 (fichier checkcommands.cfg)

# 'check_ping6' command definition
define command{
        command_name    check_ping6
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 -6
        }

Ntop

FIXME

supervision.1131126841.txt.gz · Last modified: (external edit)