Hi!

I noticed entries in Report/Notifications: notify_by_sms, but Opsview
shouldn't send SMS (but we used it earlier). So I suspected a
misconfiguration, but all contacts have 'Notify by SMS' disabled (also
the Opsview database shows no enabled sms notifications).

So I dug deeper and found the entries in contacts.cfg in some of the
users, as we hat SMS activated in the past I tried to activate (and
reload config)/deactivate (and reload config) the SMS notification for a
User.

Attached you find the corresponding entries of contacts.cfg (I stripped
the contatgroups) which show that the distprofile of this user didn't
change. Is this a correct or known behaviour?

-- 
kind regards, Henry
# 'USERNAME' contact definition
define contact {
        contact_name    USER/masterprofile
        alias           USERNAME
        use             global-contact
        service_notification_period     24x7
        host_notification_period        24x7
        notification_level              1
        contactgroups
        email   [email protected]
        pager   555-123456
        host_notification_commands      host-notify-by-email,notify-by-smstools
        host_notification_options       u,d,r,f
        service_notification_commands   
service-notify-by-email,notify-by-smstools
        service_notification_options    w,c,r,u,f
}
# 'USERNAME' contact definition - no notifications, CGI view
define contact {
        contact_name    USER
        alias           USERNAME
        use             global-contact
        contactgroups
}
# 'USERNAME' contact definition - RSS alerts for distributed services
define contact {
        contact_name    USER/distprofile
        alias           USERNAME
        use             global-contact
        host_notification_period        24x7
        service_notification_period     24x7
        host_notification_commands      notify-by-smstools
        service_notification_commands   notify-by-smstools
        pager           555-123456
        email           [email protected]
        host_notification_options       u,d,r,f
        service_notification_options    w,c,r,f
        contactgroups
}
# 'USERNAME' contact definition
define contact {
        contact_name    USER/masterprofile
        alias           USERNAME
        use             global-contact
        service_notification_period     24x7
        host_notification_period        24x7
        notification_level              1
        contactgroups
        email   [email protected]        
        host_notification_commands      host-notify-by-email
        host_notification_options       u,d,r,f
        service_notification_commands   service-notify-by-email
        service_notification_options    w,c,r,u,f
}
# 'USERNAME' contact definition - no notifications, CGI view
define contact {
        contact_name    USER
        alias           USERNAME
        use             global-contact
        contactgroups
}
# 'USERNAME' contact definition - RSS alerts for distributed services
define contact {
        contact_name    USER/distprofile
        alias           USERNAME
        use             global-contact
        host_notification_period        24x7
        service_notification_period     24x7
        host_notification_commands      notify-by-smstools
        service_notification_commands   notify-by-smstools       
        email           [email protected]
        host_notification_options       u,d,r,f
        service_notification_options    w,c,r,f
        contactgroups
}
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to