diff --git a/HowtoSNMP.md b/HowtoSNMP.md index 7bda7ae9..8c07af75 100644 --- a/HowtoSNMP.md +++ b/HowtoSNMP.md @@ -180,7 +180,7 @@ authCommunity log,execute private # Envoyer un mail quand on reçoit certaines trap SNMP traphandle IF-MIB::linkDown /usr/bin/traptoemail -s 127.0.0.1 me@example.org # Link Down traphandle IF-MIB::linkUp /usr/bin/traptoemail -s 127.0.0.1 me@example.org # Link Up -traphandle default /usr/bin/traptoemail -s 127.0.0.1 me@example.org # Tout le reste +traphandle default /usr/bin/traptoemail -s 127.0.0.1 notme@example.org # Tout le reste ~~~ Si `default` est indiqué dans le champ OID, alors le programme sera invoqué pour chaque OID ne correspondant pas aux autres OID pour lesquels une `traphandle` est définie.