-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Help with down_alerts... #680
Comments
Hi there, |
I think, it is this request |
Thank you for the response. Unfortunately my skills in this are limited. What is {url} referring to? On my server? |
This was meant more as a help for @jokob-sk. |
Sorry... For what it's worth, sometime I will see a value of 1 in down alerts, most of the time 0 yet in NetAlertx I have 6 or 7 |
You can try to open this url in your browser and see, what netalertx will return |
Got this: [35,29,0,2,0,0] |
First of all, one thing in advance. "Offline" does not mean "down" here. "Down" are devices for which a "Down" notification is configured. If I have skimmed through this correctly, then we have the following situation. The "API" returns the correct data for the individual statuses. „Down“ is the 5th value I don't see this as a classic bug. It would certainly be easier if the adjustment were made on the widget side. |
Thanks for the clarification, this makes sense now. |
I'll think about moving the offline count somewhere else as it's causing confusion. Thanks @leiweibau for helping explain this 🙏 Closing as resolved now |
Is there an existing issue for this?
Current Behavior
The values displayed for down & offline is correct:
![image](https://private-user-images.githubusercontent.com/120423301/332810013-7d1f3970-645b-4eff-8e65-338321d05ff5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDk0NzcsIm5iZiI6MTcxOTA0OTE3NywicGF0aCI6Ii8xMjA0MjMzMDEvMzMyODEwMDEzLTdkMWYzOTcwLTY0NWItNGVmZi04ZTY1LTMzODMyMWQwNWZmNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMlQwOTM5MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMDc3OWNkZjg4MGQ2NTNmMzE3ZGY3MzAzYWJiNGVjNzgxOGNhZDI3Y2E5MzU2NzUwMTAwNWEyN2FlYmE1YjM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.nIFAedxKesrW1N-zepA-58CrRyoqbhosvxqDfKlg2ic)
The issue seems to be with the Homepage widget (which they say they have nothing to do with as far as getting values).
![image](https://private-user-images.githubusercontent.com/120423301/332810610-e68f9c9b-1438-408e-94a6-dd01b8d95aeb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDk0NzcsIm5iZiI6MTcxOTA0OTE3NywicGF0aCI6Ii8xMjA0MjMzMDEvMzMyODEwNjEwLWU2OGY5YzliLTE0MzgtNDA4ZS05NGE2LWRkMDFiOGQ5NWFlYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMlQwOTM5MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNTJkMzEzMDNiYjFjZDA0MzgwNjczZDYzZjEzNWQ4MjdkYjJiZmY2YjQ2YmU0MWQ2OTE4ODRmODYxNGNhMmMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1bUtVu2lVE48AudKJ5uZUsWgcfJT2XVl4E7t7G50nVk)
The value is never displayed. According to the widget configuration the values it is collecting are:
Allowed fields: ["total", "connected", "new_devices", "down_alerts"].
I don't see any of those values in the 192.168.xx.xx:20211/api/table_devices.json
So, where are they coming from? What can be done to correct?
Many thanks!
Expected Behavior
display a Down value
Steps To Reproduce
No response
app.conf
No response
docker-compose.yml
No response
What branch are you running?
Production
app.log
No response
Debug enabled
The text was updated successfully, but these errors were encountered: