Component upload failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Component upload failed

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Component upload failed

Post 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.
Former Nagios Employee
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Re: Component upload failed

Post by doneil326 »

nothing is written to the error_log
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Component upload failed

Post by hsmith »

What version of XI?

What's the output of a grep nagios /etc/group ?
Former Nagios Employee.
me.
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Re: Component upload failed

Post by doneil326 »

latest version 5.2.0

nagcmd:x:502:nagios,apache
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Component upload failed

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked