Xymon Mailing List Archive search

mailing list search

11 messages in this thread

list Sue Bauer-Lee · Tue, 22 Jul 2014 04:43:11 +0000 ·
List search seems to be broken ATM. Please does someone with access have a moment to repair?

Sue Bauer-Lee
Systems Engineer
MultiPlan
535 E. Diehl Rd.
Naperville, IL 60563


NOTICE OF CONFIDENTIALITY: This message and any attachments contains confidential information belonging to the sender intended only for the use of the individual or entity named above. If you are not the intended recipient, be advised that copying, disclosure or reliance upon the contents is strictly prohibited. If you have received this message in error please notify the sender immediately.


This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
list Henrik Størner · Tue, 22 Jul 2014 16:00:16 +0200 ·
quoted from Sue Bauer-Lee
Den 22-07-2014 06:43, Bauer-Lee, Sue skrev:
List search seems to be broken ATM. Please does someone with access have
a moment to repair?
The server hosting the Xymon mailing list crashed yesterday, so I spent
yesterday moving everything to another server.

I'll have a look at the search stuff.


Regards,
Henrik
list Henrik Størner · Tue, 22 Jul 2014 16:33:23 +0200 ·
quoted from Henrik Størner
Den 22-07-2014 16:00, Henrik Størner skrev:
Den 22-07-2014 06:43, Bauer-Lee, Sue skrev:
List search seems to be broken ATM. Please does someone with access have
a moment to repair?
The server hosting the Xymon mailing list crashed yesterday, so I spent
yesterday moving everything to another server.

I'll have a look at the search stuff.
It is working now.


Regards,
Henrik
list Oliver · Fri, 25 Jul 2014 10:25:03 +0200 ·
Hello!

I have an application that creates everyday a new logfile and I want to monitor it. The manpage for client-local.cfg says:


	The file:FILENAME line defines the filename of the file to monitor.  As
	with the "log:" entries, a  filename  enclosed  in  backticks  means  a
	command  which  will  generate  the filenames dynamically.

My question is: From what version on does xymon support this feature? I'm currently running 4.2.3. And can someone give me an example for the syntax with backticks?

Thanks in advance!

Oliver
list Oliver · Fri, 25 Jul 2014 10:27:20 +0200 ·
Hello!

I have an application that creates everyday a new logfile and I want to
monitor it. The manpage for client-local.cfg says:


	The file:FILENAME line defines the filename of the file to monitor.  As
	with the "log:" entries, a  filename  enclosed  in  backticks  means  a
	command  which  will  generate  the filenames dynamically.

My question is: From what version on does xymon support this feature?
I'm currently running 4.2.3. And can someone give me an example for the
syntax with backticks?

Thanks in advance!

Oliver
list Oliver · Fri, 25 Jul 2014 10:30:26 +0200 ·
quoted from Oliver
Hello!

I have an application that creates everyday a new logfile and I want to
monitor it. The manpage for client-local.cfg says:


	The file:FILENAME line defines the filename of the file to monitor.  As
	with the "log:" entries, a  filename  enclosed  in  backticks  means  a
	command  which  will  generate  the filenames dynamically.

My question is: From what version on does xymon support this feature?
I'm currently running 4.2.3. And can someone give me an example for the
syntax with backticks?

Thanks in advance!

Oliver

P.S. I hope that this time my message does not count as reply to any 
previous message.
list Paul Root · Fri, 25 Jul 2014 13:15:15 +0000 ·
Log and file work the same way.

file:`/usr/bin/sudo  ls /var/spool/mqueue/Qf*`
file:`ls /core.*`
quoted from Oliver

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Oliver
Sent: Friday, July 25, 2014 3:30 AM
To: xymon at xymon.com
Subject: [Xymon] dynamic logfile name

Hello!

I have an application that creates everyday a new logfile and I want to
monitor it. The manpage for client-local.cfg says:


	The file:FILENAME line defines the filename of the file to monitor.  As
	with the "log:" entries, a  filename  enclosed  in  backticks  means  a
	command  which  will  generate  the filenames dynamically.

My question is: From what version on does xymon support this feature?
I'm currently running 4.2.3. And can someone give me an example for the
syntax with backticks?

Thanks in advance!

Oliver

P.S. I hope that this time my message does not count as reply to any 
previous message.
list Oliver · Tue, 29 Jul 2014 08:21:29 +0200 ·
Dear Paul,

thank you for the examples. According to this I tried the following 
lines, but they did not work:

log:`ls /path/to/server_logs/$(date +%Y%m%d)`:102400
file:`ls /path/to/server_logs/$(date +%Y%m%d)`

Can you tell me please, how to escape the date-command?

Regards

Oliver
list Paul Root · Tue, 29 Jul 2014 14:29:33 +0000 ·
Hmm, that looks ok to me. 

You could cheat at do:

log:`ls /path/to/server_logs/201*`:102400

That wouldn't break until 2020.

A couple of things though. After changing client-local.cfg you need to restart xymon. Then it still takes way more time than I think it should for something to show up. 

Inevitably, I get impatient and walk away, that's when it starts up, figures out what I did wrong, marks something red and pages the oncall.

Paul.
quoted from Oliver

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Oliver
Sent: Tuesday, July 29, 2014 1:21 AM
To: xymon at xymon.com
Subject: Re: [Xymon] dynamic logfile name

Dear Paul,

thank you for the examples. According to this I tried the following 
lines, but they did not work:

log:`ls /path/to/server_logs/$(date +%Y%m%d)`:102400
file:`ls /path/to/server_logs/$(date +%Y%m%d)`

Can you tell me please, how to escape the date-command?

Regards

Oliver
list Oliver · Wed, 30 Jul 2014 08:30:15 +0200 ·
Thank you for your response!
This syntax works absolutely fine, I've had a typo in the path, so it 
did not work yesterday:

log:`ls /path/to/server_logs/$(date +%Y%m%d)`:102400
file:`ls /path/to/server_logs/$(date +%Y%m%d)`
list Jeremy Laidman · Wed, 6 Aug 2014 16:38:11 +1000 ·
quoted from Oliver
On 30/07/2014 4:30 PM, "Oliver" <user-ee1bcc3b4e18@xymon.invalid> wrote:
This syntax works absolutely fine, I've had a typo in the path, so it did
not work yesterday:
For future reference, you can catch some errors by redirecting output to a
file. At the very least the presence of the file tells you that the
scriptlet is being executed.

file:`ls /path/to/server_logs/$(date +%Y%m%d) >/tmp/testfile 2>&1`

J