Plugins Nagios pour les équipementts Cisco

Équipements Cisco

Utilisation CPU

Télécharger le plugin ici.

Commande associée:

[root@ ~]# ./check_snmp_load.pl -H HOSTADDRESS  -C Community -w 80,80,80 -c 90,90,90 -T cisco -f

w: warning status 5sec, 1min, 5 min (in percentage)

c: critical status 5sec, 1min, 5 min (in percentage)

Occupation mémoire

Télécharger le plugin ici.

Commande associée:

[root@ ~]# ./check_snmp_mem.pl -H HOSTADDRESS  -C Community -I -w 85% -c 95%

w: warning  status in percentage

c: critical status in percentage

Etat des ventilateurs

Télécharger le plugin ici.

Commande associée:

[root@ ~]# . /check_catalyst_fans.pl -s HOSTADDRESS -C Community
Mesure du trafic sur une interface

Télécharger le plugin ici.

Commande de listing des interfaces:

[root@ ~]# ./check_snmp_int.pl -H HOSTADDRESS -C Community -n zzzzz -v

 

Definition de la commande dans commands.cfg:

###################
# check_snmp_int.pl
###################
#  'check_snmp_int.pl', check network interfaces
define command{
command_name    check_snmp_int
command_line    $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -w $ARG3$ -c $ARG4$ -M (for Megabit/s output) –r (the interface will be selected if it's description exactly matches the name) –f –Y (activer perfdata) -B(important pour obtenir les valeurs réelles)
}

 

Définition du service dans network.cfg:

define service{
        use                     generic-service
        host_name               catalyst
        service_description     Check interface Giga0/12 State and Traffic
        check_command           check_snmp_int!community!"GigabitEthernet0/12"!"838860,838860"!"943718,943718"

        }

 

Dans cet exemple, les seuils définis représentent 80% et 90% de la bande passante Gigabit en kbits/s.

Pour plus de détails sur ce plugin, aller jetter un coup d'oeil sur le site du développeur.

QR Code - Take this post Mobile!
Use this unique QR (Quick Response) code with your smart device. The code will save the url of this webpage to the device for mobile sharing and storage.
Mots-clés : , ,

kiolul