If you want manually expire old event messages from the database for a device, perform the following steps:
Warning: Use extreme caution when issuing SQL delete statements. Kaseya recommends that you have a current backup of the database and that you verify each command before execution. Failure to take proper precautions can result in corruption or lost data.
Expiring Messages on Windows
C:
cd <TRAVERSE_HOME>
apps\mysql\bin\mysql -u root --password= aggregateddatadb
(then, at the mysql> prompt)
UPDATE ALARMS set expireTime=1081262436203 WHERE deviceAddress='n.n.n.n' and expireTime=-1;'
quit;
where n.n.n.n is the IP address. When the database table updates, the messages no longer display in the message window.
Expiring Messages on UNIX
cd <TRAVERSE_HOME>
etc/dgedb.init admin dge
mysql>
prompt enterUPDATE ALARMS set expireTime=1081262436203 WHERE deviceAddress='n.n.n.n' and expireTime=-1;'
quit;
where n.n.n.n
is the IP address. When the database table updates, the messages no longer display in the message window.