Server address as URL

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
michael.wegemer
Posts: 2
Joined: Mon Oct 18, 2010 7:34 am

Server address as URL

Post by michael.wegemer »

Two of the machines that I want to monitor use DHCP to obtain their IP addresses. Is there a way to specify this in the localhost.cfg file when defining the machine.

define host{
use linux-server
host_name Linux02
alias Linux02 server
address 192.168.4.115 ; obtained via DHCP - would like to use linux02.wegemer.ca.
}

I do have a DNS server which will resolve linux02.wegemer.ca. to the correct IP address but this does not seem to work.

Thanks
michael.wegemer
Posts: 2
Joined: Mon Oct 18, 2010 7:34 am

Re: Server address as URL

Post by michael.wegemer »

I have resolved the issue. The problem was the period following wegemer.ca

I removed the period and everything is working fine.
Locked