On 11 April 2013 01:49, White, Bruce <bewhite at fellowes.com> wrote:
Use the COMMENT keyword in your hosts.cfg entry and it will display on the web page.
I think that's only per-host, and not per-IP.
However, I wonder if the "route:" tag might be used to leverage the COMMENT keyword. You could define the other IP addresses as other hostnames, and then use the route: tag to bind them to the main host. Like so:
1.2.3.1 main-host1 # conn=worst,1.2.4.10,1.2.5.20,1.2.3.2,1.2.3.3,1.2.3.4 route:main-host1-ilo,main-host1-con,main-host1-wsbp,main-host-wshbp,main-host-ora
1.2.4.10 main-host1-ilo # "COMMENT:ILO address" 1.2.5.20 main-host1-con # "COMMENT:PA-RISC Console port" 1.2.3.2 main-host1-wsbp # "COMMENT:Web Server Business Portal" 1.2.3.3 main-host1-wshbp # "COMMENT:Web Server https Business Portal" 1.2.3.4 main-host1-ora # "COMMENT:Oracle Listener/databases"
The key result from using the "route:" tag is (from the man page): "The status message will include information about the hosts in the router-list that are down".
J