Nocward
Nocward Monitoring
Nocward Monitoring How-to guides 3 min read

Traps and syslog

Point devices' SNMP traps and syslog at Monitoring, with ready-made configuration for MikroTik, Cisco, Juniper, Linux and FortiGate, and see how events become alerts.

Last updated 11 November 2026

Polling asks devices how they are every minute. Traps and syslog let devices tell you the moment something happens.

Where devices send

What Port on the Monitoring server Notes
SNMP traps and informs UDP 162 v1 and v2c: informs are acknowledged; any community is accepted and never stored. v3 traps: see below.
Syslog UDP 514 and TCP 514 RFC 5424, RFC 3164, Cisco IOS, JunOS, rsyslog and RouterOS formats; TCP with newline framing, octet counting or RouterOS’s stream

Allow these ports in your firewall from your devices only - they are unauthenticated inputs.

Devices at a site with its own collector send to that collector’s address instead, on the same ports; events are matched to devices on the server as usual.

SNMPv3 traps

SNMPv3 traps are accepted from devices that are polled with SNMPv3, when they send with the same USM user and keys (authNoPriv or authPriv). SNMPv3 informs are not decoded.

Device configuration

Replace NMS with the Monitoring server’s address.

MikroTik RouterOS

/system logging action add name=nm target=remote remote=NMS remote-port=514 remote-log-format=syslog
/system logging add topics=info,warning,error,critical action=nm
/snmp set enabled=yes trap-community=public trap-version=2 trap-target=NMS trap-generators=interfaces

If the router would send from another address than its management IP, set src-address=<management IP> on the logging action and in /snmp set src-address=.

Cisco IOS / IOS-XE

logging host NMS
logging trap informational
snmp-server host NMS version 2c public
snmp-server enable traps snmp linkdown linkup coldstart warmstart authentication

Juniper Junos

set system syslog host NMS any warning
set snmp trap-group nm version v2 targets NMS
set snmp trap-group nm categories link

Linux (rsyslog) - in /etc/rsyslog.d/nm.conf: *.warning @NMS:514 (UDP) or *.warning @@NMS:514 (TCP).

FortiGate

config log syslogd setting
  set status enable
  set server NMS
  set port 514
end

How an event finds its device

  1. The sender’s address equals a device’s management IP; otherwise
  2. the hostname in the syslog message equals a device’s name or SNMP system name (works behind NAT); otherwise
  3. for a trap, the agent address inside the trap.

Events nobody claims are kept as Unknown sender with the sender’s address - a quick way to find equipment that talks to Monitoring but was never added. Unknown senders never raise alerts; set EVENTS_ACCEPT_UNKNOWN=false in the API settings to drop them instead.

In MSP mode, events that reach the provider’s collector go to the organization whose device sent them.

See events

Traps & Syslog shows events live, filtered by time range (15 minutes to 7 days), kind (trap or syslog), severity, device or text. The side panel lists the busiest senders. From a device page, Traps & Syslog opens the page filtered to that device.

Alerts from events

Alert Raised by Default
Interface down / up linkDown trap; linkUp sends an automatically acknowledged recovery notice Warning
Notable SNMP trap coldStart, warmStart, authenticationFailure, BGP backward transition, EGP neighbour loss, UPS on battery, UPS alarm, VRRP new master Warning
Critical syslog Severity emergency, alert or critical Critical
Error syslog Severity error Warning

A trap that names the interface only by its index gets the interface name Monitoring already knows for that device. The same alert repeated within five minutes is suppressed, while a real flap (down, up, down) still alerts. Configure these under Settings → Alerting → Alert rules like any other event.

Limits

Events are kept 14 days by default. The collector accepts up to 100 events per second per sender (bursts of 500); excess is counted and logged, not queued.

Was this page helpful?

Have an idea for the product itself? Suggest an idea