From: Buchan M. <bg...@st...> - 2007-12-21 06:22:22
|
On Wednesday 19 December 2007 17:02:38 Teresa Kroeker wrote: > Buchan Milne wrote: > > I use fqdn's for all my hosts on hobbit (as we have a number of > > environments, and we duplicate the short host name for some servers in > > multiple environments), including the hobbit network test/devmon node. > > > > Due to the following code, I was never seeing the dm test for this node > > (which has some useful information when doing tuning of devmon): > > > > # Remove domain info, if any > > $nodename =~ s/\..*//; > > chomp $nodename; > > > > I don't think this is useful at all, if something besides the output > > of 'hostname' is required, the NODENAME should be set appropriately in > > devmon.cfg. > > > > Comments? > > I agree that I would like it changed as I also use fqdn's. I spent some > time trying unsuccessfully to get it work. Now I know why I couldn't. OK, I have commented out this line in svn: $nodename =~ s/\..*//; Regards, Buchan |