openITCOCKPIT icon indicating copy to clipboard operation
openITCOCKPIT copied to clipboard

cronjobs - refresh dashboard grafana - 413 Request Entity Too Large"

Open wixaw opened this issue 4 months ago • 0 comments

Describe the bug When i want refresh dashboard grafana i obten "413 Request Entity Too Large" result code

To Reproduce

docker compose exec openitcockpit /bin/bash
oitc cronjobs -t GrafanaDashboard -f
Start openITCOCKPIT cronjobs...
-------------------------------------------------------------------------------
Skipping cronjob Core.CleanupTemp
Skipping cronjob Core.DatabaseCleanup
Skipping cronjob Core.RecurringDowntimes
Skipping cronjob Core.InstantReport
Skipping cronjob Core.CpuLoad
Skipping cronjob Core.VersionCheck
Skipping cronjob Core.SystemHealth
Skipping cronjob Core.SystemMetrics
Skipping cronjob Core.ConfigGenerator
Skipping cronjob Core.LdapGroupImport
Skipping cronjob AutoreportModule.Autoreport
Skipping cronjob AutoreportModule.AutoreportCalculateAvailability
Skipping cronjob CheckmkModule.CheckmkClearSatTasks
Check Connection to Grafana
Connection check successful
Dashboard c36b8048-93ce-4385-ac19-ab5c90574b77 deleted!
Dashboard for host with id 1 created
<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

Expected behavior Update dashboard grafana

Versions

  • openITCOCKPIT Server Version: 4.x.x
  • Operating system RHEL 8
  • Docker

Additional context I fix with "client_max_body_size 100M;" in /etc/nginx/nginx.conf

oitc cronjobs -t GrafanaDashboard -f
Start openITCOCKPIT cronjobs...
-------------------------------------------------------------------------------
Skipping cronjob Core.CleanupTemp
Skipping cronjob Core.DatabaseCleanup
Skipping cronjob Core.RecurringDowntimes
Skipping cronjob Core.InstantReport
Skipping cronjob Core.CpuLoad
Skipping cronjob Core.VersionCheck
Skipping cronjob Core.SystemHealth
Skipping cronjob Core.SystemMetrics
Skipping cronjob Core.ConfigGenerator
Skipping cronjob Core.LdapGroupImport
Skipping cronjob AutoreportModule.Autoreport
Skipping cronjob AutoreportModule.AutoreportCalculateAvailability
Skipping cronjob CheckmkModule.CheckmkClearSatTasks
Check Connection to Grafana
Connection check successful
Dashboard c36b8048-93ce-4385-ac19-ab5c90574b77 deleted!
Dashboard for host with id 1 created
Dashboard for host with id 3 created
Dashboard for host with id 6 created
Dashboard for host with id 8 created
Dashboard for host with id 9 created
Done

wixaw avatar Oct 18 '24 12:10 wixaw