Re: Problem with multi-target sums
Jared Gillis <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Huh, very strange, I changed my target/view def from:
targetType F740QuotaTree
ds = "treeCurK, treeMaxK, treeCurFiles, treeMaxFiles"
view = "Bytes Used: treeCurK treeMaxK,
Files Used: treeCurFiles treeMaxFiles"
to:
targetType F740QuotaTree
ds = "treeCurK, treeMaxK, treeCurFiles, treeMaxFiles"
view = "Bytes Used, Files Used"
view "Bytes Used"
elements = "treeCurK, treeMaxK"
view "Files Used"
elements = "treeCurFiles, treeMaxFiles"
And that seemed to fix it. I'm working with a rather large config tree that
was built out on Cricket 1.0.2 or earlier, so that's likely the problem. I
find it odd that other aggregate sums work fine with the old config though.
Every time I think I'm starting to understand Cricket's idiosyncrasies,
another one pops up that throws me for a loop =)
Marc Powell wrote:
> If this is cricket-1.0.5, try changing your view definition to the new
> format. I've seen issues where the old view format just doesn't work
> when it should.
>
> --
> Marc
>
>> -----Original Message-----
>> From: [email protected]
> [mailto:cricket-users-
>> [email protected]] On Behalf Of Jared Gillis
>> Sent: Tuesday, July 18, 2006 12:17 PM
>> To: [email protected]
>> Subject: Re: [cricket-users] Problem with multi-target sums
>>
>> Does anyone have any ideas/suggestions on this? I'm still no closer to
>> figuring out my problem.
>>
>> Jared Gillis wrote:
>>> Hey all,
>>>
>>> I've set up a multi-target sum graph in cricket, and it's not
> working.
>> I've
>>> got several other multi-target sums set up that work fine, and I've
>>> duplicated the config. The only difference is a different
> target-type.
>>> Here's the relevant config:
>>>
>>> targetType F740QuotaTree
>>> ds = "treeCurK, treeMaxK, treeCurFiles,
>> treeMaxFiles"
>>> view = "Bytes Used: treeCurK treeMaxK,
>>> Files Used: treeCurFiles treeMaxFiles"
>>>
>>> This is to graph quota trees on NetApp filers. The target works, as
>> regular
>>> targets with this type work as expected.
>>>
>>> target "Mail trees (sum)"
>>> mtargets = "na1-1.san/mail;
>>> na1-2.san/mail;
>>> na2-1.san/mail;
>>> na2-2.san/mail;"
>>> mtargets-ops = "sum()"
>>> target-type = F740QuotaTree
>>> short-desc = "Mail trees (sum)"
>>>
>>> This is the target definition for the multi-target sum. It's based
> on
>>> another multi-target that works (using standard-interface as it's
> type).
>>> There are a few errors I'm seeing in the httpd logs, but this seems
> to
>> be
>>> the centerpoint:
>>> [03-Jul-2006 15:47:00*] Failed to get dslist from view name.
>>>
>>> I've done some debugging and printing of variables in the code, and
> I
>> can
>>> say that it's not getting the $view variable set. It is being made
> to
>>> exist, but has a null value.
>>>
>>> I've done a bit of work with Cricket and have tried about everything
> I
>> can
>>> think of, but for some reason I can't figure out, the grapher.cgi
> just
>> has
>>> no idea what view to tie this to. Any assistance would be much
>> appreciated.
>> --
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> cricket-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cricket-users
>
>
--
Jared Gillis - [email protected] Sonic.net, Inc.
Network Operations 2260 Apollo Way
707.522.1000 (Voice) Santa Rosa, CA 95407
707.547.3400 (Support) http://www.sonic.net/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV