diff options
Diffstat (limited to 'qa/259.out')
-rw-r--r-- | qa/259.out | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/qa/259.out b/qa/259.out new file mode 100644 index 0000000..de04dfa --- /dev/null +++ b/qa/259.out @@ -0,0 +1,210 @@ +QA output created by 259 +No errors here ... + +# instantaneous +derived.inst = delta(sample.longlong.million) +# counter +derived.ctr = delta(pmcd.pdu_in.total) + +Derived metric initialization from $PCP_DERIVED_CONFIG +pmLoadDerivedConfig("TMP.config") +pmRegisterDerived: register metric[0] derived.inst = delta(sample.longlong.million) +pmRegisterDerived: register metric[1] derived.ctr = delta(pmcd.pdu_in.total) +__dmopencontext: bind metric[0] derived.inst +__dmopencontext: bind metric[1] derived.ctr +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]: + value "HOST" +Note: timezone set to "TZ=UTC" + +__dmgetpmid: metric "derived.inst" -> PMID 511.0.1 +metric: derived.inst +host: HOST +semantics: instantaneous value +units: none +samples: 4 +interval: 0.25 sec +derived metrics prefetch added 1 metrics: 29.0.23 +__dmpostfetch: [0] root node 511.0.1: numval=0 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.1 from pmDesc) numval: 0 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0 + PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.1 (derived.inst): No values returned! +No values available +derived metrics prefetch added 1 metrics: 29.0.23 +__dmpostfetch: [0] root node 511.0.1: numval=1 vset[0]: inst=-1 ll=0 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.1 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0 + PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.1 (derived.inst): numval: 1 valfmt: 1 vlist[]: + value 0 + 0 +derived metrics prefetch added 1 metrics: 29.0.23 +__dmpostfetch: [0] root node 511.0.1: numval=1 vset[0]: inst=-1 ll=0 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.1 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0 + PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.1 (derived.inst): numval: 1 valfmt: 1 vlist[]: + value 0 + 0 +derived metrics prefetch added 1 metrics: 29.0.23 +__dmpostfetch: [0] root node 511.0.1: numval=1 vset[0]: inst=-1 ll=0 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.1 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [sample.longlong.million] master=0 + PMID: 29.0.23 (29.0.23 from pmDesc) numval: 1 + Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: none +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.1 (derived.inst): numval: 1 valfmt: 1 vlist[]: + value 0 + 0 + +Derived metric initialization from $PCP_DERIVED_CONFIG +pmLoadDerivedConfig("TMP.config") +pmRegisterDerived: register metric[0] derived.inst = delta(sample.longlong.million) +pmRegisterDerived: register metric[1] derived.ctr = delta(pmcd.pdu_in.total) +__dmopencontext: bind metric[0] derived.inst +__dmopencontext: bind metric[1] derived.ctr +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]: + value "HOST" +Note: timezone set to "TZ=UTC" + +__dmgetpmid: metric "derived.ctr" -> PMID 511.0.2 +metric: derived.ctr +host: HOST +semantics: instantaneous value +units: count +samples: 4 +interval: 0.25 sec +derived metrics prefetch added 1 metrics: 2.1.16 +__dmpostfetch: [0] root node 511.0.2: numval=0 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.2 from pmDesc) numval: 0 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: count +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [pmcd.pdu_in.total] master=0 + PMID: 2.1.16 (2.1.16 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: counter Units: count +[0] inst=-1, val=<number> +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.2 (derived.ctr): No values returned! +No values available +derived metrics prefetch added 1 metrics: 2.1.16 +__dmpostfetch: [0] root node 511.0.2: numval=1 vset[0]: inst=-1 u=2 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.2 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: count +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [pmcd.pdu_in.total] master=0 + PMID: 2.1.16 (2.1.16 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: counter Units: count +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.2 (derived.ctr): numval: 1 valfmt: 0 vlist[]: + value 2 + 2 +derived metrics prefetch added 1 metrics: 2.1.16 +__dmpostfetch: [0] root node 511.0.2: numval=1 vset[0]: inst=-1 u=3 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.2 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: count +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [pmcd.pdu_in.total] master=0 + PMID: 2.1.16 (2.1.16 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: counter Units: count +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.2 (derived.ctr): numval: 1 valfmt: 0 vlist[]: + value 3 + 3 +derived metrics prefetch added 1 metrics: 2.1.16 +__dmpostfetch: [0] root node 511.0.2: numval=1 vset[0]: inst=-1 u=3 +expr node <addr> type=DELTA left=<addr> right=(nil) save_last=0 + PMID: PM_ID_NULL (511.0.2 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: instant Units: count +[0] inst=-1, val=<number> +expr node <addr> type=NAME left=(nil) right=(nil) save_last=1 [pmcd.pdu_in.total] master=0 + PMID: 2.1.16 (2.1.16 from pmDesc) numval: 1 + Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff + Semantics: counter Units: count +[0] inst=-1, val=<number> (last inst=-1, val=<number>) +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 511.0.2 (derived.ctr): numval: 1 valfmt: 0 vlist[]: + value 3 + 3 + +Errors and empty results here ... + +myname.a = delta( +myname.b = delta + 3 +myname.c = delta(sample.long.one + sample.long.hundred) +myname.d = delta(12345) + +Derived metric initialization from $PCP_DERIVED_CONFIG +pmLoadDerivedConfig("TMP.config") +[TMP.config:1] Error: pmRegisterDerived(myname.a, ...) syntax error + delta( + ^ +End of input +pmRegisterDerived: register metric[0] myname.b = delta + 3 +[TMP.config:3] Error: pmRegisterDerived(myname.c, ...) syntax error + delta(sample.long.one + sample.long.hundred) + ^ +[TMP.config:4] Error: pmRegisterDerived(myname.d, ...) syntax error + delta(12345) + ^ +__dmgetpmid: metric "delta" -> Unknown metric name +bind_expr: error: derived metric myname.b: operand: delta: Unknown metric name +pmFetch returns ... +TIMESTAMP ... numpmid: 1 + 2.0.21 (pmcd.hostname): numval: 1 valfmt: 1 vlist[]: + value "HOST" +Note: timezone set to "TZ=UTC" + +__dmgetpmid: metric "myname" -> Unknown metric name +pmval: pmLookupName(myname): Unknown metric name |