Nagios XI no longer uploads a plugin after 5.5.7 update
Nagios XI no longer uploads a plugin after 5.5.7 update
Upgraded to Nagios 5.5.7 yesterday. I can no longer upload a plugin. Nagios instead goes to "The Connection was reset".
How do I revert back to 5.5.6?
How do I revert back to 5.5.6?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
@alsoszaa, Can you send me this plugin so I could test it out in my XI 5.5.7 in the lab? Also, please try uploading this plugin one more time and then send me your system profile:
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me in a personal message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
The plugin doesn't matter. I've tried a few now and all of them do this. I'll IM you the zip file shortly
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
@alsoszaa, Please run the following script as root:
How are you uploading plugins? From the manage plugins page? Can you send a screenshot with the "The Connection was reset" error?
Then reboot the server and try uploading the plugin one more time./usr/local/nagiosxi/scripts/reset_config_perms.sh
How are you uploading plugins? From the manage plugins page? Can you send a screenshot with the "The Connection was reset" error?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
Running the script and rebooting did not resolve the issue. There was no change.
1. Go to Admin on the top nav
2. Go to Manage Plugins from the left menu
3. In the main screen, click browse (towards the top)
4. Locate your plugin and click "open"
5. Click "Upload Plugin"
At this point, the process has you wait for approx. 30 seconds then (In Chrome browser) goes to a "Connection was Reset". See attached screenshot.
1. Go to Admin on the top nav
2. Go to Manage Plugins from the left menu
3. In the main screen, click browse (towards the top)
4. Locate your plugin and click "open"
5. Click "Upload Plugin"
At this point, the process has you wait for approx. 30 seconds then (In Chrome browser) goes to a "Connection was Reset". See attached screenshot.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
Can you run the following command and show the output of code wraps?
Code: Select all
tail -100 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
@alsoszaa, Please run this command and show me the output:
Please try uploading a plugin from a different browser, or if you don't have a different browser clear cookies and cache from the Chrome and try one more time.ls -ld /usr/local/nagios/libexec/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
Here is the result:lmiltchev wrote:Can you run the following command and show the output of code wraps?
Code: Select all
tail -100 /var/log/httpd/error_log
Code: Select all
[Sun Nov 18 03:22:06.802167 2018] [auth_digest:notice] [pid 1628] AH01757: generating secret for digest authentication ...
[Sun Nov 18 03:22:06.802899 2018] [lbmethod_heartbeat:notice] [pid 1628] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 18 03:22:06.843272 2018] [mpm_prefork:notice] [pid 1628] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Sun Nov 18 03:22:06.843296 2018] [core:notice] [pid 1628] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 19 08:10:47.487933 2018] [mpm_prefork:notice] [pid 1628] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Nov 19 08:11:40.493316 2018] [suexec:notice] [pid 1569] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Nov 19 08:11:40.558370 2018] [auth_digest:notice] [pid 1569] AH01757: generating secret for digest authentication ...
[Mon Nov 19 08:11:40.559069 2018] [lbmethod_heartbeat:notice] [pid 1569] AH02282: No slotmem from mod_heartmonitor
[Mon Nov 19 08:11:43.341594 2018] [mpm_prefork:notice] [pid 1569] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Mon Nov 19 08:11:43.341650 2018] [core:notice] [pid 1569] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
here is the output of the list directory:npolovenko wrote:@alsoszaa, Please run this command and show me the output:Please try uploading a plugin from a different browser, or if you don't have a different browser clear cookies and cache from the Chrome and try one more time.ls -ld /usr/local/nagios/libexec/
drwxrwsr-x. 2 apache nagios 12288 Nov 14 15:21 /usr/local/nagios/libexec/
In Edge and Internet Explorer I see "Can't reach this page"
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios XI no longer uploads a plugin after 5.5.7 update
@alsoszaa, Please run the following commands and show me the output:
Save the /etc/php.ini file and restart the apache with:
cat /etc/php.ini | grep upload_max_filesize
In the php.ini please change:ls -ld /tmp
toerror_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
And set:error_reporting = E_ALL
Increase the memory limit by doubling the memory_limit value.display_errors = On
Save the /etc/php.ini file and restart the apache with:
Then try to upload your plugin one more time and let me know if you see any errors in the web browser, and also upload the /var/log/httpd/error_log file.service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.