-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Centreon 22.10 - key error "Flapping" #866
Comments
@BenoitPoulet any hint? |
@arthur-lbchn if you use Windows you could use https://github.com/HenriWahl/Nagstamon/releases/download/latest/Nagstamon-3.10.0-win64-debug.zip for more detailed debugging. On Linux just run |
@HenriWahl I've discovered that the error occurs if Centreon has services with UNKNOWN status. Once I resolved them and they reverted to OK, everything works as expected. But I'm pretty sure, that I saw UNKNOWN services in Nagstamon before, so most likely Centreon changed something on their side. |
Update: Not only UNKNOWN status caused the error, WARNING as well (maybe CRITICAL) I have another instance of Centreon v. 22.04.0 - everything works |
@HenriWahl I've debugged it a bit more and seems like the requests are coming to 22.04 link in API https://mycentreondomain.com/centreon/api/v22.04/monitoring/resources?limit=0 Maybe that's the reason |
@HenriWahl Hey, sorry for bothering you, have you had a chance to take a look into the problem? Super critical to us to have proper monitoring for our services since Nagstamon is used by big team for years ;( |
@arthur-lbchn sorry I couldn't but @BenoitPoulet might help further. I know there were changes in the API, even between 22.04 and 22.10. |
@HenriWahl I've finally found out the error So I forked your project and build it with the line 426 commented (Centreon doesn't have flapping enabled by default and we don't actually care) Everything works properly for me now ;) Thanks for your help. |
@arthur-lbchn thanks this might be of interest to get into upstream again. If flapping is not enabled by default it is still an option to be enabled? |
@HenriWahl yes, it's under Configuration > Pollers > Engine configuration |
Please check latest build 3.11-20221103 which applies a patch based on yours. |
@HenriWahl thank you, everything works. appreciate all your efforts. |
Sorry i was very busy theses days, thanks for the fix ! |
Hey guys,
I recently updated Centreon to 22.10 and getting key error "Flapping".
Nagstamon 3.10
I tried to enable Debug to file, but no records at all (maybe doing something wrong)
Could someone please assist?
The text was updated successfully, but these errors were encountered: