Re: [nxlog-ce-users] Calling external script for log rotation

2016-11-07 Thread Ward.P.Fontenot
I do, I run nx as nx and all the file permissions are correct. I'll have to take a look at it later, I'm sure it's something obvious. -Original Message- From: Botond Botyanszki [mailto:b...@nxlog.org] Sent: Monday, November 07, 2016 10:53 AM To: nxlog-ce-users@lists.sourceforge.net

Re: [nxlog-ce-users] Windows INFO

2016-06-28 Thread Ward.P.Fontenot
Thank you, that was it. I am now keeping one output and route just for json so I can tell what the fields are for filtering purposes. -Original Message- From: Botond Botyanszki [mailto:b...@nxlog.org] Sent: Monday, June 27, 2016 11:23 PM To: nxlog-ce-users@lists.sourceforge.net Subject:

Re: [nxlog-ce-users] filter on $Hostname

2016-06-15 Thread Ward.P.Fontenot
Thank you Shedi, that was perfect. From: Shedi Shedi [mailto:she...@gmail.com] Sent: Tuesday, June 14, 2016 2:24 PM To: nxlog-ce-users@lists.sourceforge.net Subject: Re: [nxlog-ce-users] filter on $Hostname Hi Ward, There’s a nice example in the documentation titled "Example 6.58. File rotation

[nxlog-ce-users] filter on $Hostname

2016-06-14 Thread Ward.P.Fontenot
I think I'm at a point where I can't see the forest because of the trees, how do you write logs based on $Hostname? I have everything coming in on one port and writing to one log and I have no problem seeing the $Hostname in the log. I would like to know if there is a way to have the logs

[nxlog-ce-users] Time

2015-01-21 Thread Ward.P.Fontenot
Is there a way to change input log date / time to GMT -8? Paul Fontenot Enterprise Key Management Public Key Infrastructure | EISTO | ETS | TOG | Wells Fargo 2600 S. Price Rd. 2nd Floor | Chandler, AZ 85286 MAC S3939-022 Cell (480) 253-2908 ward.p.fonte...@wellsfargo.com This message may

Re: [nxlog-ce-users] log certain entries

2014-11-17 Thread Ward.P.Fontenot
I got it, log_info() was dropping those messages into the nxlog internal log. I've got it working correctly now. From: Fontenot, Ward P. Sent: Monday, November 17, 2014 10:44 AM To: nxlog-ce-users@lists.sourceforge.net Subject: log certain entries Hi, I've got a need to log only error

[nxlog-ce-users] log certain entries

2014-11-17 Thread Ward.P.Fontenot
Hi, I've got a need to log only error messages from one of our applications, I was looking to use something like this Execif $Message =~ /ERROR/ log_info($Message); But that only logs everything. Any pointer would be great. Paul Fontenot Enterprise Key Management Public Key

[nxlog-ce-users] pm_buffer question

2014-08-18 Thread Ward.P.Fontenot
I have two questions about pm_buffer 1. If you do not specify a Directory when using 'Type Disk' where does the buffer get written? 2. How do you specify a Directory in this context on a Windows server? I have used just about every variation of Directory D:\buffer\ I can think of using

[nxlog-ce-users] Pattern issue

2014-07-31 Thread Ward.P.Fontenot
I'm stumped and need a little push in the right direction I'm using this input - Input cdvra00a0100_in Module im_tcp Host 192.168.0.10 Port 5300 Exec

[nxlog-ce-users] Scheduling and Log Rotation

2014-07-30 Thread Ward.P.Fontenot
I have the following configuration and am experiencing an issue where the log rotates correctly from %LOG% to %LOG%.1 etc... but nxlog continues to write to %LOG$.1 and not reopen %LOG%. I have attempted to use logs_out-reopen() and that doesn't reopen %LOG%. Is there something that I am missing

[users@httpd] mod_rewrite question

2013-08-08 Thread Ward.P.Fontenot
I have the following URL that is no longer valid https://cms.example.com/enterprise/registration/browserinstructions.jsp?prod uctID=100 and I have beat myself silly trying to get it to redirect to the new correct URL https://cms.example.com/enterprise/registration/InternalPersonalCertificates

RE: [users@httpd] mod_rewrite question

2013-08-08 Thread Ward.P.Fontenot
My bad, this is a site that uses a fair amount of simple rewrite rules and they are all working correctly. -Original Message- From: Noah Duffy [mailto:noahdu...@fastmail.fm] Sent: Thursday, August 08, 2013 5:20 PM To: users@httpd.apache.org Subject: Re: [users@httpd] mod_rewrite question

Re: [Simple-evcorr-users] Pattern Match question

2013-06-25 Thread Ward.P.Fontenot
Thanks to all for the examples and explanations they greatly helped not only in this but in general knowledge of how to pattern match and utilize SEC. Below is the configuration I am using as well the new error I'm getting. Any insight would be great. # Prod Rules type=Single ptype=RegExp

[Simple-evcorr-users] Pattern Match question

2013-06-24 Thread Ward.P.Fontenot
Is there a good resource to demonstrate how to match more complex patterns? I need to match this pattern and I'm stumped. [org.apache.catalina.startup.Catalina] Server startup in 44 ms Any help is greatly appreciated. Paul Fontenot Enterprise Key Management Public Key Infrastructure | EISTO |

[Bacula-users] looking for a tape

2011-02-21 Thread Ward.P.Fontenot
The following is on a CentOS 5.5 x86_64 system with bacula 2.0.3-10 installed and working very well except for the following: I have a library that is looking for a tape that is not in the library 21-Feb 09:34 bacula-sd: 3302 Autochanger loaded? drive 0, result: nothing loaded. 21-Feb 09:34

Re: [Bacula-users] looking for a tape

2011-02-21 Thread Ward.P.Fontenot
How can I get this library to look for the next tape (04)? I am not sure exactly why you want this but you could always mark the other two tapes Full, Used, or Archive so that bacula ignores them. John It won't run a backup, it keeps telling me to load tape 3 which is offsite at Iron

[rsyslog] Win32 vs Linux format

2010-12-21 Thread Ward.P.Fontenot
Hi, I have a question about formatting - I'm certain I've simply overlooked something fairly simple I currently use syslog-ng on a linux central syslog server and have linux, solaris and Windows reporting to it just fine. We are building the replacement for this aging syslog-ng server and

Re: [Nagios-users] Using NSClient++ NRPE to check a local URI

2010-05-14 Thread Ward.P.Fontenot
NRPE for that? Is there a requirement that prevents you from using check_http from the Nagios server? From: Srdan Dukic [mailto:srdan.du...@gmail.com] Sent: Thursday, May 13, 2010 7:34 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Using NSClient++ NRPE to check a local URI

Re: [Nagios-users] Odd long URL

2010-05-11 Thread Ward.P.Fontenot
Thanks everyone, for future reference it worked like this for me ./check_http -H server.domain.com -u /crltest/http?server=server-m3.domain.compath=/CRL/crl=ent.crl -Original Message- From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Tuesday, May 11, 2010 9:32 AM To: Nagios

[Nagios-users] Odd long URL

2010-05-10 Thread Ward.P.Fontenot
Hello, After scratching my head until my head fell I have come to ask this question How can I monitor the following URL with Nagios? http://server.domain.com/crltest/http?server=server-m3.domain.compath=/CRL/crl=test.crl Paul Fontenot Enterprise Key Management Public Key Infrastructure Team

Re: [CentOS] Getting ready for CentOS 5.4

2009-03-23 Thread Ward.P.Fontenot
My thoughts exactly -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Noob Centos Admin Sent: Monday, March 23, 2009 10:00 PM To: CentOS mailing list Subject: Re: [CentOS] Getting ready for CentOS 5.4 snip So if it's possible, I'd be more

Re: [CentOS] iptables question

2009-02-23 Thread Ward.P.Fontenot
I've added the following and it still isn't working iptables -t nat -I PREROUTING -p tcp -m tcp --dport 8443 -j DNAT --to-destination 192.168.0.2:8443 iptables -A FORWARD -d 192.168.0.1 -p tcp -m tcp --dport 8443 -j ACCEPT I've enabled forwarding - not sure if it's needed but it's there just in

[CentOS] iptables question

2009-02-19 Thread Ward.P.Fontenot
Hi, I have two servers in the same subnet, one has this arrangement: BOX A [3 ips, one real two vips] BOX B [1 ip] I need to redirect input from one of the vips (192.168.0.1:8080) on BOX A to BOX B (192.168.0.2:8080) and I'm about to pull my hair out. Can anyone lend a hand? All my searching

Re: [CentOS] iptables question

2009-02-19 Thread Ward.P.Fontenot
I add that and telnet to the port on BOX A and get Trying 192.168.0.1... telnet: connect to address 192.168.0.1: Connection refused I can telnet to that port on BOX B and get a successful connection. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]

Re: [CentOS] iptables question

2009-02-19 Thread Ward.P.Fontenot
There are a few on there and I'm telnetting from a different box on that network. I'll dig around some more and eventually figure it out. Thanks for pointing me in the right direction. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Barry

Re: [CentOS] 5.2 x86_64 DVD

2009-02-12 Thread Ward.P.Fontenot
I had tried from a couple different mirrors listed on the CentOS page, I eventually recalled that ANL mirrors everything and pulled it down from there. No issues with the ANL download. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of

[CentOS] 5.2 x86_64 DVD

2009-02-11 Thread Ward.P.Fontenot
I've pulled this down with Firefox, wget, a bittorrent client and an ftp client using Windows as well as Linux hosts. Is something wrong with the distributed DVD image? It has failed an MD5 check every time I've pulled it down. Paul Fontenot Wells Fargo Public Key Infrastructure Team

Re: [CentOS] where is PD???

2009-02-05 Thread Ward.P.Fontenot
ksh-20060214-1.7 -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of mcclnx mcc Sent: Thursday, February 05, 2009 9:52 AM To: centos@centos.org Subject: [CentOS] where is PD??? I am installed ORACLE software and it say server did NOT have

Perl + OpenSSL

2005-11-21 Thread Ward.P.Fontenot
Can anyone shed some light on why this doesn't work? $certificate = /some/where/file.pem; $encoded = ' . sha1($_) . '; $signed = system(`openssl rsautl -certin $certificate -encrypt -in $encoded`); $signed doesn't end up as a certificate signed value, it ends up as this number 65280. $encoded

RE: Perl + OpenSSL

2005-11-21 Thread Ward.P.Fontenot
Well, that explained that. Is there a way to do this then? Or am I barking up the wrong tree? -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 2:06 PM To: Fontenot, Ward P. Cc: beginners@perl.org Subject: Re: Perl + OpenSSL [EMAIL

System call for openssl

2005-11-10 Thread Ward.P.Fontenot
If I have: $certificate = /home/oracle/certs/oracle.pem; $encoded = encode_base64($sha1data); Can I do something like this: system('openssl smime smime -sign -outform der -nodetach -out $signed -signer $certificate -in $encoded'); To get a value for $signed? Paul Fontenot WFS - CAST Operations

RE: how to print time ???

2005-11-08 Thread Ward.P.Fontenot
An example use POSIX qw(strftime); $date = strftime %Y.%m.%d.%H.%M.%S, localtime; print $date \n; Prints 2005.11.08.14.00.00 (Year, month, day, hour, minute, second) -Original Message- From: heena s [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 12:44 PM To: begineers perl

Oracle qouting ?

2005-11-07 Thread Ward.P.Fontenot
Sorry for being off topic on this one, it's not DBI specific but I'd rather not subscribe to an Oracle list for what will probably be a simple answer. I have the following insert statement: INSERT INTO message(FULLDATE,HOSTNAME,FACILITY,PRIORITY,MESSAGE,SHA1) VALUES('2005-Oct-21

Regex

2005-11-07 Thread Ward.P.Fontenot
I have a field that looks like this: 'modprobe: modprobe: Can't locate module char-major-10-134' I need to add a single quote so that it looks like this: 'modprobe: modprobe: Can''t locate module char-major-10-134' But I have no idea how to go about doing that, can I get an example? Thanks

RE: Regex

2005-11-07 Thread Ward.P.Fontenot
Yes they are -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 12:46 PM To: Fontenot, Ward P. Subject: RE: Regex Are the outer quotes part of the field? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Regex

2005-11-07 Thread Ward.P.Fontenot
I need to retain the outer quotes and only add the single quote if it exists in the field. For instance... Not here: 'kernel: mtrr: Serverworks LE detected. Write-combining disabled.' But here: 'modprobe: modprobe: Can't locate module char-major-10-134' I hope that makes it alittle clearer than

RE: Regex

2005-11-07 Thread Ward.P.Fontenot
Thanks a million, that one did it -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 1:55 PM To: Fontenot, Ward P. Cc: beginners@perl.org Subject: Re: Regex [EMAIL PROTECTED] wrote: I have a field that looks like this: 'modprobe:

RE: about creating a file in directory

2005-11-07 Thread Ward.P.Fontenot
You need to look for open / close. Example: open(TMP, test.file) || die Can't open test.file: $! \n; From there you are printing to it print TMP Whatever you are wanting to get into the file; And closing Close(TMP); -Original Message- From: ZHAO, BING [mailto:[EMAIL PROTECTED]

Newline inserted?

2005-10-24 Thread Ward.P.Fontenot
I have the following sql insert statement in a file: INSERT INTO message(FULLDATE,HOSTNAME,FACILITY,PRIORITY,MESSAGE,SHA1) VALUES('2005-Oct-18 11:53:21','pkitest.wellsfargo.com','auth ','info','su(pam_unix)[3638]: session opened for user oracle by root(uid=0)','H4vgmf+OJsT99kCfQuIpALY7k9k=');

RE: Newline inserted?

2005-10-24 Thread Ward.P.Fontenot
This runs as a CRON job loading syslog data into Oracle so SQL*Plus is not a good answer. Thanks for help though. -Original Message- From: Reidy, Ron [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 11:08 AM To: Fontenot, Ward P.; dbi-users@perl.org Subject: RE: Newline

Simple table question?

2005-01-03 Thread Ward.P.Fontenot
Hi, I have a working DBI::Oracle script that I am now trying to get CGI.pm to HTML-ize the output of, My problem is in the table statement how can I get the output of the while statement to be in the table? I have just about beat myself silly trying to figure this out. SCRIPT: #!/usr/bin/perl #

RE: Simple table question?

2005-01-03 Thread Ward.P.Fontenot
Thanks, that fixed it once I changed the us CGI qw(:standard escapeHTML); to use CGI qw/:standard *table/; -Original Message- From: Shaun Fryer [mailto:[EMAIL PROTECTED] Sent: Monday, January 03, 2005 3:18 PM To: Fontenot, Ward P. Subject: Re: Simple table question? On Mon, Jan 03,