Check online status by hostname

Alex Burger alex at fragit.net
Tue Jun 29 18:27:00 CEST 2004


Wengrzik, Andreas wrote:

> Hello!
> 
> What is the best way to check if a client is online by his hostname??
> 
> Wie do a lot changing ip addresses but the hostnames always stay...
> Any ideas??
> Thanks a lot!!
> 
> 
> Is it possible to create a host with his hostname? Or do i always need an ip address??

You can use hostnames instead of IP addresses.  I would suggest that you 
add all the host names / ip addresses to a local hosts file, or 
configure the server as a DNS server which is authorative for your 
domain.  If you don't and the DNS server fails (resulting in no DNS 
resolution) you could end up with a lot of false alerts.

Alex



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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