免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3503 | 回复: 7
打印 上一主题 下一主题

请教nagios问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-21 15:17 |只看该作者 |倒序浏览
nagios已经配置完成但是监控的时候Status Information 报(Return code of 127 is out of bounds - plugin may be missing)

请教这是何问题,如何解决,谢谢


论坛徽章:
0
2 [报告]
发表于 2012-05-27 16:27 |只看该作者
plugin may be missing,看看nagios的插件有没有安装了。看看/usr/local/nagios/libexec/的文件夹下有么有文件,如果没有的话估计是没有装nagios-plugins

论坛徽章:
0
3 [报告]
发表于 2012-05-28 13:22 |只看该作者
我装了[img][/img]

未命名.jpg (119.13 KB, 下载次数: 23)

未命名.jpg

论坛徽章:
0
4 [报告]
发表于 2012-06-01 15:11 |只看该作者
我这边都搞过了,还是有问题,我check了下日志,在不停得报
[1338528451] Warning: Return code of 127 for check of host 'windows-xp' was out of bounds. Make sure the plugin you're trying to run actually exists.
[1338528561] Warning: Return code of 127 for check of service 'check_C_disk' on host 'windows-xp' was out of bounds. Make sure the plugin you're trying to run actually exists.
而我现在的客户端配置文件(我把host和server写一起了)为
define host {
       host_name windows-xp
       alias windows
       address 10.1.4.159
       contact_groups  admins
       check_command   check_nt!check-host-alive
       max_check_attempts 5
       notification_interval 10
       notification_period 24x7
       notification_options d,u,r
}
define service {
       host_name windows-xp
       service_description  check_C_disk
       check_command        check_nt!USEDDISKSPACE!-l c -w 80 -c 90
       check_period 24x7
       max_check_attempts 3
       normal_check_interval 2
       retry_check_interval 2
       contact_groups admins
       notification_interval 10
       notification_period 24x7
       notification_options w,u,c,r

contacts.cfg配置文件内容为
define contact{
        contact_name                    nagiosadmin               
        use                             generic-contact        
        alias                           Nagios Admin   
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,u,r
        service_notification_commands   notify-service-by-email
        host_notification_commands      notify-host-by-email
        email                           shelly.li@argos.cn   
        }
       define contactgroup{
                  contactgroup_name       admins
                  alias                   Nagios Administrators
                   members                 nagiosadmin
        }
求解啊。。。。。。。。。。。。。。。。。。。

论坛徽章:
0
5 [报告]
发表于 2012-06-01 15:12 |只看该作者
求求上山达人啊!!!!!!!

论坛徽章:
0
6 [报告]
发表于 2012-07-06 11:46 |只看该作者
你的NT被监控机器,得有这几个插件吧。服务器有没用。

论坛徽章:
0
7 [报告]
发表于 2012-07-10 14:37 |只看该作者
回复 1# shelly850815


    权限问题或者是配置文件的问题,多试试 !

论坛徽章:
0
8 [报告]
发表于 2012-07-10 22:37 |只看该作者
呵可,不错,我们也在监控C盘
你是用email notify, 有用过 fetion 吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP