SNMP vs SYSLOG
Comparison Table: SNMP vs Syslog
Below table summarizes the main differences between SNMP and Syslog:
S.No. | SNMP | SYSLOG |
1 | SNMP allows for remote monitoring of SNMP-Allowable device on network. | SYSLOG is a different protocol that can be used for exchanging log messages of varying degrees of severity to network device capable of receiving syslog messages. |
2 | SNMP is used to alert on critical actions, like the mentioned HSRP state changes. | SYSLOG is also collected, which allows me to dig deeper to figure out why the HSRP state change occurred. |
3 | SNMP works on Poll – Resource mechanism with SNMP Server polling the device for response on interface/ health /process. | SYSLOG works on PUSH mechanism on end device to send logging information. |
4 | SNMP is referred to get real time information. | SYSLOG is generally referred to acquire historical data. |
5 | End device configuration can be performed via SNMP set. E.g.: Reboot system | End device configuration cannot be performed via syslog set. |
6 | SNMP traps are shared in binary format. | Syslog events are shared in plain text. |
7 | Secure | Insecure |
8 | Active | Passive |
9 | Uses UDP port numbers 161 and 162. | Uses TCP/UDP port number 514 |
SOURCE: https://ipwithease.com |
In case you are preparing for your next interview, then please check our e-book on SNMP Interview Q&A