SYSLOGD-SENDTEST(1p)

πŸ“¦
version 0.16 Β· 2 versions
  • 0.16 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– SYSLOGD-SENDTEST πŸ’–

ok so bestie, this is SYSLOGD-SENDTEST(1p) from the User Contributed Perl Documentation section, and it's literally the cutest little syslog testing tool. she sends sample messages, she checks your vibes, she's an icon. let's get into it πŸŽ€


✨ SYNOPSIS ✨

syslod-sendtest [options] [host]

(yes, exactly like that β€” spell it however it's spelled up there, we don't gatekeep typos πŸ’…)


🌸 DESCRIPTION 🌸

Sends sample Syslog messages. that's it. that's the whole job. she shows up, she yeets a test message at your syslog daemon, she leaves. queen behavior honestly πŸ‘‘


πŸ¦‹ OPTIONS πŸ¦‹

  • host β€” the host you're sending to. if you don't say anything (or just don't specify it at all), it defaults to localhost. lowkey the homegirl of defaults fr fr 🏠
  • -4 β€” force IPv4. old school but reliable, ngl.
  • -6 β€” force IPv6. and heads up bestie, this one overrides -4, so if you throw both at her, -6 wins. main character energy 😌
  • -d datagram, --datagram β€” the entire Syslog datagram, like the whole thing, hand it over. use double-quotes to delimit it. this option overrides all other options except host, so yeah she's that girl. example:
"<190>Jan 01 00:00:00 host syslog.pl[123]: Message"

default: if you don't specify it (or don't specify anything), she'll [build from user input] instead πŸ’–

  • -f facility, --facility β€” the Syslog facility. valid facilities are literally:

kernel, user, mail, system, security, internal, printer, news, uucp, clock, security2, ftp, ntp, audit, alert, clock2, local0, local1, local2, local3, local4, local5, local6, local7

default: if you don't specify it (or don't specify anything), it's [local7] πŸ“

  • -h name|IP[v6], --hostname β€” the hostname. note the shape: a name, or an IP, and v6 is welcome too. default: if you don't specify it (or don't specify anything), it's localhost 🌈
  • -m message, --message β€” the Syslog message. use double-quotes to delimit it if you've got spaces in there. default: if you don't specify it (or don't specify anything), it's ["Message from ..."] ✨
  • -ms, --msec β€” include milliseconds in the timestamp. > heads up: this is not RFC 3164 compliant. default: if you don't specify it (or don't specify anything), it's [do not include] ⏱️
  • -s severity, --severity β€” the Syslog severity. valid severities, periodt:

emergency, alert, critical, error, warning, notice, informational, debug

default: if you don't specify it (or don't specify anything), it's [informational] πŸ’€

  • -y, --year β€” include the year in the timestamp. > heads up again bestie: this is not RFC 3164 compliant either. default: if you don't specify it (or don't specify anything), it's [do not include] πŸ“…

πŸ‘‘ LICENSE πŸ‘‘

this software is released under the same terms as Perl itself. and if you're sitting there like "bestie what does that even mean" β€” the page says to go visit <http://perl.com/>. so do that 🫢


πŸ’œ AUTHOR πŸ’œ

Copyright (C) Michael Vincent 2010

<http://www.VinsWorld.com>

All rights reserved


and that's the whole page, bestie πŸ’– this doc came to you via perl v5.34.0, dated 2022-06-30, and honestly? she ate. go send some test messages, you've got this. no cap 🧚✨

πŸ“¦ where this page comes from