Syslog Settings

Syslog is a standard service on UNIX systems to filter, forward and distribute messages from applications and the system itself. Using the options in this panel, you can easily setup a forward of all syslog messages to one of your syslog servers.

The syslog configuration is part of the network configuration.

Syslog configuration
Forward syslogIf enabled, a forwarding syslog daemon is set up using the settings you provided.
Syslog server IPEnter the IP address of your syslog server.
Syslog server portEnter the UDP port of your syslog server.
Message levelDetermines the level of detail the router control software itself produces messages. This does however not affect the messages the underlying linux system generates.

Setting up syslog forwarding

  1. Set up your syslog server so it is able to receive standard syslog messages over UDP.
  2. Activate syslog forwarding on the M.1k2 and enter the syslog server's IP and the port number of your syslog daemon in the network setup you whish to use.
  3. Press "Save and apply" in the upper right corner.
  4. After a few seconds, the syslogd should have started with the new configuration. You can now test the syslog settings by pushing the "Test" button. This will generates 8 messages that are sent to the IP:Port you have entered. On your syslog server you should then read:
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (1/8) *** (emergency)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (2/8) *** (alert)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (3/8) *** (critical)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (4/8) *** (error)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (5/8) *** (warning)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (6/8) *** (notice)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (7/8) *** (info)
    Mar 19 13:31:50 192.168.3.45 - m1k2 *** test message (8/8) *** (debug)
    

Links

Syslog: http://en.wikipedia.org/wiki/Syslog
RFC 5424: http://tools.ietf.org/html/rfc5424
Text and images © 2014 DirectOut Technologies, 19.03.2014