[ nagiosplug-Bugs-3519847 ] check_dig thinks that :: is not :0:

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3519847, was opened at 2012-04-20 07:48
Message generated for change (Tracker Item Submitted) made by zugschlus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3519847&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: Interface (example)
Group: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marc Haber (zugschlus)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_dig thinks that :: is not :0:

Initial Comment:
check_dig does not handle IPv6 addresses with the intelligence that it              
needs. For example:                                                                 
                                                                                    
/usr/lib/nagios/plugins/check_dig --hostname 127.0.0.1                              
--query_address=guanabara.rederio.br --record_type=AAAA                             
--expected_address=2001:12f0:4c2::222:19ff:febd:98c2 --verbose                      
/usr/bin/dig @127.0.0.1 -p 53 guanabara.rederio.br -t AAAA                          
Looking for: '2001:12f0:4c2::222:19ff:febd:98c2'                                    
;; ANSWER SECTION:                                                                  
guanabara.rederio.br.   86400   IN      AAAA    2001:12f0:4c2:0:222:19ff:febd:98c2  
                                                                                    
;; AUTHORITY SECTION:                                                               
rederio.br.             86400   IN      NS      rio.rederio.br.                     
rederio.br.             86400   IN      NS      guanabara.rederio.br.               
                                                                                    
;; ADDITIONAL SECTION:                                                              
rio.rederio.br.         86400   IN      A       200.20.94.51                        
guanabara.rederio.br.   86400   IN      A       200.20.94.50                        
                                                                                    
;; Query time: 510 msec                                                             
;; SERVER: 127.0.0.1#53(127.0.0.1)                                                  
;; WHEN: Thu Apr 19 00:06:03 2012                                                   
;; MSG SIZE  rcvd: 130                                                              
                                                                                    
DNS WARNING - 0.524 seconds response time (Server not found in ANSWER               
+SECTION)|time=0.523813s;;;0.000000                                                 
                                                                                    
note 19ff::febd on the command line (which is the output given, for                 
example, by the ruby Resolv library) and 19ff:0:febd in the output                  
given by dig.                                                                       



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

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

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.