Skip to content

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

License

Notifications You must be signed in to change notification settings

AndyBowskill/syslog_client

Repository files navigation

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"

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages