4
我正在使用nagios o centos服务器,我只想监视本地主机。如何可以从命令行在Linux中执行nagios命令
我在commands.cfg
define command{
command_name check_http-site1
command_line /usr/lib/nagios/plugins/check_http -H site1.dreaddomain.com
}
我越来越严重错误在那里我定义的服务这样的
define service{
host_name localhost
service_description Site1Service
check_command check_http-site1
use generic-service
notification_interval 1440
}
和
这样的命令。所以我想从命令行来检查,如果该服务正在运行或不
在我的CentOS 6.5服务器上,插件位于'/ usr/lib64/nagios/plugins' – jgritty