mailing list search
list Sue Bauer-Lee
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
▸
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
▸
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
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
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
▸
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
Log and file work the same way. file:`/usr/bin/sudo ls /var/spool/mqueue/Qf*` file:`ls /core.*`
▸
-----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
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
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.
▸
-----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
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
▸
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