hi, According to http://sourceforge.net/tracker/index.php?func=detail&aid=2741269&group_id=29880&atid=397599 the nagios plugin check_dns should be able to perform checks on all types of records.
These are the plugins installed by opsview (debian squeeze): dpkg -l | grep plugins ii nagios-plugins 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-basic 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-standard 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system Here I use the command 'host' with the -t switch (for type) and then srv. I want to query if we have a tcp record for the ldap service in the zone: $ host -t srv _ldap._tcp.domain.tld _ldap._tcp.asenjo.nx has SRV record 0 0 389 server.domain.tld. It finds one. Now with the nagios check_dns plugin: ./check_dns -H "_ldap._tcp.domain.tld" DNS OK: 0.014 seconds response time. _ldap._tcp.domain.tld returns |time=0.013891s;;;0.000000 Compare that to a 'normal' check: ./check_dns -H server DNS OK: 0.014 seconds response time. server returns xx.xx.xx.xx|time=0.014052s;;;0.000000 The srv check returns an empty string. As it is now this check is useless for records other than A, CNAME or PTR. It would be great to have it check TXT, MX, or SRV records. -- Groeten, natxo _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
