On Tue, Apr 26, 2016 at 6:38 AM, Stuart Cracraft <smcracraft@me.com> wrote:
Thanks! Can you send an example of a filter to block pages?
Apparently subdue can only subdue from one time to another. I haven't been
able to get it to say block 7pm to 7am PLUS all hours from 7pm Friday to 7am
Sunday for non-prod.
On Apr 26, 2016, at 1:55 AM, Smith Joel (HEALTH AND SOCIAL CARE INFORMATION >> CENTRE) <joel.smith1@hscic.gov.uk> wrote:
I have the clients subscribe to a group dev, uat, live etc as appropriate.
You can then filter appropriately based on what the desired handler should
do – ie pager handler only deals with live subscribers.
From: sensu-users@googlegroups.com [mailto:sensu-users@googlegroups.com] On
Behalf Of Stuart Cracraft
Sent: 25 April 2016 19:13
To: sensu-users
Subject: sensu
I run Sensu Core. I want to save the expense and NOT own Sensu Enterprise.
So far, this has worked out nicely saving thousands and thousands of
dollars.
Thus far, I don't see an obvious way to do the following
if a production page, send it via both the email handler and pager
handler
if a non-production page, send it via email only
The /etc/sensu/conf.d/*.json's aren't subdivided generally across dev, qa,
uat, stage, production, and infrastructure.
I want something simple so that I don't have to special-case configure
everything and design it all into the build and deploy
and configuration management.
Have anyone who has set something up like that be willing to share?
I don't want to have to do things like lay out
allhosts:/etc/sensu/conf.d/client.json
changing that file with a restart of the sensu-client nor setup all
individual *.json's on the sensu server
modifying them.
This should be controllable from the Sensu server or its clients based on
schedules relating to what kind of system hostname
it is (prod is prod, qa is qa, etc.) rather some huge, massive bandaid.
********************************************************************************************************************
This message may contain confidential information. If you are not the
intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or
take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS
staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive
information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be
accessed anywhere
********************************************************************************************************************