亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 4744 | 回復(fù): 1
打印 上一主題 下一主題

[其他] nagios監(jiān)控的服務(wù)狀態(tài)為什么是CRITICAL [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2014-12-09 17:31 |只看該作者 |倒序?yàn)g覽
自己在虛擬機(jī)上配置nagios,添加了2個(gè)服務(wù),check_load及check_disk_sda2,為什么狀態(tài)顯示為CRITICAL?


日志:/var/log/nagios/nagios.log

[1418116195] SERVICE ALERT: 192.168.12.120;check_load;CRITICAL;HARD;5;(Return code of 255 is out of bounds)
[1418116195] SERVICE NOTIFICATION: nagiosadmin;192.168.12.120;check_load;CRITICAL;notify-service-by-email;(Return code of 255 is out of bounds)
[1418116255] Warning: Return code of 255 for check of service 'check_disk_sda2' on host '192.168.12.120' was out of bounds.
[1418116255] Warning: Return code of 255 for check of service 'check_load' on host '192.168.12.120' was out of bounds.
[1418116315] Warning: Return code of 255 for check of service 'check_disk_sda2' on host '192.168.12.120' was out of bounds.
[1418116315] Warning: Return code of 255 for check of service 'check_load' on host '192.168.12.120' was out of bounds.
[1418116375] Warning: Return code of 255 for check of service 'check_disk_sda2' on host '192.168.12.120' was out of bounds.
[1418116375] Warning: Return code of 255 for check of service 'check_load' on host '192.168.12.120' was out of bounds.
[1418116435] Warning: Return code of 255 for check of service 'check_disk_sda2' on host '192.168.12.120' was out of bounds.
[1418116435] Warning: Return code of 255 for check of service 'check_load' on host '192.168.12.120' was out of bounds.
[1418116495] Warning: Return code of 255 for check of service 'check_disk_sda2' on host '192.168.12.120' was out of bounds.
[1418116495] Warning: Return code of 255 for check of service 'check_load' on host '192.168.12.120' was out of bounds.

添加的配置:/etc/nagios/conf.d/192.168.12.120.cfg
define host{
        use                     linux-server
        host_name               192.168.12.120
        alias                   120
        address                 192.168.12.120
        }


define service{
        use                     generic-service
        host_name               192.168.12.120
        service_description     check_http
        check_command           check_http
        max_check_attempts      5
        normal_check_interval 1
}


define service{
        use     generic-service
        host_name       192.168.12.120
        service_description     check_load
        check_command           check_nrpe!check_load
        max_check_attempts 5
        normal_check_interval 1
}


define service{
        use     generic-service
        host_name       192.168.12.120
        service_description     check_disk_sda2
        check_command           check_nrpe!check_sda2
        max_check_attempts 5
        normal_check_interval 1
}

求解答。謝謝!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2014-12-09 19:38 |只看該作者
現(xiàn)在Ok,是我這邊網(wǎng)絡(luò)問題


   
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP