タグ

zabbixに関するmaijun2のブックマーク (2)

  • Cleaning up the Zabbix database | Machinenoise.org

    My Zabbix database size increased a lot in the last few months and since my disk was running out space, I decided to clean up the old events from the database. Looking at the database tables, the biggest one was history_uint, which holds the items history data – over 400 millions of records and over 30 Gb of disk space before the clean up. Since deleting the old records from this table directly wo

  • 日本語アラートメールの送信方法 | 日本Zabbixユーザー会

    ZabbixサーバはアラーとメールをUTF-8で送信します。最近のメールクライアントではUTF-8のメールも問題なく扱えますが、古い携帯電話などはUTF-8のメールを適切に表示できずに文字化けしてしまう場合があります。 また、ZabbixサーバはSMTP Auth認証に対応していないため、標準のメール送信機能では認証が必要なメールサーバを利用することができません。 ここでは、ZABBIXのカスタムスクリプト機能を利用して、スクリプトで適切な情報の付加とエンコード処理を行ってメールを送信したり、SNMP Auth認証に対応するためのスクリプトを紹介します。 なお、スクリプトを利用した場合はZabbixサーバがメール送信のたびに外部コマンドとしてスクリプトを呼び出して実行するため、標準のメール送信機能よりは実行に負荷がかかります。特に文字化けなどの問題がない場合はZabbixサーバ標準のメール

  • 1