免费注册 查看新帖 |

Chinaunix

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

nagiox无法监控远程的DNS服务 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-27 13:50 |只看该作者 |倒序浏览
nagiox 3版本。系统是rhce 5.4

nagiox监控机主机名:ha1.huang.com  ip:192.168.11.21.被监控机是ha2.huang.com ,ip:192.168.11.22  dns在ha2.huang.com上面.

现在我在被监控机上面自己测试自己都不能成功
[root@ha2 nagios]# ./libexec/check_dns -H localhost -s www.huang.com -a 192.168.11.22
DNS CRITICAL - expected '192.168.11.22' but got '127.0.0.1'

[root@ha2 nagios]# ./libexec/check_dns -H localhost -s www.huang.com -a 192.168.11.22
DNS CRITICAL - expected '192.168.11.22' but got '127.0.0.1'

[root@ha2 nagios]# ./libexec/check_dns -H localhost -s www.huang.com -a 127.0.0.1
DNS OK: 0.058 seconds response time. localhost returns 127.0.0.1|time=0.058446s;;;0.000000

[root@ha2 nagios]# nslookup www.huang.com
Server:         192.168.11.22
Address:        192.168.11.22#53

Name:   www.huang.com
Address: 192.168.11.22

[root@ha2 nagios]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.11.22
nameserver 61.139.2.69
nameserver 221.10.251.52


监听的其它的服务是正常的。

论坛徽章:
0
2 [报告]
发表于 2010-05-31 10:50 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2010-06-02 16:31 |只看该作者
这么写

./libexec/check_dns -H localhost -s 192.168.11.22 www.huang.com

另外不是nagiox 应该是nagios吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP