Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam. On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote: Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa]
Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam. On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote: Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam. On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote: Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa]
probably something is wrong because no email after interface go down
Alert: Test: ifOperStatus equal down ifOperStatus equal up
Device Match: hostname match sw29 ifDescr match FastEthernet4/0/3
Eventlog: 57s Interface changed: [ifAdminStatus] up -> down; [ifDuplex] fullDuplex -> unknown
Syslog: LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet4/0/3, changed state to down
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:50 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam.
On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote:
Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
The ifDescr part goes into "Entity Match", and after that is saved you need to click the "regenerate alerts" button at the top :)
Make sure it's correctly assocated that alert to that entity.
adam. On 05/08/2015 09:18:51, chott@praha1.net chott@praha1.net wrote: probably something is wrong because no email after interface go down
Alert: Test: ifOperStatus equal down ifOperStatus equal up
Device Match: hostname match sw29 ifDescr match FastEthernet4/0/3
Eventlog: 57s Interface changed: [ifAdminStatus] up -> down; [ifDuplex] fullDuplex -> unknown
Syslog: LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet4/0/3, changed state to down
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:50 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam. On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote: Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam. On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote: Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa]
sorry ifDescr was into Entity
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 10:24 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
The ifDescr part goes into "Entity Match", and after that is saved you need to click the "regenerate alerts" button at the top :)
Make sure it's correctly assocated that alert to that entity.
adam.
On 05/08/2015 09:18:51, chott@praha1.net chott@praha1.net wrote:
probably something is wrong because no email after interface go down
Alert: Test: ifOperStatus equal down ifOperStatus equal up
Device Match: hostname match sw29 ifDescr match FastEthernet4/0/3
Eventlog: 57s Interface changed: [ifAdminStatus] up -> down; [ifDuplex] fullDuplex -> unknown
Syslog: LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet4/0/3, changed state to down
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:50 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam.
On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote:
Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
screen attached
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele chott@praha1.net [chott@praha1.net] Odesláno: 5. srpna 2015 10:30 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
sorry ifDescr was into Entity
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 10:24 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
The ifDescr part goes into "Entity Match", and after that is saved you need to click the "regenerate alerts" button at the top :)
Make sure it's correctly assocated that alert to that entity.
adam.
On 05/08/2015 09:18:51, chott@praha1.net chott@praha1.net wrote:
probably something is wrong because no email after interface go down
Alert: Test: ifOperStatus equal down ifOperStatus equal up
Device Match: hostname match sw29 ifDescr match FastEthernet4/0/3
Eventlog: 57s Interface changed: [ifAdminStatus] up -> down; [ifDuplex] fullDuplex -> unknown
Syslog: LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet4/0/3, changed state to down
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:50 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam.
On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote:
Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Your delay is set for 3, so it has to be down for 15 minutes to generate an alert.
Check the alert log for that port :) On 05/08/2015 09:34:39, chott@praha1.net chott@praha1.net wrote: screen attached
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele chott@praha1.net [chott@praha1.net] Odesláno: 5. srpna 2015 10:30 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
sorry ifDescr was into Entity
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 10:24 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
The ifDescr part goes into "Entity Match", and after that is saved you need to click the "regenerate alerts" button at the top :)
Make sure it's correctly assocated that alert to that entity.
adam. On 05/08/2015 09:18:51, chott@praha1.net chott@praha1.net wrote: probably something is wrong because no email after interface go down
Alert: Test: ifOperStatus equal down ifOperStatus equal up
Device Match: hostname match sw29 ifDescr match FastEthernet4/0/3
Eventlog: 57s Interface changed: [ifAdminStatus] up -> down; [ifDuplex] fullDuplex -> unknown
Syslog: LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet4/0/3, changed state to down
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:50 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Yeah, that's correct.
I'm putting together the UI parts for it now.
adam. On 05/08/2015 08:48:17, chott@praha1.net chott@praha1.net wrote: Like this?
contact_method = "email" contact_endpoint "name@domain.com"
alert_checker_id = "ID from alert_assoc table" ? alert_contact_id = "ID from alert_contact table" ?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 5. srpna 2015 9:32 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam. On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote: Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa]
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote:
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.net chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
|ifOperStatus equal down | |hostname match sw29| |FastEthernet4/0/3
doesnt work
Tomas |
email-header-praha1
*Tomas Chott technický ředitel***
chott@praha1.net mailto:chott@praha1.net* *Phone:*+420 245 004 005 *Mobile:*+420 604 930 119***
*Metropolitní síť Praha 1 z.s.p.o.* Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net http://www.praha1.net
Popis: Facebook http://www.facebook.com/praha1nethttp://www.linkedin.com/pub/tomas-chott/49/97a/1aa
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hello :-)
iam back to config Alert per Port DOWN/UP
Now observium correctly recognize Device and Port, we have problem with "Check Conditions"
we need monitoring state and admin state
there is attach with screen
and Conditions here:
Requires all conditions to match ifOperStatus equal down ifOperStatus equal up ifAdminStatus equal down ifAdminStatus equal up
But Observium status is OK
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Tom Laermans [tom.laermans@powersource.cx] Odesláno: 5. srpna 2015 10:48 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote: Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.netmailto:chott@praha1.net chott@praha1.netmailto:chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Why are you trying to match up and down? :)
If you want an alert when an enabled port is down you want :
ifAdminStatus equals up ifOperStatus notequals up
As the check conditions.
adam. On 17/08/2015 10:30:20, chott@praha1.net chott@praha1.net wrote: Hello :-)
iam back to config Alert per Port DOWN/UP
Now observium correctly recognize Device and Port, we have problem with "Check Conditions"
we need monitoring state and admin state
there is attach with screen
and Conditions here:
Requires all conditions to match ifOperStatus equal down ifOperStatus equal up ifAdminStatus equal down ifAdminStatus equal up
But Observium status is OK
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa] Od: observium [observium-bounces@observium.org] za uživatele Tom Laermans [tom.laermans@powersource.cx] Odesláno: 5. srpna 2015 10:48 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote:
Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam. On 05/08/2015 08:27:59, chott@praha1.net [mailto:chott@praha1.net] chott@praha1.net [mailto:chott@praha1.net] wrote: Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 604 930 119 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [Popis: Facebook] [http://www.facebook.com/praha1net] [http://www.linkedin.com/pub/tomas-chott/49/97a/1aa]
_______________________________________________ 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]
Thank you,
i have problem in Require ANY/ALL
But other question
Is there some support for Language pack?
Or can i Modify Alert Email Texts?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 17. srpna 2015 16:06 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Why are you trying to match up and down? :)
If you want an alert when an enabled port is down you want :
ifAdminStatus equals up ifOperStatus notequals up
As the check conditions.
adam.
On 17/08/2015 10:30:20, chott@praha1.net chott@praha1.net wrote:
Hello :-)
iam back to config Alert per Port DOWN/UP
Now observium correctly recognize Device and Port, we have problem with "Check Conditions"
we need monitoring state and admin state
there is attach with screen
and Conditions here:
Requires all conditions to match ifOperStatus equal down ifOperStatus equal up ifAdminStatus equal down ifAdminStatus equal up
But Observium status is OK
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Tom Laermans [tom.laermans@powersource.cx] Odesláno: 5. srpna 2015 10:48 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote: Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.netmailto:chott@praha1.net chott@praha1.netmailto:chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I think Mike is in the process of writing customisable email templates (I assume it's not already done, we can ask him when he's back on the 28th!)
You have staff members who can't understand the English?
Perhaps we could "localise" the email templates. Localisation of the entire platform is probably unfeasibly complex at this late stage, but notifications might be possible.
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 17 August 2015 15:56:58 "chott@praha1.net" chott@praha1.net wrote:
Thank you,
i have problem in Require ANY/ALL
But other question
Is there some support for Language pack?
Or can i Modify Alert Email Texts?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 17. srpna 2015 16:06 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Why are you trying to match up and down? :)
If you want an alert when an enabled port is down you want :
ifAdminStatus equals up ifOperStatus notequals up
As the check conditions.
adam.
On 17/08/2015 10:30:20, chott@praha1.net chott@praha1.net wrote:
Hello :-)
iam back to config Alert per Port DOWN/UP
Now observium correctly recognize Device and Port, we have problem with "Check Conditions"
we need monitoring state and admin state
there is attach with screen
and Conditions here:
Requires all conditions to match ifOperStatus equal down ifOperStatus equal up ifAdminStatus equal down ifAdminStatus equal up
But Observium status is OK
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
Od: observium [observium-bounces@observium.org] za uživatele Tom Laermans [tom.laermans@powersource.cx] Odesláno: 5. srpna 2015 10:48 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote: Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.netmailto:chott@praha1.net chott@praha1.netmailto:chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
observium mailing list observium@observium.orgmailto: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
Hi
Staff is not problem, but Corporate customers....
:-)
But Adam
we have still problem with Allerting for Port Down
i have Corectly sets Condition and Associations but Observium send email only for RECOVERY
i try set Condition
ifAdminStatus notequals up ifOperStatus notequals up
ifAdminStatus equals up ifOperStatus notequals up
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 17. srpna 2015 17:53 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
I think Mike is in the process of writing customisable email templates (I assume it's not already done, we can ask him when he's back on the 28th!)
You have staff members who can't understand the English?
Perhaps we could "localise" the email templates. Localisation of the entire platform is probably unfeasibly complex at this late stage, but notifications might be possible.
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 17 August 2015 15:56:58 "chott@praha1.net" chott@praha1.net wrote:
Thank you,
i have problem in Require ANY/ALL
But other question
Is there some support for Language pack?
Or can i Modify Alert Email Texts?
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Adam Armstrong [adama@memetic.org] Odesláno: 17. srpna 2015 16:06 Komu: observium@observium.org Předmět: Re: [Observium] Question Allerting
Why are you trying to match up and down? :)
If you want an alert when an enabled port is down you want :
ifAdminStatus equals up ifOperStatus notequals up
As the check conditions.
adam.
On 17/08/2015 10:30:20, chott@praha1.net chott@praha1.net wrote:
Hello :-)
iam back to config Alert per Port DOWN/UP
Now observium correctly recognize Device and Port, we have problem with "Check Conditions"
we need monitoring state and admin state
there is attach with screen
and Conditions here:
Requires all conditions to match ifOperStatus equal down ifOperStatus equal up ifAdminStatus equal down ifAdminStatus equal up
But Observium status is OK
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
________________________________ Od: observium [observium-bounces@observium.org] za uživatele Tom Laermans [tom.laermans@powersource.cx] Odesláno: 5. srpna 2015 10:48 Komu: Observium Network Observation System Předmět: Re: [Observium] Question Allerting
Actually, it needs to be ifDescr equals FastEthernet4/0/3 - if using match, please use * where you're thinking the matching should happen, as to not raise expectations that are incorrect wrt "match" vs "equals" behaviour ;-)
On 2015-08-05 09:32, Adam Armstrong wrote: Hi Tomas,
Your association below needs to be "ifDescr match FastEthernet4/0/3"
You can manually add per-alert checker contacts using the 'alert_contacts' and 'alert_contacts_assoc' tables in the database. For email, the contact endpoint would be 'email'.
The editing UI for this isn't finished yet, and these tables might go away in future if we replace them with something else, but for now you can do it in here.
adam.
On 05/08/2015 08:27:59, chott@praha1.netmailto:chott@praha1.net chott@praha1.netmailto:chott@praha1.net wrote:
Hello team
we have question from our customer, if i can sending Email with alert for interface down status for specific switch
and send to specific email only for one customer
for example Cisco sw29, port FastEthernet 4/0/3
i can try set
ifOperStatus equal down
hostname match sw29 FastEthernet4/0/3
doesnt work
Tomas
[email-header-praha1]
Tomas Chott technický ředitel chott@praha1.netmailto:chott@praha1.net Phone: +420 245 004 005 Mobile: +420 604 930 119
Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.nethttp://www.praha1.net [Popis: Facebook]http://www.facebook.com/praha1net http://www.linkedin.com/pub/tomas-chott/49/97a/1aa
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.orgmailto:observium%40observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
chott@praha1.net
-
Tom Laermans