On Tue, Jun 29, 2010 at 1:40 AM, Network Operation Center FMC Luxemburg <n...@eurofmc.com> wrote: > Hi everybody, > > I'm looking for a way to check out the mapping between a hostname and IP > address. > > Example: IP 192.168.0.1 exists and if the hostname foo.mylan.com is not > associated with this IP, I would have an alarm. > > Indeed the script below returns no alarm :
Take a look at check_dns. - Max ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null