8 Apr
2011
8 Apr
'11
6:41 p.m.
Thanks for the responses, I actually just ended up using the method Phil described, which I've used before in other scripts. I was just wanting to know if there was a "better" way.
I used:
foreach $host (@host_list) {
$host_mem_info=/home/xymon/server/bin/bb 127.0.0.1 "hobbitdlog" $host.$test" |grep -i Physical;
etc...
}
After my next upgrade to xymon (using xymon 4.3.0-0-beta2) looks like I'll need to use xymondlog instead of hobbitdlog