Draw multiple lines in a graphite windows by cli

Asked by Homer Li on 2012-05-23

Hello ;
        eg: > draw hadoop.172.*.all.cpu.runq
        It will output runq lines of the whole cluster.

        Now, I want to draw four of them. (172.234, 172.235, 172.238, 172.239)

        Here in pseudo-code:
        >draw hadoop.172.23[4,5,8,9].all.cpu.runq ( Invalid syntax )

        How to write ?

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Leinartas
Solved:
2012-05-25
Last query:
2012-05-25
Last reply:
2012-05-24
Jeff Blaine (jblaine-kickflop) said : #1

Homer,

Use: hadoop.172.23{4,5,8,9}.*.all.cpu.runq

Homer Li (homerl) said : #2

Hi Jeff;

Thanks, it 's not work too. There is no data output in graphite(0.99) cli
I try to used "( , [ , {"

>draw hadoop.172.23{8,9}.*.all.cpu.runq
no data
>draw hadoop.172.23{8,9}.all.cpu.runq
no data
>draw hadoop.172.23(8,9).*.all.cpu.runq
no data
>draw hadoop.172.23{8,9}.all.cpu.runq
no data
>draw hadoop.172.23[8,9].*.all.cpu.runq
no data
>draw hadoop.172.23[8,9].all.cpu.runq
no data

Best Michael Leinartas (mleinartas) said : #3

Have you tried drawing these using the composer interface (the default page)? The CLI has been abandoned for quite some time and will be removed in a future release - it's likely that this wildcard form was added sometime after the CLI and is failing some validation because of it.

Homer Li (homerl) said : #4

Hi Michael;
     Oh, I understand, when I input in composer interface, it 's no problem.

     Thanks.

Homer Li (homerl) said : #5

Thanks Michael Leinartas, that solved my question.