Escalation issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Escalation issues

Post 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
        }
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Escalation issues

Post by abrist »

Bandit, is the issue with escalations? Or with nagios accounts/contacts not able to view hosts/services that they should?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Escalation issues

Post 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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Escalation issues

Post by BanditBBS »

To be honest, I cant be sure escalations are working either, since we are not using it yet.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Escalation issues

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Escalation issues

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Escalation issues

Post 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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Escalation issues

Post by abrist »

Is their contactgroup assigned to said hosts?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Escalation issues

Post by BanditBBS »

abrist wrote:Is their contactgroup assigned to said hosts?
Nope, not contact or contact group is on the hosts.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Escalation issues

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked