Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.13 KB

Syslog Client

Go Build and Test Go Report Card

A simple command line tool to check the syslog server is running by sending syslog messages to it.

Acceptable command line flags are:

Flag Description
-p Syslog server protocol, udp or tcp. Defaults to "udp".
-a Syslog server IPv4 address. Defaults to "".
-s Syslog message severity. Defaults to 5, (Notice).
-m Syslog message. Defaults to "Testing, testing, 1, 2, 3".

Install

$ go install github.com/AndyBowskill/syslog_client@latest

Example

$ syslog_client -a 192.168.48.10 -m "Syslog message from Fedora" -s 4
$ syslog_client -p tcp -s 3 -a 192.168.48.10 -m "Syslog message from Ubuntu"