![](https://secure.gravatar.com/avatar/39a7eb2714336ac6f5f67ad3794017bb.jpg?s=120&d=mm&r=g)
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 [CTG-logo-TAG-COLOR]
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.com
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
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 [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] 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 [CTG-logo-TAG-COLOR] 2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.com
![](https://secure.gravatar.com/avatar/39a7eb2714336ac6f5f67ad3794017bb.jpg?s=120&d=mm&r=g)
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 [CTG-logo-TAG-COLOR]
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.orgmailto:adama@observium.org"; $config['email']['from'] = "Observium Dev <adama@observium.orgmailto: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 Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 02/09/2015 16:11:15, Jason LeBlanc <jleblanc@ctgatlanta.commailto: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.commailto: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 [CTG-logo-TAG-COLOR]
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.comhttp://www.ctgatlanta.com
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
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 [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] 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 [CTG-logo-TAG-COLOR] 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 [mailto:adama@observium.org]"; $config['email']['from'] = "Observium Dev <adama@observium.org [mailto: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 [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 02/09/2015 16:11:15, Jason LeBlanc <jleblanc@ctgatlanta.com [mailto: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 [mailto: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 [CTG-logo-TAG-COLOR] 2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.com [http://www.ctgatlanta.com]
![](https://secure.gravatar.com/avatar/39a7eb2714336ac6f5f67ad3794017bb.jpg?s=120&d=mm&r=g)
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 [CTG-logo-TAG-COLOR]
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 Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 02/09/2015 17:16:28, Jason LeBlanc <jleblanc@ctgatlanta.commailto: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 [CTG-logo-TAG-COLOR]
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.comhttp://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.orgmailto: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.orgmailto:adama@observium.org"; $config['email']['from'] = "Observium Dev <adama@observium.orgmailto: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 Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 02/09/2015 16:11:15, Jason LeBlanc <jleblanc@ctgatlanta.commailto: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.commailto: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 [CTG-logo-TAG-COLOR]
2030 Powers Ferry Road SE | Suite 130 | Atlanta, GA 30339 Main: 404.352.3000 | Fax: 404.352.2962 | www.ctgatlanta.comhttp://www.ctgatlanta.com
participants (2)
-
Adam Armstrong
-
Jason LeBlanc