Thanks Victor,
I've seen and applied new policies.
Netxms can be difficult at first, but i'ts worth to give it a chance.!!
			I've seen and applied new policies.
Netxms can be difficult at first, but i'ts worth to give it a chance.!!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Filipp Sudanov on February 08, 2022, 08:10:00 PM
Approach with custom attributes is quite OK - that way scripts can be simplified.
You can also run this script on any node (and you can even make an Object Tool that would execute this scrip):
for (n: GetAllNodes())
{
if (!n->isParent(FindObject("Infrastructure services")))
{
println(n->name);
}
}
And there's a good place - Tools->Find Object. Switch to query tab there and put the following query:
type == NODE and !$node->isParent(FindObject("Infrastructure services"))
It will find all nodes that are not present under "Infrastructure services" and it's an interactive list - you can right-click nodes and do some operations with them.
Quote from: Borgso on February 08, 2022, 09:32:38 AM
If you our out after binding new nodes that have not been put into other containers you can use this on a container you name ex "_NewNode"
It will only bind if the node is not part of any other container.
And if you use auto unbind it will unbind when its put into other container.for (p : $node->parents) {
if ( (p->type == 5 or p->type == 14)
&& ( p->name != "_NewNode") ) {
return false;
}
}
return true;
if ($object->type != NODE)
	return false;
return GetCustomAttribute($node, "Binded") == "0";Quote from: Dawid Kellerman on February 07, 2022, 10:24:16 AM
Hi don't know if it is the right way but I always just go to agent tunnels and then order them by state brings any unbound ones to the top and you can deal with them.
Where I am internet links go up and down resulting in TLS errors and stuff on my netxms alarms but it generally sort themselves It is something I keep an eye on though.
Regards Dawid