Notification Profile
Notification profiles are a way of designing flexible notifications for a contact. It is now possible for a single contact to define all these notifications:
- Receive SMS notifications 24×7 for critical states for my billing application
- Receive SMS during non working hours for the production email system
- Receive RSS for production database systems, from the 2nd notification onwards
- Receive RSS and emails for all state changes for all objects
For any given problem, a contact will not receive more than 1 notification for each notification method.
A notification profile is contact specific, so a contact can only change their own profiles (CONFIGURESAVE access rights allow changes to other contact's notification profiles). The available objects to select is based on the contact's access rights to objects.
Name
Name for the notification profile. If a notification is sent from Nagios® Core using this profile, Nagios Core will say it was sent via a contact with the name of {contactname}/XX{name}.
This name must be unique for the contact.
Notify by
This is a list of all the active notification methods defined on the system. Choose the notification methods you would like to receive for the objects and filters below.
By default, Opsview will ship with these active methods:
- Email
- AQL
- RSS
Note: If you select these methods, you still need to ensure that any relevant parameters are created in your contact profile. For example, emails will not be sent if your contact definition does not have the email variable associated. A warning is raised at Opsview reload time if there are missing variables.
You can add more via Advanced → Notification Methods.
Selection of objects
The possible host groups, service groups and keywords listed depend on the access objects of the contact.
See the access page for more information on how to select objects.
The contact will need to have NOTIFYSOME access to have their notifications setup.
Host groups
Select which host groups this notification profile will apply for.
Service groups
Select which service groups this notification profile will apply for.
Keywords
You can select which keywords this notification profile will apply for.
Note: If a host or service is in multiple keywords, only one notification will be sent.
Notify for Host On
For this notification profile, choose which notifications states will be sent. This acts as a filter to the host notification options.
Notify for Service On
As above, but for services
Notification Period
When notifications should be sent for this contact. Acts as a filter.
Receive From Alert
If set to 3, will only receive notifications from the 3rd notification onwards, based on the renotification interval.
Warning: at least one notification needs to be sent before this value increments, otherwise no notifications will ever be received.
FAQ
I only want to receive host alerts, but the access is based on service objects
Due to the way the access controls work, you are select services and not hosts.
If you want to only get host notifications, you can select All host groups (or a subset) and All service groups, but then filter so you only receive host alerts and no service alerts.
