Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Coviello Newsgroups: comp.os.vms Subject: Re: syslog setup Date: Wed, 26 Jun 2024 21:58:35 -0400 Organization: A noiseless patient Spider Lines: 70 Message-ID: References: <2ef65812-45fb-bb91-6ac2-2cfbdcceb1de@gmail.com> Reply-To: azhrei1@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 27 Jun 2024 03:59:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="327a2efdc2df55228f3fac87de2550e1"; logging-data="2675587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CoByoU8SbZU9s5Iu5DbMd" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2 Cancel-Lock: sha1:HKVU2OWOjTOarRWhLQBmbMXf7KU= In-Reply-To: Bytes: 3992 Jim Duff wrote: > On 24/6/24 23:56, Paul Coviello wrote: >> Paul Coviello wrote: >>> Jim Duff wrote: >>>> On 23/6/24 08:49, Arne Vajhøj wrote: >>>>> On 6/22/2024 5:57 PM, Jim Duff wrote: >>>>>> On 23/6/24 03:23, Paul Coviello wrote: >>>>>>> Jim Duff wrote: >>>>>>>> [Massive snip] >>>>>>> hmmm what was I expecting!  well it seemed pretty straight >>>>>>> forward in the PDF that you set it up as it says and it just >>>>>>> works, now after reading your comments there might be more I have >>>>>>> to do. >>>>>>> >>>>>>> I'll try it on Monday. >>>>>>> >>>>>>> and the logger test message does work. just trying to get OPCOM >>>>>>> to connect to it and hopefully your suggestions above I can >>>>>>> figure it out >>>>>> >>>>>> When you say "just trying to get OPCOM to connect to it" are you >>>>>> expecting that syslogd will somehow intercept your OPCOM messages >>>>>> and log them somewhere else?  Because it doesn't do that. >>>>>> >>>>>> It takes syslog messages that match the priorities you have >>>>>> assigned to forward to OPCOM, in this case local1.err, and does >>>>>> exactly that, as I demonstrated in the example. >>>>> >>>>> But if one want to send OPCOM messages to syslog then I assume one >>>>> could: >>>>> * enable terminal as operator terminal >>>>> * run a little utility program that trap broadcasts >>>>>    and send them to syslog >>>>> ? >>>>> >>>>> Arne >>>>> >>>> >>>> Sure, why not? >>>> >>>> https://www.eight-cubed.com/downloads.html#catch_opcom >>>> >>>> will trap the OPCOM messages, and it's a simple matter to open a >>>> datagram socket and write to the syslog port. >>>> >>>> Jim. >>> >>> Hi Jim I just downloaded the zip file and out of curiosity do I need >>> 'C' to run this? >>> >>> >> never mind I answered my own question...  it doesn't run on itanium... > > You need the C compiler to compile it, yes.  And no idea what "it > doesn't run on Itanium" means.  I originally wrote it on Alpha, and it's > been run in production on Alpha and IA64, and tested on x86. > > Jim "IT" is the executable in the zip file won't run I thought it said something about platform being wrong... and no 'C' which doesn't help Now on a side note I did have a spelling issue in the startup file. took care of that but it doesn't exit the procedure after starting. I'll know more tomorrow since I'm not logged in right now. thanks