Colleagues,
When testing NetCool
or other monitoring triggers it is very handy
to be able to test
things with "logger". However logger doesn't have
the ability to test
all of the things that syslog-ng can do.
I don't know that
much about the network protocol for syslog,
or the system
library calls in the various OS's that support local syslog
delivery.
However the standard "logger" command has the following
limitations:
1. I can't specify the DESTINATION other than the
default local system (e.g.
@somehost(tcp#|udp#) )
without changing my local syslog configuration.
2. I can't spoof the source IP address or source
Hostname.
3. I can't spoof the source messages
time-stamp.
Could I ask (pretty
please) that the kind and generous gods of syslog
programming make a
little tiny version of syslog-ng called logger-ng
that can accept
command line arguments like the standard logger
command does (with
the addition of the above two options)?
I would be willing
to trade some work doing documentation of it
and making man
pages in exchange? I am a very good writer.
-Ben.