Nagios check_apt也会在networking主机上提供可用于本地主机的更新
我已经安装了Nagios来监视我的Debian服务器上的apt。 问题是,我不明白为什么它显示本地服务器上的更新的可用数量也为networking服务器。 例如,我有一个服务器有32个软件包来更新,但我收到一个2的电子邮件警报。 服务configuration: define service { hostgroup_name apt-servers service_description APT check_command check_apt use generic-service notification_interval 0 ; set > 0 if you want to be renotified } 主机configuration define hostgroup { hostgroup_name apt-servers alias APT servers members vps1, vps2, vps3 } 命令configuration从Debian软件包(未触及) # 'check_apt' command definition define command{ command_name check_apt command_line /usr/lib/nagios/plugins/check_apt } # […]