Michael Vincent > Net-Syslogd > SYSLOGD-SENDTEST

Download:
Net-Syslogd-0.12.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

SYSLOGD-SENDTEST - Syslog Message Tests

SYNOPSIS ^

 syslod-sendtest [options] [host]

DESCRIPTION ^

Sends sample Syslog messages.

OPTIONS ^

 host           The host to send to.
                DEFAULT:  (or not specified) localhost.

 -4               Force IPv4.
 -6               Force IPv6 (overrides -4).

 -d datagram      Entire Syslog datagram.  Use double-quotes to delimit.
 --datagram       Overrides all other options except 'host'.
                  Example:
                    "<190>Jan 01 00:00:00 host syslog.pl[123]: Message"

                  DEFAULT:  (or not specified) [build from user input]

 -f facility      Syslog facility.  Valid facility:
 --facility         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:  (or not specified) [local7]

 -h name|IP[v6]   Hostname.
 --hostname       DEFAULT:  (or not specified) localhost


 -m message       Syslog message.  Use double-quotes to delimit
 --message        if spaces are used.
                  DEFAULT:  (or not specified) ["Message from ..."]

 -ms              Include milliseconds in timestamp.
 --msec           Not RFC 3164 compliant.
                  DEFAULT:  (or not specified) [do not include]

 -s severity      Syslog severity.  Valid severity:
  --severity        emergency, alert, critical, error,
                    warning, notice, informational, debug
                  DEFAULT:  (or not specified) [informational]

 -y               Include year in timestamp.
 --year           Not RFC 3164 compliant.
                  DEFAULT:  (or not specified) [do not include]

LICENSE ^

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR ^

Copyright (C) Michael Vincent 2010

http://www.VinsWorld.com

All rights reserved

syntax highlighting: