Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wixaw opened this issue Oct 18, 2024 · 0 comments
Open

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

wixaw opened this issue Oct 18, 2024 · 0 comments

Comments

@wixaw
Copy link

wixaw commented Oct 18, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant