Forum Discussion
Ok, the isWindows() function "Returns TRUE if the value of “windows” or “hyper-v” is contained in the system.sysinfo or system.categories property." It actually doesn't look like it relies on the system.category of "Windows". So you may have two problems to fix: get "Windows" out of the system.category and also adjust any LogicModules that use isWindows() in the AppliesTo.
I've wanted for a while to have an implied `&& (![ds_name].disable == "true" || [ds_name].enable == "false")` on all logicmodules. It would make it dead simple to disable datasources on the group level without ever having to touch the logicmodules by letting you put a couple properties on a group containing those CE devices and disable the Windows datasources.
One possibility is that the Windows category comes from a sysoid map. In which case, you might be able to edit that one to exclude the WindowsCE sysoid. Unfortunately, there's not a good way to determine where the system.categories come from (another feature request of mine). So, you may have to go digging through property sources to find which one is assigning that.
Luckily, you can pretty easily modify the AppliesTo of the logicmodules to include/exclude them. I'd target whatever it is that is setting the windows system.category as that would give the biggest impact.
The SNMP_Network_Interfaces DS is built with this problem in mind. You can set a category on your CE devices called "OverrideNoSnmpIf", which will apply that datsource regargless of the isWindows() or system.categories.
Related Content
- 11 months ago
- 9 months ago