We do have the default contact set, but what I want is to pick alert contacts per device, not per alert check, and those alert contacts are not Email based.

 

Example: “Device offline” checker. If the device is a network device I want it to use the PagerDuty contact with integration key XXXXX because that is tied to the network team, but if it’s a “server” I want it to use a Slack integration because the server team uses slack.

 

Right now there is no way to do that other than make alert checkers for every single combination.

 

Per device you can go into settings->Alerts and enable “Override sysContact”, but that field seems to only apply to the email subsystem. I want to be able to put a pagerduty integration in there (or more realistically, pick from an existing contact already set up).

 

Hope that clarifies what we want.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong via observium
Sent: Tuesday, April 21, 2020 7:34 PM
To: 'Observium'
Cc: Adam Armstrong
Subject: Re: [Observium] sysContact-->Observium Contact

 

CAUTION EXTERNAL EMAIL: DO NOT open attachments or click links from unknown or unexpected emails.

 

The sysContact will (should, but I don’t think anyone has relied on it pretty much ever) be used if no other contacts are specified for a given alert.

 

Our setup encourages people to set a default contact, because relying on sysContact got very messy very quickly. (imagine a stupid vendor who hardcodes it to their sales address, or who limits the field to 8 characters).

 

It might be easy/trivial/impossible for us to tie a “magic” email contact to be replaced with sysContact, though. I think this would solve your problem. I’d need to see if sysContact is indeed available at the necessary points in the code. (variable scope, how does it work?)

 

Adam.

 

From: observium <observium-bounces@observium.org> On Behalf Of Ryan, Spencer J. via observium
Sent: 22 April 2020 00:29
To: observium@observium.org
Cc: Ryan, Spencer J. <Ryan@millercanfield.com>
Subject: [Observium] sysContact-->Observium Contact

 

 

Is it possible to use a device’s sysContact (Either from SNMP or an override) to tie that to a specific observium contact, or is that for the email transport only?

 

My use case is that I want different devices to go to different pagerduty integrations, and the only way I can see to do that right now is to build different alert checks for each set, with the correct PD “Contact” associated with that checker.

 

Thanks in advance!

 


Spencer J. Ryan | Manager, Technology and Infrastructure

Miller Canfield

T +1.313.496.7979