value = lp.ClearIPEventCounter('ip');
The lp.ClearIPEventCounter LUA function performs a reset of the counter of events received by a host.
‘ip’ The IP address of the host event counter that should be reset, a character string like : ‘ xxx.xxx.xxx.xxx‘.
Return Valuesvalue 1 if the operation is successfull.
nil an error occurs (address not find in the directory).
The following example perfoms a GetIPInformation to collect the number of event received by a host, displays the value and then clears the counter with the ClearIPEventCounter function.