Re: One or more scheduled commands could not be sent to Nagi
Posted: Thu Jan 02, 2020 5:20 pm
What is the version of Nagios XI that you are currently using? I see that you have the following in the sudoers:
but you should have (at least, in the newer version of Nagios XI) this:
Also, you need to add this line:
This should help you get the profile.
Did you add nagios and apache to the nagcmd group? Are you able to schedule downtime now?
Code: Select all
NAGIOSXI ALL = NOPASSWD:NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.shCode: Select all
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/components/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/components/getprofile.shCode: Select all
Defaults:nagios !requirettyDid you add nagios and apache to the nagcmd group? Are you able to schedule downtime now?