Something like that:
List of alarms is an attribute of any object, not only node - it could be container, subnet, sensor... That's why I am using $object->alarms in the example, but if the object you are querying is a node, you can use $node->alarms
Documentation it's here: https://www.netxms.org/documentation/nxsl-latest/#class-netobj
Code Select
for(a : $object->alarms)
{
println(a->message);
}
List of alarms is an attribute of any object, not only node - it could be container, subnet, sensor... That's why I am using $object->alarms in the example, but if the object you are querying is a node, you can use $node->alarms
Documentation it's here: https://www.netxms.org/documentation/nxsl-latest/#class-netobj