How to add new host to the graylog server?

What’s the specific (and full) configuration of the SNMP input in Graylog and the SNMP configuration of your network devices?

What’s the specific (and full) configuration of the syslog input in Graylog and the syslog configuration of your network devices?