On Fri, Feb 13, 2009 at 14:36, Jules Pagna Disso <[email protected]> wrote:
> yes, basically i need to write some code to send alert to a remote host
> something like  send(message_options , list of host, port)
>
> i can do it  but i have to edit rsyslog.conf by programming, yet if i use
> sysklogd i can just call some routine and do the job, but i failled to
> install sysklogd. sysklogd has all the option i need i.e -h for host for
> instance but i can't installed it on fedora 10. i tried on 3 computers no
> success.

It would be far more helpful if you gave us more precisely what you
are trying to do.  From what I gather, you seem to be writing a
program that you want to send log messages directly to a remote host.
For that use, you don't need any of the syslog daemons - just use
'logger' or any of the dozens of C/C++/Perl/Python logging packages
available.  There are much better ways to solve this, but at this
point I am not sure they'll be any easier for you.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to