Query e.g. all PCs with status 0 at 12:00 pm
-
-
Probably easiest with a script.
This script assumes CheckTrustedNodes is set to 0 in server config variables.
Change searchStatus to what status you want to find.Just a note - the script would probably not work if you are using Zones.
searchStatus = 4; subs = GetObjectChildren(FindObject(1)); foreach (subnet : subs) { nodes = GetObjectChildren(subnet); foreach (node : nodes) { if (node->status == searchStatus) println("Node " . node->name . " has status " . searchStatus . "."); } }You could create a script DCI that will poll every 24hours (or at a custom schedule) that will keep the results.
You could even create multiple DCIs and send searchStatus as a parameter to the script to make it even more unified. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login