-
Notifications
You must be signed in to change notification settings - Fork 109
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
Tags not working properly #179
Comments
@djsakisd The error on the tag page has been fixed. For the other one have to spend more time on it. In |
@martinrusev yes it's fixed now i can confirm. If i add tags without adding them to a category it works fine now - tags don't disappear anymore. Regarding the other issue on server list & hosts maps per tag i've done some testing and found that this occurs only in server listing /per tag , hosts map /per tag and also in alert's page - alerts /per tag. I hope this helps you narrow down the issue. I've had a look on your code but it's way out of my python knowledge so unfortunately i can't help any further. |
@martinrusev Hi Martin
I noticed an issue with Tags to see it try this simple test :
1)add 4 tag categories first - (ex. tagcat1.. tagcat4)
2)add 4 tags to these categories (ex. add tag1 -> tagcat1, tag2 -> tagcat2 etc)
3) add only one tag per host (ex. add tag4 ->server4, tag3->server3 etc)
4) now try filtering by tag on dashboard
If you filter by tag4 you will see only host4 - so correct here, BUT if you try filter by tag1 you will see host 1, host2, host3, and host4.
Also if you ADD a new tag on tags page and NOT apply a category to it then you will get an error in amon.log and all tags from tag page will disappear.
Quick FIX :
If you go to mongodb amon database and delete the tag without category then all tags will restore to tags page without of courser the uncategorised deleted from amon mongodb.
The text was updated successfully, but these errors were encountered: