¿ Are you doing (or have you done) something like this ?
I am planning to organize notifications beggining with the definition of the next nomenclature for my items:
sol-dataserver-oracle-sap-epp
where
sol = Solaris (send WARNING to sysadmins)
dataserver = Name of the server (send ALERT to the sysadmin on charge in that moment)
oracle = Name of the database (send WARNING to DBA's)
sap = Application that uses the database (send ALERT to SAP admins)
epp = SAP module that uses the database (send
So, each token is used to add people to the notificacion, but we want to send email to some persons, SMS to other persons, and both notifications to other persons, so the script we use to do this is getting confusing.
As a first aproximation, we will use four tables to handle notifications:
N_AREAS -> N_PERSONS -> N_NOTIFICATIONS <- N_TRIGGER_TOKENS
N_AREAS
id
description
celular1
tipo_cel1
N_PERSONS
id
area_id
num_employee
name
extension1
extension2
email1
email2
celular1
tipo_cel1
celular2
tipo_cel2
N_NOTIFICATIONS
id
person_id
trigger_id
include_exclude
f_email1
f_email2
f_celular1
f_celular2
N_TRIGGER_TOKENS
id
token
I am planning to organize notifications beggining with the definition of the next nomenclature for my items:
sol-dataserver-oracle-sap-epp
where
sol = Solaris (send WARNING to sysadmins)
dataserver = Name of the server (send ALERT to the sysadmin on charge in that moment)
oracle = Name of the database (send WARNING to DBA's)
sap = Application that uses the database (send ALERT to SAP admins)
epp = SAP module that uses the database (send
So, each token is used to add people to the notificacion, but we want to send email to some persons, SMS to other persons, and both notifications to other persons, so the script we use to do this is getting confusing.
As a first aproximation, we will use four tables to handle notifications:
N_AREAS -> N_PERSONS -> N_NOTIFICATIONS <- N_TRIGGER_TOKENS
N_AREAS
id
description
celular1
tipo_cel1
N_PERSONS
id
area_id
num_employee
name
extension1
extension2
email1
email2
celular1
tipo_cel1
celular2
tipo_cel2
N_NOTIFICATIONS
id
person_id
trigger_id
include_exclude
f_email1
f_email2
f_celular1
f_celular2
N_TRIGGER_TOKENS
id
token
Comment