Page 1 of 2

Escalation issues

Posted: Mon Apr 08, 2013 2:28 pm
by BanditBBS
This is a weird one, I can't wrap my head around it and I believe when I first proposed handling my on-call rotation with this, that it worked as intended.

First off, here is my escalations.cfg static config file:

Code: Select all

define hostescalation{
        hostgroup_name  network_oncall
        contact_groups  network_oncall_pri
        first_notification   1
        last_notification   0
        notification_interval   15
        }
define hostescalation{
        hostgroup_name  network_oncall
        contact_groups  network_oncall_sec
        first_notification      2
        last_notification       0
        notification_interval   15
        }
define hostescalation{
        hostgroup_name  network_oncall
        contact_groups  network_boss
        first_notification      3
        last_notification       0
        notification_interval   15
        }
define hostescalation{
        hostgroup_name  network_oncall
        contact_groups  network_all
        first_notification      50
        last_notification       0
        notification_interval   15
        }
User1 is the only person in network_oncall_pri and can see everything in the network_oncall hostgroup in XI and nothing in NagiosMobile.
User2 is the only person in network_oncall_sec and can see everything in the network_oncall hostgroup in XI and nothing in NagiosMobile.
User3 is the only person in network_boss and can see everything in the network_oncall hostgroup in XI and nothing in NagiosMobile.
User1,2,3,4,5,6,7,8 are all in network_all and everyone 4 and up can not see anything in XI or NagiosMobile.

hostgroup config is as follows:

Code: Select all

define hostgroup {
        hostgroup_name                          network_oncall
        alias                                   Network Devices Covered by On-call
        hostgroup_members                       network_an1_devices,network_can_apcups,network_can_routers,network_can_switches,network_can_switches-hwoff,network_firewalls,network_hko_routers,network_hko_switches,network_nyd_routers,network_nyd_switches,network_nyd_switches-hwoff,network_nyh_routers,network_nyh_switches-hwoff,network_nym_routers,network_nym_switches,network_ot1_apcups,network_ot1_switches,network_ot1_switches-hwoff,network_ot2_apcups,network_ot2_switches,network_ot2_switches-hwoff,network_ott_routers,network_pickdir,network_routers,network_s19_switches,network_s77_crestron,network_s77_switches,network_s77_videoconf,network_stores,network_tsq_cam_switches,network_tsq_routers,network_tsq_switches_hwoff,network_wdc-switches,network_wdc-switches-hwoff,network_wdc_avservices,network_wdc_routers,network_wdd_firewalls,network_wdd_others,\
                                        network_wdd_routers,network_wdd_switch
        }

Re: Escalation issues

Posted: Mon Apr 08, 2013 2:38 pm
by abrist
Bandit, is the issue with escalations? Or with nagios accounts/contacts not able to view hosts/services that they should?

Re: Escalation issues

Posted: Mon Apr 08, 2013 2:44 pm
by BanditBBS
abrist wrote:Bandit, is the issue with escalations? Or with nagios accounts/contacts not able to view hosts/services that they should?
It is with them not being able to view hosts/services that they should. Seems as though the first 3 escalations are giving the access as expected(at least in XI, not mobile) but the 4th is ignored all together.

Re: Escalation issues

Posted: Mon Apr 08, 2013 2:53 pm
by BanditBBS
To be honest, I cant be sure escalations are working either, since we are not using it yet.

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:06 pm
by abrist
Escalations do not provide access to XI or core objects. For this, you must make the contact an actual contact of the object. Escalations are for notifications only.

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:15 pm
by BanditBBS
abrist wrote:Escalations do not provide access to XI or core objects. For this, you must make the contact an actual contact of the object. Escalations are for notifications only.
I am re-reading our conversation when talking about setting up the on-call rotation handling, to see if I missed something. I think I did. This is the thread I am referencing: http://support.nagios.com/forum/viewtop ... 8&start=20

I'll post later(Next couple days) when I have more information

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:16 pm
by BanditBBS
Why then does user1 and user2 and user3 have access to see the devices in XI? They are not set as contacts on the devices.

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:23 pm
by abrist
Is their contactgroup assigned to said hosts?

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:25 pm
by BanditBBS
abrist wrote:Is their contactgroup assigned to said hosts?
Nope, not contact or contact group is on the hosts.

Re: Escalation issues

Posted: Mon Apr 08, 2013 3:37 pm
by abrist
How about templates? Are any of these contacts inherited through a template? This is strange. I will have to ask a dev for the possible fringe cases. Are these contacts associated directly with an XI account? If so, are they admins or do they have the check box "Can see all hosts and services" checked?