Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

SNMP traps (when syslog process dies)

Vyatta NOS generates an SNMP trap anytime the syslog process dies.

Audit logs are sent via syslog. There must be a redundant mechanism to know if a superuser kills syslog. If the SNMP process is killed first, an audit message will be generated via syslog before it is also killed. This enhancement will cover the case of syslog being killed first.

SNMP traps example

This syntax shows SNMP trap configuration for VRFs with a routing instance and a default-VRF without a routing instance. This should be configured to generate traps when syslog dies. The trap receiver should also be configured.

service {
       snmp {
              community <community name> {
                      context <context name>
                      view all
              }
              trap-target <IP of SNMP manager> {
                      routing-instance <context name>
              }
              
               v3 {
                      trap-target <IP of SNMP manager> {
                              auth {
                                     plaintext-key "<key>"
                                     type <hashing method>
                              }
                              engineid <SNMP ID>
                              privacy {
                                     plaintext-key "<key>"
                                     type <encryption method>
                              }
                              routing-instance <context name>
                              type trap
                              user <username>
                      }
                     trap-target <IP of default VRF SNMP manager> {
 				auth {
 					plaintext-key "<key>"
 					type <hashing method>
 				}
 				engineid <SNMP ID>
 				privacy {
 					plaintext-key "<key>"
 					type <encryption method>
 				}
 				type trap
 				user <default username>
 			}

               }
              view all {
                      oid 1
              }
       }
       ssh
}