hi,
i want to process an event whenever the container's status is changed, but don't to how to feed that status to an event.
how do i make it possible?
thx.
Hi,
currently no event is generated when container status changes. Feel free to fill feature request for that. As a workaround you can use script DCI on any node that will provide container status - then you can set thresholds to generate status change events for that container.
Best regards,
Victor
hi Victor,
can u show example dci script the read the status of a container?
thx.
object = FindObject("Container name");
if (object == null || object->type != 5) {
// object not found, or its not a container
return null;
}
return object->status;
References:
https://wiki.netxms.org/wiki/NXSL_Function_Reference
https://wiki.netxms.org/wiki/NXSL:NetObj