using fping to find missing A records

Roger Roger at NagiosWiki.com
Sat Feb 16 17:07:25 CET 2008


On 2/13/08, Tom Throckmorton <throck at duke.edu> wrote:
>
> If I understand correctly what you're shooting for, it can be done in one
> step:
>
> you at yourhost% fping -ang 192.168.1.0/24
>
> ...would return
>
> - all hosts that are alive
> - by name (if one exists)
> - for a generated range (192.168.1.0..192.168.1.255)
>
> If you want to only show hosts for which there is no PTR record, just
> 'grep -v'
> your target domain(s) from the output.



 Thanks for your input Tom.  I'll try this later, but for the meantime, I
ended up trying the following (if I remember right)

fping -d -g 192.168.1.0/24

This pinged all my hosts, got me back a host name, and then pinged those
host names to give me the records.

I will probably come back at you for another question once I get a few other
things in order...thx again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080216/6265c0bb/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list