Table of contents
Create monitor with default values
To begin, create a Syslog monitor for the specified Linux host. Its Main parameters should look like this:Setup syslog service to send messages
On the target (Linux, in our example) host, sudo as root user and open for editing file /etc/rsyslog.conf. Add to its end line like this:user.info @192.168.122.11:514Meaning of above:
- user: facility name (choose one of “auth”, “clock”, “cron”, “daemon”, “ftp”, “kernel”, “local0”, “local1”, “local2”, “local3”, “local4”, “local5”, “logalert”, “logaudit”, “lpr”, “mail”, “ntp”, “news”, “security”, “syslog”, “user”, “uucp”, or “*” to match any facility)
- info: level (severity) of event (choose one of “emerg”, “alert”, “crit”, “err”, “warning”, “notice”, “info”, “debug”, or “*” to match any level)
- @ means use UDP as transport protocol (note: IPNetwork only supports UDP)
- 192.168.122.11: IP address or host name of system running IPNetwork (the one that listens to syslog messages)
- 514: port on IPNetwork system to send events to (514 is a standard syslog port)
Test configuration
On IPNetwork side, run the newly created Syslog monitor. It should enter “Unknown” state:
logger -n 192.168.122.11 -p user.info "Test message"where “user.info” should match the corresponding string added to /etc/rsyslog.conf, parameter after “-n” is IPNetwork system IP address, and the message itself is an arbitrary string. On IPNetwork side, monitor should switch to “OK” state:


Details: Is RFC 5424 = 1 IP = 192.168.122.1 Host = linux-host Application (tag) = ubuntu Process Id = 0 Message Id = Severity level = INFO Facility = user Date and time = 2018-07-26T14:09:12+07:00 Structured data = [timeQuality isSynced="1" syncAccuracy="1011000" tzKnown="1"] Message = Test message Last result: N/A at 7/26/2018 2:09:12 PMRun the logger command again, on Linux side, to see new Event email coming, with corresponding data.
Adapting to real-life cases
Let’s get more realistic type of Syslog monitor. Assume you need to get notified every time a valid user fails to login to Linux host. Since that can be a frequent event, let’s only get no more than 4 events per minute. “Main parameters” for your Syslog monitor might look like below:
auth.info @192.168.122.11:514(use actual IP address of your IPNetwork system) Do not forget to stop and start monitor every time you change its settings. Now try to log in to the Linux host as a valid user (e.g. root) and as an invalid one, every time entering invalid password, and see an event alert executing. Please read more about Syslog monitors parameters in corresponding monitor type description.