What causes "Request-URI Too Long" error in Nagios?

This support forum board is for questions relating to Nagios Fusion.
Post Reply
TeetharKehar
Posts: 7
Joined: Sun Jan 01, 2023 8:15 am

What causes "Request-URI Too Long" error in Nagios?

Post by TeetharKehar »

We're facing an error while trying to deploy 3 dashboards to our 561 internal users. When we choose the dashboards and users, we encounter the following message:

"Request-URI Too Long
The requested URL's length exceeds the capacity limit for this server."

Our system is Nagios Fusion 4.1.9 running on a RHEL 7 VM.
TeetharKehar
Posts: 7
Joined: Sun Jan 01, 2023 8:15 am

Re: What causes "Request-URI Too Long" error in Nagios?

Post by TeetharKehar »

The error you're encountering while deploying dashboards to your internal users is related to the length of the requested URL, which exceeds the server's capacity limit. This issue can be resolved by adjusting the server configuration to accommodate longer URLs.

Since you're using Nagios Fusion 4.1.9 on a RHEL 7 VM, here are the steps you can follow:

Locate the server configuration file for your Nagios Fusion installation. Typically, this file is named httpd.conf or apache2.conf and is located in the /etc/httpd/ or /etc/apache2/ directory.

Open the configuration file using a text editor with administrative privileges.

Look for the directive LimitRequestLine or LimitRequestFieldSize in the configuration file. This directive sets the maximum length for an HTTP request.

Increase the value of LimitRequestLine or LimitRequestFieldSize to a higher number that can accommodate the longer URLs required for your dashboards. For example, you can set it to LimitRequestLine 8192 to allow for an 8KB request.

Save the changes to the configuration file and restart the Nagios Fusion service for the changes to take effect.

After applying these changes, you should be able to deploy the dashboards to your 561 internal users without encountering the "Request-URI Too Long" error. Remember to monitor the server's performance to ensure it can handle the increased request size.

If you continue to experience issues or need further assistance, please provide more details about your setup, such as the web server version and any relevant error logs, to help troubleshoot the problem more effectively.
Post Reply