-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error if the node is under contract #36
Comments
mostly an error on my part since I'm using an old version of Pterodactyl. And if the server has the status “supsended” or the node is undergoing technical work. Then /api/client/servers/{server.id}/resources returns a response with code 409. What helped me fix the error was not a big change in http_client: https://pastebin.com/PQvK1NGT |
Ok. I remember, that the were several problems with nodes in maintenance mode. I'll add an additional check to only process the data from nodes that return 200. |
I don't exactly know what the problem is with that. I've already asked the Grafana devs about it and they told me that this is because I don't stick to the conventions. You can ignore that if everything works as expected. |
Could you please tell me witch version of the Pterodactyl Panel you are using, because I'm not able to replicate the problem on my testing system. I get the:
But the exporter successfully keeps on exporting the other nodes' metrics, so that error is likely exclusive to your specific panel version. |
1.11.3 |
Unfortunately, I'm not able to recreate that error. I've switched versions of the panel and wings all throughout the 1.11.x versions and nothing. All works as expected. The exporter doesn't restart, and the panel doesn't return code 409 either. |
If the node is under maintenance, then pterodactyl_exporter returns an error and stops scanning all servers, spamming the error console.
2024-07-31 17:06:55 | Init successful!
2024-07-31 17:07:05 | An error occurred:
Fetch metrics for Server Name
The text was updated successfully, but these errors were encountered: