NetXMS Support Forum

English Support => General Support => Topic started by: gmonk63 on October 18, 2025, 08:38:52 PM

Title: NXSL Help
Post by: gmonk63 on October 18, 2025, 08:38:52 PM
Greetings,

Are there any methods within nxsl to filter nodes that are set to unmanaged ? I looked all through the docs and the closest I came was isInMaintenanceMode.I have a several  wireless devices that are being decommissioned and I do not want any type of polling to be done  but I do want to be able to filter them out to keep track of the progress and add them to the decommissioned container.
Title: Re: NXSL Help
Post by: Filipp Sudanov on October 18, 2025, 09:19:52 PM
It's one of the possible values for object's status (https://netxms.org/documentation/nxsl-latest/#const-object-status)

This script should do the job:

return $object.status == Status::UNMANAGED;
Title: Re: NXSL Help
Post by: gmonk63 on October 18, 2025, 10:55:47 PM
Perfect !! Thank you