纳吉奥斯-普鲁金:一组有用的纳吉奥斯普鲁金
gds-nagios-plugins的Python项目详细描述
gds基础设施中使用的一组有用的nagios插件。
安装
$ pip install gds-nagios-plugins
需要check_reboot_required和check_apt_security_updates的公共更新通知程序
$ apt-get install update-notifier-common
检查apt_security_更新
检查未完成的安全更新数。
check_apt_security_updates [critical_number] [warning_number]
Default threshold is 0 days
检查是否需要重新启动
检查是否有任何包在安装完成之前等待重新启动。
check_reboot_required [critical_days] [warning_days]
Default threshold is 0 days
检查puppetdb_ssh_主机密钥
通过查询puppetdb中的事实来检查计算机是否具有重复的ssh主机密钥。
check_puppetdb_ssh_host_keys [options]
检查弹性搜索
检查ElasticSearch群集的运行状况。
check_elasticsearch [options]
检查弹性搜索aws
检查aws管理的elasticsearch集群的运行状况。
check_elasticsearch_aws [options]