Sorry, but you are not authorized to commit the specifie
Sorry, but you are not authorized to commit the specifie
When I try to acknowledge an alert all while logged in to the Nagios web interface as nagiosadmin, I get a message which says:
Sorry, but you are not authorized to commit the specified command.
Sorry, but you are not authorized to commit the specified command.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Sorry, but you are not authorized to commit the specifie
Is the user account you are logged in as a read only user?
Admin > Users > Manage Users
Admin > Users > Manage Users
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Sorry, but you are not authorized to commit the specifie
I am the admin
Re: Sorry, but you are not authorized to commit the specifie
Does the command pipe exist?
Is cgi.cfg configured correctly?
Have you implemented ldap/AD authentication in XI recently?
Code: Select all
ls -la /usr/local/nagios/var/rwCode: Select all
grep nagiosadmin /usr/local/nagios/etc/cgi.cfgFormer 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.
"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.
Re: Sorry, but you are not authorized to commit the specifie
I have not...
root@nagmonus1:(03-30 12:27): /root
# ls -la /usr/local/nagios/var/rw
total 16
drwxrwsr-x 2 nagios nagios 4096 Mar 30 12:11 .
drwxrwxr-x 6 nagios nagios 12288 Mar 30 12:27 ..
prw-rw---- 1 nagios nagios 0 Mar 30 12:11 nagios.cmd
srw-rw---- 1 nagios nagios 0 Mar 30 12:11 nagios.qh
root@nagmonus1:(03-30 12:27): /root
# ^C
root@nagmonus1:(03-30 12:27): /root
# grep nagiosadmin /usr/local/nagios/etc/cgi.cfg
authorized_for_all_host_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops
authorized_for_all_hosts=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_all_service_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops
authorized_for_all_services=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_configuration_information=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_system_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops,tt12422
authorized_for_system_information=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops,tt12422
root@nagmonus1:(03-30 12:27): /root
#
root@nagmonus1:(03-30 12:27): /root
# ls -la /usr/local/nagios/var/rw
total 16
drwxrwsr-x 2 nagios nagios 4096 Mar 30 12:11 .
drwxrwxr-x 6 nagios nagios 12288 Mar 30 12:27 ..
prw-rw---- 1 nagios nagios 0 Mar 30 12:11 nagios.cmd
srw-rw---- 1 nagios nagios 0 Mar 30 12:11 nagios.qh
root@nagmonus1:(03-30 12:27): /root
# ^C
root@nagmonus1:(03-30 12:27): /root
# grep nagiosadmin /usr/local/nagios/etc/cgi.cfg
authorized_for_all_host_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops
authorized_for_all_hosts=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_all_service_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops
authorized_for_all_services=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_configuration_information=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,fusion,dcops,jc13935,pp71402,mb3565,tt12422
authorized_for_system_commands=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops,tt12422
authorized_for_system_information=nagiosadmin,ev12190,sj820523,ww15785,dm17745,mn14579,nn71100,gp7238,bg15022,ve12189,sk1009253,pm820550,nagiosadmin,bs1006029,mm38597,kp46240,sm1007622,el872784,ab20256,dcops,tt12422
root@nagmonus1:(03-30 12:27): /root
#
Re: Sorry, but you are not authorized to commit the specifie
Can you run the following command and show us the output?
Code: Select all
grep nag /etc/groupBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Sorry, but you are not authorized to commit the specifie
# grep nag /etc/group
nagcmd
59016:apache,nagios
nagios
59991:nagios,apache
root@nagmonus1:(03-30 15:07): /root
#
nagcmd
nagios
root@nagmonus1:(03-30 15:07): /root
#
Re: Sorry, but you are not authorized to commit the specifie
Can you submit commands from the nagios core interface?
Code: Select all
http://<server ip>/nagios/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.
"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.
Re: Sorry, but you are not authorized to commit the specifie
No, same result
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Sorry, but you are not authorized to commit the specifie
Is SELinux enabled?
If is is, disable it:
Code: Select all
getenforceCode: Select all
sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
setenforce 0As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.