So....I was doing some last minute testing before enabling alerts and am masqueraded as a user. I was happy with the configuration, so went to hostgroup summary, then hostgroup commands. I tried to "enable notifications for all hosts in this hostgroup" and I get the following response:
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for 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
He is actually not an admin, just a user with no check boxes checked. He is a member of the contact group for all the hosts in the hostgroup. Does he need one of the check boxes checked?
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
I may be mistaken, but I believe he would need Can (re)configure hosts and services. This should only apply to hosts\services that he is a contact for, and not everything.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
My problem with that is two things:
1) I don't want to give him that
2) Why is he able to do them one at a time but not the entire hostgroup?
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
That is interesting. Can he see the whole hostgroup (i.e. is he a monitoring contact on all the hosts in the hostgroup)?
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.
abrist wrote:That is interesting. Can he see the whole hostgroup (i.e. is he a monitoring contact on all the hosts in the hostgroup)?
Andy,
He is a member of the contact group that is assigned to the template that is assigned to the hosts in that hostgroup.
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
BanditBBS wrote:
He is a member of the contact group that is assigned to the template that is assigned to the hosts in that hostgroup.
Is he also the Very Model of a Modern Major-General?
Testing this now.
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.
BanditBBS wrote:
He is a member of the contact group that is assigned to the template that is assigned to the hosts in that hostgroup.
Is he also the Very Model of a Modern Major-General?
Testing this now.
Quit trying to be funny like benhank!
Stop testing, it was my fault! There was one server that was a member of the hostgroup that he did not have access to. Took some digging, but I found it!
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
Tested anyways. You are correct. The only way I could reproduce your issue was to remove the contact from one of the hostgroup members. Solved.
That was your "one" for the day.
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.