The Monitoring Scripting Client API is a set of preinstantiated objects that enable scripts to interact with the Monitoring Scripting Client framework.
The following topics are addressed here:
Prints a string to the standard output on the system where the script is running.
void print( String string)
Prints a string to the standard output on the system where the script is running.
The string to be printed.
Registers a script as a listener for a specific event.
void registerListener ( String event-id, String[] params, String callback)
Registers a script as a listener for a specific event.
The event identifier (ID) of the event for which the script is to listen.
An array of the event parameters to pass to the event callback function that is called when the event is received.
The event callback function that is called when the event is received.