17
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Zabbix アクションの未送信キューの削除

Last updated at Posted at 2015-01-14

大量にアラート検知してしまい、アクションのキューが溜まってしまった場合の対処方法です。

未送信キュー数の確認

# mysql -uzabbix -p zabbix
mysql> select count(*) from alerts where status="0" ;

status=
0:未送信 or 送信中
1:正常
2:失敗

未送信キューのステータス変更

mysql> update alerts set status="1" where status="0";
Query OK, 600 rows affected (0.11 sec)
Rows matched: 600  Changed: 600  Warnings: 0

zabbix-serverの再起動

# /etc/init.d/zabbix-server restart

再起動しないと止まりませんでした。

17
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?