Forum Discussion
I put this in as a feature request too. But not only poll now, but when running in the collector debug as well. For us it doesn't matter that the feature isn't there because the people that need to do poll now don't have permission to do poll now because they have to have manage permissions on the devices, which i'm obviously not going to give.
- Anonymous4 months ago
Piling on, the ability to tell whether a scripted task is running as part of active discovery or collection. This would allow a single script to be written that can branch to discovery output or collection output depending on the task at hand. Really part of the same thing.
Basic values of taskProps.get( "how_am_I_being_run" ) could be "ad", "collection", "pollNow", and "debugConsole".
I often find myself writing the same script for discovery and collection, just with different output. Maintaining one script instead of two would simplify things.
Related Content
- 7 months ago
- 2 years ago
- 8 months ago