how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting... under device properties/alerts there is an "ignore until" option as well as a "disable notifications" toggle.... [cid:image003.jpg@01D8530A.33555B80]
If I set the "ignore until" to sometime in the future and I (for example) restart the device...I still get alerted. If I toggle the "disable notifications" , I do not get the notifications anymore...however, it stays disabled past the "ignore until" time How is this feature supposed to work?
I am looking for a way to put a device in "maintenance mode" so that if I am upgrading etc...no alerts are generated and no notifications are sent.
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium observium@observium.org wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle….
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts.
2. Set “ignore until” to 1 hr in the future
3. Shutdown that server After the server shut down and a poling cycle passed, the observium screen shows [cid:image001.jpg@01D85328.8169A010] And [cid:image002.jpg@01D85328.8169A010]
From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam. Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. [image003.jpg]
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) {
$device['ignore_until_time'] = strtotime($device['ignore_until']);
if ($device['ignore_until_time'] > time()) {
$alert_suppressed = TRUE;
$suppressed[] = "DEV_U";
}
}
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno tonyg@guadagno.org Sent: 18 April 2022 18:31 To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server
After the server shut down and a poling cycle passed, the observium screen shows
And
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org mailto:observium@observium.org > wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle….
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time
How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
I just tested this, and it seems to work correctly :
It shows the device hostname/style as ignored too.
Adam.
From: observium observium-bounces@observium.org On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' tonyg@guadagno.org; 'Observium' observium@observium.org Cc: adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) {
$device['ignore_until_time'] = strtotime($device['ignore_until']);
if ($device['ignore_until_time'] > time()) {
$alert_suppressed = TRUE;
$suppressed[] = "DEV_U";
}
}
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org > Sent: 18 April 2022 18:31 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server
After the server shut down and a poling cycle passed, the observium screen shows
And
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org mailto:observium@observium.org > wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle….
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time
How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
Surprisingly, it seems to impact the status widgets too, I must have updated the code that generates their arrays.
Setting omega to ignored removes it from the status widgets, turning off the ignore_until makes it reappear in the widgets.
Are you sure you’re not confusing two different devices? This isn’t difficult with “windows admin” style naming schemes! 😃
Adam.
From: observium observium-bounces@observium.org On Behalf Of adama--- via observium Sent: 19 April 2022 14:39 To: 'Observium' observium@observium.org; 'Tony Guadagno' tonyg@guadagno.org Cc: adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
I just tested this, and it seems to work correctly :
It shows the device hostname/style as ignored too.
Adam.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' <tonyg@guadagno.org mailto:tonyg@guadagno.org >; 'Observium' <observium@observium.org mailto:observium@observium.org > Cc: adama@observium.org mailto:adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) {
$device['ignore_until_time'] = strtotime($device['ignore_until']);
if ($device['ignore_until_time'] > time()) {
$alert_suppressed = TRUE;
$suppressed[] = "DEV_U";
}
}
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org > Sent: 18 April 2022 18:31 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server
After the server shut down and a poling cycle passed, the observium screen shows
And
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org mailto:observium@observium.org > wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle….
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time
How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Adam, I just ran the test again, and got the same result:
[cid:image007.png@01D853D4.0AAC3620]
Note the time “ignore until” was set to 1 hr in the future. Then I shut down the server….after the polling interval: [cid:image008.png@01D853D4.0AAC3620]
I’m not sure what I am doing wrong….is it possibly a “time” issue….it thinks the time has passed so it is “out” of the window? Utc vs edt?
From: adama@observium.org adama@observium.org Sent: Tuesday, April 19, 2022 9:39 AM To: 'Observium' observium@observium.org; Tony Guadagno tonyg@guadagno.org Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
I just tested this, and it seems to work correctly :
[cid:image003.png@01D853D4.0AA29930]
It shows the device hostname/style as ignored too.
Adam.
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' <tonyg@guadagno.orgmailto:tonyg@guadagno.org>; 'Observium' <observium@observium.orgmailto:observium@observium.org> Cc: adama@observium.orgmailto:adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) { $device['ignore_until_time'] = strtotime($device['ignore_until']); if ($device['ignore_until_time'] > time()) { $alert_suppressed = TRUE; $suppressed[] = "DEV_U"; } }
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.orgmailto:tonyg@guadagno.org> Sent: 18 April 2022 18:31 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto:adama@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server After the server shut down and a poling cycle passed, the observium screen shows [cid:image004.jpg@01D853D4.0AA29930] And [cid:image005.jpg@01D853D4.0AA29930]
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto:adama@observium.org> Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam. Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. [image003.jpg]
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
The times are based on the server time.
Adam.
From: Tony Guadagno tonyg@guadagno.org Sent: 19 April 2022 14:59 To: adama@observium.org; 'Observium' observium@observium.org Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just ran the test again, and got the same result:
Note the time “ignore until” was set to 1 hr in the future. Then I shut down the server….after the polling interval:
I’m not sure what I am doing wrong….is it possibly a “time” issue….it thinks the time has passed so it is “out” of the window? Utc vs edt?
From: adama@observium.org mailto:adama@observium.org <adama@observium.org mailto:adama@observium.org > Sent: Tuesday, April 19, 2022 9:39 AM To: 'Observium' <observium@observium.org mailto:observium@observium.org >; Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org > Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
I just tested this, and it seems to work correctly :
It shows the device hostname/style as ignored too.
Adam.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' <tonyg@guadagno.org mailto:tonyg@guadagno.org >; 'Observium' <observium@observium.org mailto:observium@observium.org > Cc: adama@observium.org mailto:adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) {
$device['ignore_until_time'] = strtotime($device['ignore_until']);
if ($device['ignore_until_time'] > time()) {
$alert_suppressed = TRUE;
$suppressed[] = "DEV_U";
}
}
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org > Sent: 18 April 2022 18:31 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server
After the server shut down and a poling cycle passed, the observium screen shows
And
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org mailto:observium@observium.org > wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle….
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time
How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
I just verified that the date/time is correct on the server
From: adama@observium.org adama@observium.org Sent: Tuesday, April 19, 2022 10:47 AM To: Tony Guadagno tonyg@guadagno.org; 'Observium' observium@observium.org Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
The times are based on the server time.
Adam.
From: Tony Guadagno <tonyg@guadagno.orgmailto:tonyg@guadagno.org> Sent: 19 April 2022 14:59 To: adama@observium.orgmailto:adama@observium.org; 'Observium' <observium@observium.orgmailto:observium@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just ran the test again, and got the same result:
[cid:image001.png@01D853DB.1774E670]
Note the time “ignore until” was set to 1 hr in the future. Then I shut down the server….after the polling interval: [cid:image002.png@01D853DB.1774E670]
I’m not sure what I am doing wrong….is it possibly a “time” issue….it thinks the time has passed so it is “out” of the window? Utc vs edt?
From: adama@observium.orgmailto:adama@observium.org <adama@observium.orgmailto:adama@observium.org> Sent: Tuesday, April 19, 2022 9:39 AM To: 'Observium' <observium@observium.orgmailto:observium@observium.org>; Tony Guadagno <tonyg@guadagno.orgmailto:tonyg@guadagno.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
I just tested this, and it seems to work correctly :
[cid:image003.png@01D853DB.1774E670]
It shows the device hostname/style as ignored too.
Adam.
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' <tonyg@guadagno.orgmailto:tonyg@guadagno.org>; 'Observium' <observium@observium.orgmailto:observium@observium.org> Cc: adama@observium.orgmailto:adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) { $device['ignore_until_time'] = strtotime($device['ignore_until']); if ($device['ignore_until_time'] > time()) { $alert_suppressed = TRUE; $suppressed[] = "DEV_U"; } }
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.orgmailto:tonyg@guadagno.org> Sent: 18 April 2022 18:31 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto:adama@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened
1. Pick a server, go to properties/alerts. 2. Set “ignore until” to 1 hr in the future 3. Shutdown that server After the server shut down and a poling cycle passed, the observium screen shows [cid:image004.jpg@01D853DB.1774E670] And [cid:image005.jpg@01D853DB.1774E670]
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto:adama@observium.org> Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam. Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. [image003.jpg]
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0896e673efe2e0118c2617b5af6c817b.jpg?s=120&d=mm&r=g)
Tony,
Are you certain that you don't have two devices declared within Observium?
Your screenshots show one device with a FQDN (which you have set ignore on) and another device with just the short hostname (which is alerting).
Michael
On 20 Apr 2022, at 12:49 am, Tony Guadagno via observium observium@observium.org wrote:
I just verified that the date/time is correct on the server
From: adama@observium.org mailto:adama@observium.org <adama@observium.org mailto:adama@observium.org> Sent: Tuesday, April 19, 2022 10:47 AM To: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org>; 'Observium' <observium@observium.org mailto:observium@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
The times are based on the server time.
Adam.
From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org> Sent: 19 April 2022 14:59 To: adama@observium.org mailto:adama@observium.org; 'Observium' <observium@observium.org mailto:observium@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just ran the test again, and got the same result:
<image001.png>
Note the time “ignore until” was set to 1 hr in the future. Then I shut down the server….after the polling interval: <image002.png>
I’m not sure what I am doing wrong….is it possibly a “time” issue….it thinks the time has passed so it is “out” of the window? Utc vs edt?
From: adama@observium.org mailto:adama@observium.org <adama@observium.org mailto:adama@observium.org> Sent: Tuesday, April 19, 2022 9:39 AM To: 'Observium' <observium@observium.org mailto:observium@observium.org>; Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
I just tested this, and it seems to work correctly :
<image003.png>
It shows the device hostname/style as ignored too.
Adam.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> On Behalf Of adama--- via observium Sent: 19 April 2022 14:36 To: 'Tony Guadagno' <tonyg@guadagno.org mailto:tonyg@guadagno.org>; 'Observium' <observium@observium.org mailto:observium@observium.org> Cc: adama@observium.org mailto:adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Are you sure it’s generating notifications for devices with ignore_until set?
These alerts should have the “suppressed” state, the code seems correct to handle this :
if ($device['ignore_until']) { $device['ignore_until_time'] = strtotime($device['ignore_until']); if ($device['ignore_until_time'] > time()) { $alert_suppressed = TRUE; $suppressed[] = "DEV_U"; } }
The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them.
Adam.
From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org> Sent: 18 April 2022 18:31 To: Observium <observium@observium.org mailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org> Subject: RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
Adam, I just recreated this, this is what I did and what happened Pick a server, go to properties/alerts. Set “ignore until” to 1 hr in the future Shutdown that server After the server shut down and a poling cycle passed, the observium screen shows <image004.jpg> And <image005.jpg>
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium <observium@observium.org mailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org> Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org mailto:observium@observium.org> wrote:
Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. <image006.jpg>
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Observium does, in places, shorten the hostname for display efficiency, that may just be the case here.
Funnily enough I've only ever used "Ignore until okay" and never "Ignore until <date>" so I can't chime in :o
Tom
On 2022-04-20 05:19, Michael via observium wrote:
Tony,
Are you certain that you don't have two devices declared within Observium?
Your screenshots show one device with a FQDN (which you have set ignore on) and another device with just the short hostname (which is alerting).
Michael
On 20 Apr 2022, at 12:49 am, Tony Guadagno via observium observium@observium.org wrote:
I just verified that the date/time is correct on the server *From:*adama@observium.orgadama@observium.org *Sent:*Tuesday, April 19, 2022 10:47 AM *To:*Tony Guadagno tonyg@guadagno.org; 'Observium' observium@observium.org *Subject:*RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device The times are based on the server time. Adam. *From:*Tony Guadagno tonyg@guadagno.org *Sent:*19 April 2022 14:59 *To:*adama@observium.org; 'Observium' observium@observium.org *Subject:*RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device Adam, I just ran the test again, and got the same result: <image001.png> Note the time “ignore until” was set to 1 hr in the future. Then I shut down the server….after the polling interval: <image002.png> I’m not sure what I am doing wrong….is it possibly a “time” issue….it thinks the time has passed so it is “out” of the window? Utc vs edt? *From:*adama@observium.orgadama@observium.org *Sent:*Tuesday, April 19, 2022 9:39 AM *To:*'Observium' observium@observium.org; Tony Guadagno tonyg@guadagno.org *Subject:*RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device I just tested this, and it seems to work correctly : <image003.png> It shows the device hostname/style as ignored too. Adam. *From:*observium observium-bounces@observium.org*On Behalf Of*adama--- via observium *Sent:*19 April 2022 14:36 *To:*'Tony Guadagno' tonyg@guadagno.org; 'Observium' observium@observium.org *Cc:*adama@observium.org *Subject:*Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device Are you sure it’s generating notifications for devices with ignore_until set? These alerts should have the “suppressed” state, the code seems correct to handle this : if ($device['ignore_until']) { $device['ignore_until_time'] = strtotime($device['ignore_until']); if ($device['ignore_until_time'] > time()) { $alert_suppressed = TRUE; $suppressed[] = "DEV_U"; } } The second image is showing old/deprecated “status” widgets. These pre-date the alerting system. They’re mostly just retained for the people who were using them when we switched to the current alerting system. I can probably extend ignore_until to these, but at present it probably doesn’t interact with them. Adam. *From:*Tony Guadagno tonyg@guadagno.org *Sent:*18 April 2022 18:31 *To:*Observium observium@observium.org *Cc:*Adam Armstrong adama@observium.org *Subject:*RE: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device Adam, I just recreated this, this is what I did and what happened
- Pick a server, go to properties/alerts.
- Set “ignore until” to 1 hr in the future
- Shutdown that server
After the server shut down and a poling cycle passed, the observium screen shows <image004.jpg> And <image005.jpg> *From:*observium observium-bounces@observium.org*On Behalf Of*Adam Armstrong via observium *Sent:*Monday, April 18, 2022 1:10 PM *To:*Observium observium@observium.org *Cc:*Adam Armstrong adama@observium.org *Subject:*Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device What do you mean by “still get alerted”?
Adam.
Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.org> wrote: Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. <image006.jpg> If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work? I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Adam, fyi, other monitoring apps allow you to suspend or pause alert/notifications for a device for a period of time, after that time elapses, then the alerting and notification are automatically re-enabled. Here is seems that the notifications are handled separately (even though they are in the same config screen) and do not re-enable with the alerts. I think this should be improved. I don’t think (imho) that you need to treat alerting and notifications separately, when I take down a server for patching etc, I want to disable both, never one or the other. I have also noticed that for the alerts, if I set “ignore until” for an hour in the future, after that hour has passed, the screen still shows that the “ignore until” is checked (and seemingly) active…it is not of course, but after the hour passes, the system should remove the check and re-enable notifications so that it is not confusing.
Just my 2 cents
From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong via observium Sent: Monday, April 18, 2022 1:10 PM To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] how does "ignore until" under device/alert settings work?...looking for a "in maintenance" mode for a device
What do you mean by “still get alerted”?
Adam. Sent from my iPhone
On 18 Apr 2022, at 14:54, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Sorry if this is an obvious question but I have been playing with this and it does not behave the way I am expecting… under device properties/alerts there is an “ignore until” option as well as a “disable notifications” toggle…. [image003.jpg]
If I set the “ignore until” to sometime in the future and I (for example) restart the device…I still get alerted. If I toggle the “disable notifications” , I do not get the notifications anymore…however, it stays disabled past the “ignore until” time How is this feature supposed to work?
I am looking for a way to put a device in “maintenance mode” so that if I am upgrading etc…no alerts are generated and no notifications are sent. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (5)
-
Adam Armstrong
-
adama@observium.org
-
Michael
-
Tom Laermans
-
Tony Guadagno