Set “ignore” and/or “ignore_until” via the API (“Changing a device”)
https://docs.observium.org/api/#changing-a-device
________________________________ Spencer J. Ryan| Manager, Technology and Infrastructure Miller Canfield T +1.313.496.7979 | F +1.313.496.7500 ________________________________
From: Tony Guadagno via observium observium@lists.observium.org Sent: Monday, November 27, 2023 4:59 PM To: Observium observium@lists.observium.org Cc: Tony Guadagno tonyg@guadagno.org Subject: [Observium] Re: is there an alert kill switch?
Caution: This is an external email. Do not open attachments or click links from unknown or unexpected emails.
Tom, yes, I am aware of how to disable the alerts for a specific device. What I want to do is disable alerts system wide for a time period. I can take responsibility for scripting the disable/enable part….but is there a way at the OS level to system wide disable alerts?
Tony Guadagno O +1 585 577 1003 C +1 585 703 6700 E tonyg@guadagnoconsulting.commailto:tonyg@guadagnoconsulting.com [cid:image001.jpg@01DA2157.E49BFB70]
From: Tom Laermans via observium <observium@lists.observium.orgmailto:observium@lists.observium.org> Sent: Monday, November 27, 2023 4:52 PM To: Tony Guadagno via observium <observium@lists.observium.orgmailto:observium@lists.observium.org> Cc: Tom Laermans <tom.laermans@powersource.cxmailto:tom.laermans@powersource.cx> Subject: [Observium] Re: is there an alert kill switch?
Hi Tony,
There is an option to disable alerting for a device. You can set and unset this option using the API. That could possibly work? (note it disables ALL alerting on the device for the time that checkmark is on)
Alternatively, you could also set a "delay" variable on your alerts - which means they won't fire after x times 5 minutes have passed, allowing your machine to reboot and come back up before an alert is sent. However this delays ALL your alerts for that specific checker for x times 5 minutes which is probably undesirable (so it depends what alerts you're seeing to make that call...)
Tom
On 27/11/2023 21:02, Tony Guadagno via observium wrote: Hi, when my Microsoft servers patch monthly, they often reboot and that causes an alert that is unnecessary for me. Is there a way (maybe a script I could write) that would disable alerting? I am thinking about making a cron job that would run monthly (at the time I am patching) that would disable alerting…then maybe 2 hrs later, re-enable alerting.
Is this possible?
Tony Guadagno O +1 585 577 1003 C +1 585 703 6700 E tonyg@guadagnoconsulting.commailto:tonyg@guadagnoconsulting.com [cid:image001.jpg@01DA2157.E49BFB70]
_______________________________________________
observium mailing list -- observium@lists.observium.orgmailto:observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.orgmailto:observium-leave@lists.observium.org
You have received a message from the law firm Miller Canfield. The information contained in or attached to this electronic mail may be privileged and/or confidential. If you received this transmission and are not the intended recipient, you should not read this message and are hereby notified that any dissemination, distribution or copying of this communication and/or its attachments is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and delete or destroy the original and any copies, electronic, paper or otherwise, that you may have of this communication and any attachments.