Re: bind2 pmda qa problem

"Ken McDonell" <[email protected]> Wed, 15 Feb 2017 20:32:14 +1100
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
On 15/02/17 18:49, Lukáš Oliva wrote:
>   Hello,
> Thanks for detection. Canbyou describe the scenario?

Lukáš,

This is qa/1087.  The platform is bozo (PCP 3.11.8 x86_64 Ubuntu 16.04).

The metric bind2.zones.serial with the bind-rhel6-stats.xml data file 
where this appears to be the relevant part of the data file:

             <zone>
               <name>mydomain.example.com/IN</name>
               <rdataclass>IN</rdataclass>
               <serial>3091</serial>
             </zone>
             <zone>
               <name>mydomain2.examples.com/IN</name>
               <rdataclass>IN</rdataclass>
               <serial>2</serial>
             </zone>
             <zone>
               <name>anotherdomain.example.com/IN</name>
               <rdataclass>IN</rdataclass>
               <serial>27585</serial>
             </zone>

and 1087.out expects something like

bind2.zones.serial PMID: 25.0.133 []
     Data Type: 32-bit unsigned int  InDom: 25.1 0x6400001
     Semantics: counter  Units: count
Help: <empty entry>
     inst [0 or "mydomain.example.com"] value 27585
     inst [1 or "mydomain2.examples.com"] value 3091
     inst [2 or "anotherdomain.example.com"] value 2

which looks wrong (compare the numbers and the instance names)

and I'm seeing

bind2.zones.serial PMID: 25.0.133 []
     Data Type: 32-bit unsigned int  InDom: 25.1 0x6400001
     Semantics: counter  Units: count
Help: <empty entry>
     inst [0 or "mydomain.example.com"] value 27585
     inst [1 or "anotherdomain.example.com"] value 3091
     inst [2 or "mydomain2.examples.com"] value 2

which is also wrong!

So this looks like a code botch in the PMDA that is showing up 
differently due to different hashing methods on the platforms.

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#15174): https://groups.io/g/pcp/message/15174
View All Messages In Topic (4): https://groups.io/g/pcp/topic/4365733
Mute This Topic: https://groups.io/mt/4365733?uid=174580
New Topic: https://groups.io/g/pcp/post
-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580
Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]
Terms of Service: https://groups.io/static/tos
Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-