Check_centreon_snmp_traffic Error Cannot Get Snmp Info
Contents |
Script : check_snmp_int.pl Last update : May 24 2007 Description : Checks by snmp (v1, v2c or v3) host interface state and usage. Interfaces can be selected by regexp ( 'eth' will check eth0, eth1, eth2, ...). If multiple interfaces are selected, all must be up to get an OK result Vérifie par snmp v1, v2c ou v3 l'état des interfaces d'un hôte, leur utilisation (bande passante, erreurs, pertes) et sortir des informations de performances. Ce script permet d'utiliser des expressions régulières pour sélectionner les interfaces : ex 'eth' va vérifier eth0, eth1, ... Il permet également de lister toutes les interfaces disponibles sur la machine cible (option -v) pour voir leur nom en https://github.com/Centreon-Community/centreon-discovery/blob/master/plugins/check_centreon_snmp_traffic.pl SNMP. Pour les francophones, je ferais un manuel en Français quand j'aurais le temps... (et toute aide est bienvenue). Standard checks The script will check interface operationnal status using the MIB-II table. The interface is (are) selected by the -n option. This option will be treated as a regular expression (eth will match eth0, eth1, eth2...). You can disable this with the -r option : the interface will be selected if it's description exactly matches http://nagios.manubulon.com/snmp_int.html the name given by -n The interfaces are selected by their description in the MIB-II table. To see how interface looks like by snmp, you can list all of them with the '-v' switch. The script will return OK if ALL interfaces selected are UP, or CRITICAL if at least one interface is down. You can make the script return a OK value when all interfaces are down (and CRITICAL when at least one is up) with the -i option. You can make the same tests on administrative status instead with the -a option. If you have ISDN interface, and want that DORMANT state returns ok, put -D. To make output shorter, specially when you have multiple interface, you can put the -s option. It will get only the first