Working! Thanks! Now the service desk guys can stop hating me for cluttering the ticketing system. =P
Jason LeBlanc
IT Consultant
Direct: 678-387-5529 |
Cell: 954-461-6492
2030 Powers Ferry Road SE
| Suite 130
| Atlanta, GA 30339
Main: 404.352.3000
| Fax: 404.352.2962
| www.ctgatlanta.com
From: observium [mailto:observium-bounces@observium.org]
On Behalf Of Adam Armstrong
Sent: Wednesday, September 02, 2015 12:18 PM
To: observium@observium.org
Subject: Re: [Observium] Alerting
Yup!
Setting a default using the block I gave will override the device's sysContact, and associating a contact in the UI with an alert will disable the default for that alert.
adam.
Sent from
Mailbird
On 02/09/2015 17:16:28, Jason LeBlanc <jleblanc@ctgatlanta.com> wrote:
So delete all the lines I have and replace with what you sent? Sorry, I am having one of those days, I do not trust my brain..
Jason LeBlanc
IT Consultant
Direct: 678-387-5529 | Cell: 954-461-6492
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339
Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.com
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, September 02, 2015 12:14 PM
To: observium@observium.org
Subject: Re: [Observium] Alerting
Hi Jason,
We don't use that syntax (never did, but it stayed in the default config for some insane reason)
This will do what you want :
$config['email']['default'] = "adama@observium.org";
$config['email']['from'] = "Observium Dev <adama@observium.org>";
$config['email']['default_only'] = TRUE;
And/or you can use the contacts system. Tomorrow I'll see about adding a "defaults" setting for contacts to be the default for alert checkers with no specific contact set.
adam.
Sent from Mailbird
On 02/09/2015 16:11:15, Jason LeBlanc <jleblanc@ctgatlanta.com> wrote:
Here is my config, yet it is still sending to the SNMP sysContact email address:
// Set up a default alerter (email to a single address)
$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";
$config['alerts']['alerter']['default']['type'] = "email";
$config['alerts']['alerter']['default']['contacts'] = "jleblanc@ctgatlanta.com";
$config['alerts']['alerter']['default']['enable'] = TRUE;
$config['alerts']['alerter']['default']['email']['default_only'] = TRUE;
$config['alerts']['email']['graphs'] = FALSE;
What am I missing?
Jason LeBlanc
IT Consultant
Direct: 678-387-5529 | Cell: 954-461-6492
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339
Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.com