Last active
July 4, 2018 02:43
-
-
Save FilBot3/709f52b03a59a45f5c5c to your computer and use it in GitHub Desktop.
Revisions
-
FilBot3 revised this gist
Nov 14, 2015 . 2 changed files with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ USE zabbix_proxy; TRUNCATE TABLE proxy_history; DELETE FROM ids; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ USE zabbix; DELETE FROM escalations; UPDATE alerts SET status=1 WHERE status=0; SELECT count(*) FROM escalations; SELECT count(*) FROM alerts WHERE status=0; -
FilBot3 created this gist
Nov 14, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ USE zabbix_proxy; truncate table proxy_history; delete from ids; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ USE zabbix; delete from escalations; update alerts set status=1 where status=0; select count(*) from escalations; select count(*) from alerts where status=0;