sending alerts about disk usage - multiple destination
list Leszek G Geba
Hi, my question is probably trivial, I apologise for that. I would like to monitor disk space on on multiple disks on one server and send messages to different recipients distinctively. i.e. I would like to send space usage warning messages related to "C drive" to email Recipient1 and do not want to send any message about it to email Recipient2 Also I would like to send space usage warning messages related to "D drive" to email Recipient2 and do not want to send any message about it to email Recipient1 I was trying to play with regular expressions, but I failed miserably. Any tip/suggestion would be much appreciated. -- kind regards Leszek G Geba
list Sebastian Auriol
It's not a trivial question, but I think you may be able to do it using DS in analysis.cfg so long as you don't mind have separate columns for C and D drives in the Xymon display pages... Take a look at "man analysis.cfg" and this thread, for example, for some examples on using DS: http://lists.xymon.com/pipermail/xymon/2012-December/036273.html Kind regards, SebA From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Leszek G Geba Sent: 22 January 2013 05:45 To: xymon at xymon.com Subject: [Xymon] sending alerts about disk usage - multiple destination
▸
Hi,
my question is probably trivial, I apologise for that.
I would like to monitor disk space on on multiple disks on one server and
send messages to different recipients distinctively.
i.e.
I would like to send space usage warning messages related to "C drive" to
email Recipient1 and do not want to send any message about it to email
Recipient2
Also
I would like to send space usage warning messages related to "D drive" to
email Recipient2 and do not want to send any message about it to email
Recipient1
I was trying to play with regular expressions, but I failed miserably.
Any tip/suggestion would be much appreciated.
--
kind regards
Leszek G Geba
list Larry Barber
Check out the "GROUP" directive in the analysis.cfg man page. Thanks, Larry Barber
▸
On Tue, Jan 22, 2013 at 6:37 AM, SebA <user-4631430d620a@xymon.invalid> wrote:
** It's not a trivial question, but I think you may be able to do it using DS in analysis.cfg so long as you don't mind have separate columns for C and D drives in the Xymon display pages... Take a look at "man analysis.cfg" and this thread, for example, for some examples on using DS: http://lists.xymon.com/pipermail/xymon/2012-December/036273.html Kind regards, SebA *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Leszek G Geba *Sent:* 22 January 2013 05:45 *To:* xymon at xymon.com *Subject:* [Xymon] sending alerts about disk usage - multiple destination Hi, my question is probably trivial, I apologise for that. I would like to monitor disk space on on multiple disks on one server and send messages to different recipients distinctively. i.e. I would like to send space usage warning messages related to "C drive" to email Recipient1 and do not want to send any message about it to email Recipient2 Also I would like to send space usage warning messages related to "D drive" to email Recipient2 and do not want to send any message about it to email Recipient1 I was trying to play with regular expressions, but I failed miserably. Any tip/suggestion would be much appreciated. -- kind regards Leszek G Geba
list Sebastian Auriol
Ah, even better! I'd forgotten about that feature. BTW, for my own possible uses, does this work on Windows, e.g. with BBWin (in Central mode only I assume)? Kind regards, SebA
▸
From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid] Sent: 22 January 2013 15:18 To: SebA Cc: Leszek G Geba; xymon at xymon.com Subject: Re: [Xymon] sending alerts about disk usage - multiple destination Check out the "GROUP" directive in the analysis.cfg man page. Thanks, Larry Barber On Tue, Jan 22, 2013 at 6:37 AM, SebA <user-4631430d620a@xymon.invalid> wrote: It's not a trivial question, but I think you may be able to do it using DS in analysis.cfg so long as you don't mind have separate columns for C and D drives in the Xymon display pages... Take a look at "man analysis.cfg" and this thread, for example, for some examples on using DS: http://lists.xymon.com/pipermail/xymon/2012-December/036273.html Kind regards, SebA From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Leszek G Geba Sent: 22 January 2013 05:45 To: xymon at xymon.com Subject: [Xymon] sending alerts about disk usage - multiple destination Hi, my question is probably trivial, I apologise for that. I would like to monitor disk space on on multiple disks on one server and send messages to different recipients distinctively. i.e. I would like to send space usage warning messages related to "C drive" to email Recipient1 and do not want to send any message about it to email Recipient2 Also I would like to send space usage warning messages related to "D drive" to email Recipient2 and do not want to send any message about it to email Recipient1 I was trying to play with regular expressions, but I failed miserably. Any tip/suggestion would be much appreciated. -- kind regards Leszek G Geba
list Larry Barber
It would only work with BBWin in centralized configuration mode, I'm afraid.
▸
Thanks,
Larry Barber
On Tue, Jan 22, 2013 at 11:02 AM, Sebastian Auriol <user-7b2156f36779@xymon.invalid> wrote:
** Ah, even better! I'd forgotten about that feature. BTW, for my own possible uses, does this work on Windows, e.g. with BBWin (in Central mode only I assume)? Kind regards, SebA *From:* Larry Barber [mailto:user-6ef9c2864140@xymon.invalid] *Sent:* 22 January 2013 15:18 *To:* SebA *Cc:* Leszek G Geba; xymon at xymon.com *Subject:* Re: [Xymon] sending alerts about disk usage - multiple destination Check out the "GROUP" directive in the analysis.cfg man page. Thanks, Larry Barber On Tue, Jan 22, 2013 at 6:37 AM, SebA <user-4631430d620a@xymon.invalid> wrote:** It's not a trivial question, but I think you may be able to do it using DS in analysis.cfg so long as you don't mind have separate columns for C and D drives in the Xymon display pages... Take a look at "man analysis.cfg" and this thread, for example, for some examples on using DS: http://lists.xymon.com/pipermail/xymon/2012-December/036273.html Kind regards, SebA *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Leszek G Geba *Sent:* 22 January 2013 05:45 *To:* xymon at xymon.com *Subject:* [Xymon] sending alerts about disk usage - multiple destination Hi, my question is probably trivial, I apologise for that. I would like to monitor disk space on on multiple disks on one server and send messages to different recipients distinctively. i.e. I would like to send space usage warning messages related to "C drive" to email Recipient1 and do not want to send any message about it to email Recipient2 Also I would like to send space usage warning messages related to "D drive" to email Recipient2 and do not want to send any message about it to email Recipient1 I was trying to play with regular expressions, but I failed miserably. Any tip/suggestion would be much appreciated. -- kind regards Leszek G Geba