[cricket-users] collector change

From: Steen Linden (Steen.Linden@ebone.net)
Date: Thu Jun 17 1999 - 07:11:18 PDT


From: Steen Linden <Steen.Linden@ebone.net>

Hi Jeff,

I just upgraded from cricket 0.63 to 0.67 and noted that I can't have
spaces in my target names any longer.

In collector the parsing of retrieved data was changed, so now only the
first token is put into @results. (According to the comments this is done
in order to be able to put in-line comments in the returned data !?)

The easy workaround is:

324,325c324,325
< $value =~ s/^\s*//;
< ($value) = split(/\s+/, $value, 2);

---
>               #$value =~ s/^\s*//;
>               #($value) = split(/\s+/, $value, 2);

but this will maybe break these future in-line comments???

What I would like to continue to do is:

map alias-matches-target base-oid = ifAlias match = /^\\#%auto-target-name%,.*$/

target --default-- router = myrouter inst = map(alias-matches-target)

target "internal: Ebone Inc" rrd-datafile = %dataDir%/ebone-inc.rrd

It still works in 0.67 but it's inefficient since collector has to do an IfWalk every time it runs because the target doesn't match the now chopped ifAlias of the instance.

Best wishes Steen Linden Ebone Inc.

------------------------------------------------------------------------ Campaign 2000 is here! http://www.onelist.com Discuss your thoughts; get informed at ONElist. See our homepage.



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:53 PST