[syslog-ng]using perl module with syslog-ng

Thomas Vollmer tvollmer-ml@gmx.de
Thu, 19 Jul 2001 10:31:15 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, 18. July 2001 21:11, you wrote:

Hi,

> Hello: I have configured syslog-ng on solaris 2.7 and can see syslog
> messages logged into the /var/adm directory when I use the logger
> command. The perl module which I use in syslogd does not seem to
> working with syslog-ng
> the source line in syslog-ng server machine is
> source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
> internal(); };
>
> my perl lines are as follows
> openlog ($ident, 'ndelay', 'user');
> syslog ("user.alert", "PingStatus change: Host %s is down\n", $host);
>
> Is there anything else I need to do to make this happen?

Well we had I similar problem here. We found out that the perl module 
doesn't use streams or the like. It uses udp, so you maybe have to 
activate a udp() source.


Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7VprYoMpjYcJiUzMRAviYAKD3GxX0Ci5qzjh1Mxg3+i6cGnQLdACfdLNB
8EYfnw6jieQ7aqXuG4KXoHQ=
=+6WG
-----END PGP SIGNATURE-----