[Nagiosplug-devel] [ nagiosplug-Bugs-1396593 ] Perfdata Output by check_dns

SourceForge.net noreply at sourceforge.net
Tue Jan 3 23:08:07 CET 2006


Bugs item #1396593, was opened at 2006-01-04 08:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1396593&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Tobias Mucke (mucke)
Assigned to: Nobody/Anonymous (nobody)
Summary: Perfdata Output by check_dns

Initial Comment:
Hi everybody,

just a little bug in perfdata output of the plugin
check_dns. I'am using 1.4.2.

Example for dns reverse lookup:

/opt/nagios/plugins/check_dns -H IP -t 10
DNS OK: 0.004 seconds response time IP returns FQHN.
|time=0.003981s;;;0.000000

Between plugin output and perfdata output is a  	line
break, so perfdata will not get processed by Nagios.

If I call it like a dns forward lookup, there is no
line break.

/opt/nagios/plugins/check_dns -H FQHN -a IP -t 10
DNS OK: 0.005 seconds response time FQHN returns
IP|time=0.004883s;;;0.000000

By the way, it would be very nice to really test dns
forward lookups by check_dns. I tried it the following,
but this doesn't work, of course. Although it seems
strange that FQHN ist not FQHN.

/opt/nagios/plugins/check_dns -H IP -a FQHN -t 10
DNS CRITICAL - expected FQHN but got FQHN.

Thanks a lot.

Tobias


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1396593&group_id=29880




More information about the Devel mailing list