Tracking null system.category
I'm doing a moderately large new install of logicmonitor in multiple datacenters and found that if I come across a system that's being firewalled or blocked in general, it has a null system.category.
I've been fiddling with using Dynamic Groups and have hit on a problem where I can't actually determine if system.category is null. I've tried hasCategory(""), system.category =~ "" , system.category !~ "*", and join(system.category,",") =~ ""
Any guidance would be appreciated.
Dan_Wood
Posted 8 years ago·Last reply 8 years ago
3 comments
Dan_Wood
OP8 years agoThat works like a champ, one caveat though is that it does not factor in inherited system.categories but that is to be expected.
Thank you again!
Sarah Terry
·8 years ago@Dan_Wood You should be able to check for devices with an empty system.categories property using this dynamic group query:
Dan_Wood
OP8 years agoGah, I typo'd in my post; s/category/categories/