In contrast to all other kinds of monitors that can be installed via the installMonitor() method, table and state monitors are installed in the following way:
...
· Table monitor – to install a table monitor, the following method has to be used:
installTableMonitor(path, name, configurationGroup, monitoredResourceName, monitoredResourceType, callInfos, filename); |
The input parameters are the same as for any other monitor installation (without the monitor type, because the monitor type is known), with one additional parameter – filename. This is used to create a temporary file to hold the table values.
· State monitor – to install a state monitor, the following method has to be used:
installStateMonitor(path, name, configurationGroup, monitoredResourceName, String monitoredResourceType, callInfos, explicitGreen); |
The input parameters are the same as for any other monitor installation (without the monitor type, because the monitor type is known), with one additional parameter – explicitGreen.
See also: