Page 1 of 1
Component upload failed
Posted: Wed Oct 28, 2015 2:30 pm
by doneil326
We are having issues when trying to upload components/plugins that we always get an error message that the "component upload failed". Is there a log somewhere for this feature? What are the required permissions on the directories that this utilizes? currently it is owned by nagios:nagios 755, but apache is running under the apache user.
Re: Component upload failed
Posted: Wed Oct 28, 2015 3:19 pm
by rkennedy
Please run tail -f /var/log/httpd/error_log in a terminal, and try to upload it after that's running. Post the error result for us to take a look at.
Re: Component upload failed
Posted: Wed Oct 28, 2015 5:14 pm
by doneil326
nothing is written to the error_log
Re: Component upload failed
Posted: Wed Oct 28, 2015 5:31 pm
by hsmith
What version of XI?
What's the output of a grep nagios /etc/group ?
Re: Component upload failed
Posted: Wed Oct 28, 2015 11:13 pm
by doneil326
latest version 5.2.0
nagcmd

502:nagios,apache
Re: Component upload failed
Posted: Thu Oct 29, 2015 12:00 am
by Box293
Can you run the following in an ssh session on your Nagios XI host.
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Then go into XI and try uploading the component again. Also try a plugin.
What output is produced in the SSH session?
Can you please upload the file:
/etc/sudoers
Also, any files in
/etc/sudoers.d/