syslog_client

command module
v0.0.0-...-2e2441e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 6 Imported by: 0

README

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"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL