17 Apr
2018
17 Apr
'18
5:31 p.m.
On 4/17/2018 9:17 AM, Galen Johnson wrote:
Another option would be to use string concatenation; such as:
TEST2RRD="cpu=la,disk,inode,qtree" TEST2RRD+=",memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp" TEST2RRD+=",time=ntpstat,vmstat,iostat,netstat,temperature,apache"
Ok, this is cool. I never suspected this would work. There's that big warning at the top of the file:
NB : Even though it might look like a shell-script, it is NOT.
so it has never been clear to me what parsed these files.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska