Mmmhhh.. usually when things are written to ardour, it's container system.

Which rsyslig version is I

$ rsyslogd -v

Rainer

Sent from phone, thus brief.

Mårten <mar...@m-aero.se> schrieb am Sa., 25. Mai 2024, 21:14:

> No, it's not a container
> It is a full configuration for the gate opener in rsyslog.d
> Operating system is raspbian on  raspberry 2b.
> Gatekeeper is a fanvill door phone.
>
>
>
> Mårten Persson
> Räften 272
> 24791 södra sandby
>
>
>
> -------- Originalmeddelande --------
> Från: Rainer Gerhards <rgerha...@hq.adiscon.com>
> Datum: 2024-05-25 20:41 (GMT+01:00)
> Till: rsyslog-users <rsyslog@lists.adiscon.com>
> Kopia: Mårten Persson <mar...@m-aero.se>
> Ämne: Re: [rsyslog] Problem with omprog
>
> Is this a Container?
>
> Sent from phone, thus brief.
>
> Mårten Persson via rsyslog <rsyslog@lists.adiscon.com> schrieb am Sa.,
> 25. Mai 2024, 07:35:
>
>> No errors in any log file when I restart rsyslog with the following:
>>
>> $template gateopener, "/var/log/fanvil.log"
>> if $fromhost-ip startswith "192.168.1.10" then -?gateopener
>>
>> module(load="omprog")
>> template(name="logmsg" type="string" string="%msg%")
>> if $msg contains "door1" then {
>>         action( type="omprog"
>>                 binary="/usr/local/bin/test.sh"
>>                 output="/var/log/testlog"
>>                 template="logmsg")
>> }
>>
>> The first part is old and working properly, the second part is new and
>> not doing what it is intended to do... Yes it will filter out the
>> message on "door1" but here is the funny part... Binary is not
>> executed, but the msg is printed out on console.
>> So I suspected that omprog didn't exist.
>>
>> Regards Mårten
>>
>>
>>
>> On Fri, 2024-05-24 at 13:08 -0700, David Lang wrote:
>> > If you specify omprog in your config and then try to start rsyslog,
>> > do you get
>> > any error messages? if the omprog module is not installed, you should
>> > get an
>> > error trying to load it.
>> >
>> > David Lang
>> >
>> >   On Fri, 24 May 2024, Mårten Persson via rsyslog wrote:
>> >
>> > > Date: Fri, 24 May 2024 21:03:56 +0200
>> > > From: Mårten Persson via rsyslog <rsyslog@lists.adiscon.com>
>> > > To: rsyslog-users <rsyslog@lists.adiscon.com>
>> > > Cc: Mårten Persson <mar...@m-aero.se>
>> > > Subject: [rsyslog] Problem with omprog
>> > >
>> > > Hi,
>> > > Running raspbian and can't get the omprog to work..
>> > > I suspect that omprog itself may not be my problem but it might be
>> > > missing instead.
>> > > Looked thoug the source and saw config options...
>> > > So my quick question at this point would be:
>> > > Is therer a way to find out if my rsyslog supports omprog and if
>> > > the
>> > > module exists?
>> > >
>> > > Regards, Mårten
>> > >
>> > > --
>> > > Mårten Persson
>> > > Räften 272
>> > > 24791 Södra Sandby
>> > > +46707311298
>> > > _______________________________________________
>> > > rsyslog mailing list
>> > > https://lists.adiscon.net/mailman/listinfo/rsyslog
>> > > http://www.rsyslog.com/professional-services/
>> > > What's up with rsyslog? Follow https://twitter.com/rgerhards
>> > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
>> > > myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT
>> > > POST if you DON'T LIKE THAT.
>>
>> _______________________________________________
>> rsyslog mailing list
>> https://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>
>
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to