How do I script the following DMCTL command in Smarts ASL:
dmctl -s INCHARGE-AM-PM notify Host::HostABC::DiscoveryError
The Smarts ASL equivalent to the DMCTL notify command is as follows:
hostObj = object("Host","HostABC";
notify(hostObj->DiscoveryError);
To clear the event in Smarts ASL:
hostObj = object("Host","HostABC");
clear(hostObj->DiscoveryError);