Bonjour,
J'espère détailler au mieux le problème qui persiste depuis déjà 4 jours sur mon nagios.
J'utilise le plugin check_snmp_int de Patrick Proy :
http://nagios.manubulon.com/snmp_int.html
Quand j'utilise directement la commande dans le dossier des librairies, celle-ci fonctionne parfaitement :
Mais une fois intégré à Nagios, celui-ci me renvois un code d'erreur + un CRITICAL :
Code : Sélectionner tout - Visualiser dans une fenêtre à part check_snmp_int -H 128.0.10.106 -C public -n "^GigabitEthernet2/1/1" -k -B -w 0,0 -c 0,0
Pour plus d'information je vais vous mettre mon commande.cfg et mon switch :
Code : Sélectionner tout - Visualiser dans une fenêtre à part (Return code of 13 is out of bounds)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 # 'check_snmp_int' command definition define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -B -w $ARG3$ -c $ARG4$ }
Je vous remercie d'avance pour vos réponses.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 define service{ use generic-service ; Inherit values from a template host_name Cisco_3750_48ports_10_106 ; The name of the host the service is associated with service_description Debit G2/1/1 ; The service description check_command check_snmp_int!public!"^GigabitEthernet2/1/1"!200,400!0,600 ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined }
Partager