Hi. Trying to unmanage some nodes and mute some alerts for 3 hours from now:
swis.invoke('Orion.Nodes', 'Unmanage', NodeID, UnManageFrom, UnManageUntil, False)
swis.invoke('Orion.AlertSuppression', 'SuppressAlerts', [Uri], UnManageFrom, UnManageUntil)
In both cases I take
UnManageFrom as datetime.now(timezone.utc)
and
UnManageUntil as UnManageFrom + timedelta(hours=3)
SuppressAlerts works correctly - node became muted immediately.
But Unmanage tells me: "Node will be unmanaged from 4/9/2021 4:00 PM to 4/9/2021 7:00 PM"
(now is 10 AM UTC, my local computer time is 1 PM in both cases, server time is 1 PM in both cases)
Why behavior is different?