- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Icinga 工作,负责性能数据收集,
我必须清除超过 30 天的所有插件数据,我该怎么做。我有一些谷歌搜索没有帮助。
一些引用:
我正在使用:
RHEL 操作系统
来自源代码构建的 icinga2
postgresql
使用NRPE收集远程服务器数据
是否有任何工具可用于清理或查询以删除所有超过 30 天的数据库条目?
最佳答案
http://docs.icinga.org/latest/en/configido.html#configido-ido2db
从手册来看,您的 ido2db.cfg 似乎需要配置正确的数据:
max_systemcommands_age=43200
max_servicechecks_age=43200
max_hostchecks_age=43200
max_eventhandlers_age=43200
max_externalcommands_age=43200
max_logentries_age=43200
max_acknowledgements_age=43200
max_notifications_age=43200
max_contactnotifications_age=43200
max_contactnotificationmethods_age=43200
另外,确保 trim_db_interval
设置得比较合理。 3600
的默认值应该足够了。
trim_db_interval=3600
关于postgresql - Icinga 数据库清理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40265387/
我在 Icinga 工作,负责性能数据收集, 我必须清除超过 30 天的所有插件数据,我该怎么做。我有一些谷歌搜索没有帮助。 一些引用: External Commands List Database
我在 Debian 上安装 icinga2 来自: deb http://debmon.org/debmon debmon-jessie main deb http://httpredir.debia
我已经安装了 Icinga 版本 Icinga Classic UI 1.11.5(后端 1.11.5)- 但我想在我的 CentOS 6 上安装 Icinga 2。 你能告诉我我要备份哪个文件,这样
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a software
我有一个需要解析的文件,我正在尝试列出 ICINGA2 的停机时间列表。 ICINGA 的 API 未按预期工作,并且未显示服务和主机文件的停机时间列表的完整列表。 文件名 - status.dat
我想使用 chef 自动化 redis perl 库。我正在使用 Nagios-check对于安装,但问题是在安装时系统会提示您回答各种问题。我怎样才能使这个过程自动化。我在安装时手动使用的命令是:
我在运行 CentOS 8 的服务器上安装了 Icinga2。但是,当我尝试安装 Icinga Web 2 时遇到了问题。 当我尝试运行命令 yum -y install icingaweb2 ici
我有一台用于备份存储的服务器。它在 Linux 上运行 ZFS,配置了 RAID z2 数据池并通过 Samba 共享。我需要监视 ZFS 文件系统,至少能够看到有多少可用空间。 我认为一个简单的 c
我想用 VB.NET 创建一个文件,我想将这个文件用于 Icinga 或 Nagios 配置。 如何使用编码创建正确的 Unix 格式的文件? 最佳答案 已解释:here .只需检测您最终要接收的编码
您好,我已经为 Icinga 2 安装了 logstash 插件。我通过发出 icinga2 api setup 设置了 API,然后重新启动了 Icinga 2 服务。 我正在使用/etc/icin
我是一名优秀的程序员,十分优秀!