Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Unix Agent
    • None

    Description

      Hi,

      The graphs for DRBD are not working (no values) however I can see data via telnet:

      1. telnet 192.168.1.10 36602 | sed -n '/<<<drbd>>>/,/<<<.*>>>/p'
        <<<drbd>>>
        version: 8.4.2 (api:1/proto:86-101)
        GIT-hash: 7ad5f850d711223713d6dcadc3dd48860321070c build by dag@Build64R6, 2012-09-06 08:16:10
        0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
        ns:70185244 nr:0 dw:65118492 dr:5896129 al:2248 bm:579 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
        <<<postfix_mailq>>>
        Connection closed by foreign host.

      Attachments

        1. test-applications.txt
          6 kB
        2. test-discovery.txt
          6 kB
        3. test-poll.txt
          65 kB

        Activity

          [OBS-574] Graphs for DRBD not working

          You can remove the old drbd file, I'm now using the <<<drbd>>> section built in to the agent.

          Parsing it is proving to be a bit of a pain, but I think I have that sorted now. I thought it was all working, but it seems like there are still some issues, as it' snot actually dropping data to the RRDs successfully. I need to check that.

          adama Adam Armstrong added a comment - You can remove the old drbd file, I'm now using the <<<drbd>>> section built in to the agent. Parsing it is proving to be a bit of a pain, but I think I have that sorted now. I thought it was all working, but it seems like there are still some issues, as it' snot actually dropping data to the RRDs successfully. I need to check that.

          FWIW - I had tested by removing and re-adding an existing DRBD host, after the re-add it now no longer detects the host as having the DRBD agent at all.

          Also, I see the drbd file in agent-local is still from October 2013 in my pull, so i have nothing new to 'push' to the clients - This may or may not be remotely relevant information

          robertw Robert Williams added a comment - FWIW - I had tested by removing and re-adding an existing DRBD host, after the re-add it now no longer detects the host as having the DRBD agent at all. Also, I see the drbd file in agent-local is still from October 2013 in my pull, so i have nothing new to 'push' to the clients - This may or may not be remotely relevant information

          Hmm. It still seems not to be properly fixed. Let me check!

          adama Adam Armstrong added a comment - Hmm. It still seems not to be properly fixed. Let me check!

          Excellent - does it require the client side agent script to be replaced or modified? Ours are still not showing results for anything, or is there some other corrective action required when hosts with DRBD already existed but were already broken?

          robertw Robert Williams added a comment - Excellent - does it require the client side agent script to be replaced or modified? Ours are still not showing results for anything, or is there some other corrective action required when hosts with DRBD already existed but were already broken?

          Rewritten and fixed.

          adama Adam Armstrong added a comment - Rewritten and fixed.

          I'm looking at rewriting the whole thing at the moment to do all of the parsing on the Observium side, switching to the <<<drbd>>> output.

          It's taken the whole day so far. I was hoping to clear up another couple of hundred ancient tickets too, oh well!

          adama Adam Armstrong added a comment - I'm looking at rewriting the whole thing at the moment to do all of the parsing on the Observium side, switching to the <<<drbd>>> output. It's taken the whole day so far. I was hoping to clear up another couple of hundred ancient tickets too, oh well!
          robertw Robert Williams added a comment - - edited

          Ok good, i guess! At least you can see it also. Let me know if there is any information I can provide, we have a number (about 8-10) of instances of DRBD here on a mixture of Debian and Ubuntu, fwiw, so can test any potential fixes. Cheers!

          robertw Robert Williams added a comment - - edited Ok good, i guess! At least you can see it also. Let me know if there is any information I can provide, we have a number (about 8-10) of instances of DRBD here on a mixture of Debian and Ubuntu, fwiw, so can test any potential fixes. Cheers!

          hrm. I've just set up two drbd test instances, and indeed, it's totally broken!

          I think it might be an issue with the version of DRBD, since the perl script isn't giving sensible output.

          adama Adam Armstrong added a comment - hrm. I've just set up two drbd test instances, and indeed, it's totally broken! I think it might be an issue with the version of DRBD, since the perl script isn't giving sensible output.

          Hi - yes i can confirm it's still present, current output from the agent is:

          1. telnet 10.1.1.25 36602 | sed -n '/<<<app-drbd>>>/,/<<<.*>>>/p'
            <<<app-drbd>>>
            drbd0: SecConUpT, drbd1: SecConUpT, drbd2: SecConUpT, drbd3: SecConUpT|ns=0|nr=1876781182|dw=1876781182|dr=203360|al=0|bm=149|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1727460764|dw=1727460764|dr=0|al=0|bm=0|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1071543876|dw=1071543876|dr=4452|al=0|bm=23|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=78810692|dw=78810692|dr=4476|al=0|bm=31|lo=0|pe=0|ua=0|ap=0|oos=0|

          Yet all graphs show -nan for all values under DRBD tab within Apps.

          Cheers!

          robertw Robert Williams added a comment - Hi - yes i can confirm it's still present, current output from the agent is: telnet 10.1.1.25 36602 | sed -n '/<<<app-drbd>>>/,/<<<.*>>>/p' <<<app-drbd>>> drbd0: SecConUpT, drbd1: SecConUpT, drbd2: SecConUpT, drbd3: SecConUpT|ns=0|nr=1876781182|dw=1876781182|dr=203360|al=0|bm=149|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1727460764|dw=1727460764|dr=0|al=0|bm=0|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1071543876|dw=1071543876|dr=4452|al=0|bm=23|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=78810692|dw=78810692|dr=4476|al=0|bm=31|lo=0|pe=0|ua=0|ap=0|oos=0| Yet all graphs show -nan for all values under DRBD tab within Apps. Cheers!

          Is this still extant?

          adama Adam Armstrong added a comment - Is this still extant?

          Hi, I've got an identical sounding issue with all drbd hosts (only just started using drbd here, so just added them). Data polls correctly via telnet:

          1. telnet 10.1.1.25 36602 | sed -n '/<<<app-drbd>>>/,/<<<.*>>>/p'
            <<<app-drbd>>>
            drbd2:cs=SyncTarget|ro=Secondary|pro=Primary|ds=Inconsistent|pds=UpToDate|extra= (1421670336 kiB out-of-sync)|ns=0|nr=524288000|dw=524288000|dr=0|al=0|bm=32000|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1073741828|dw=1073741828|dr=0|al=0|bm=65536|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=729882816|dw=729882816|dr=0|al=0|bm=44211|lo=0|pe=0|ua=0|ap=0|oos=1421670336|
            <<<app-ntpd>>>
            Connection closed by foreign host.
          1. telnet 10.1.1.25 36602 | sed -n '/<<<drbd>>>/,/<<<.*>>>/p'
            <<<drbd>>>
            version: 8.4.3 (api:1/proto:86-101)
            srcversion: 1A9F77B1CA5FF92235C2213
            0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
            ns:0 nr:524288000 dw:524288000 dr:0 al:0 bm:32000 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
            1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
            ns:0 nr:1073741828 dw:1073741828 dr:0 al:0 bm:65536 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
            2: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----
            ns:0 nr:730245900 dw:730245900 dr:0 al:0 bm:44234 lo:1 pe:2 ua:0 ap:0 ep:1 wo:f oos:1421307356
            [=====>..............] sync'ed: 33.9% (1387992/2097152)Mfinish: 13:57:22 speed: 28,272 (11,292) want: 39,760 K/sec

          Just curious if this was resolved and not updated or if it's a client-side issue we are doing wrong?

          Cheers

          robertw Robert Williams added a comment - Hi, I've got an identical sounding issue with all drbd hosts (only just started using drbd here, so just added them). Data polls correctly via telnet: telnet 10.1.1.25 36602 | sed -n '/<<<app-drbd>>>/,/<<<.*>>>/p' <<<app-drbd>>> drbd2:cs=SyncTarget|ro=Secondary|pro=Primary|ds=Inconsistent|pds=UpToDate|extra= (1421670336 kiB out-of-sync)|ns=0|nr=524288000|dw=524288000|dr=0|al=0|bm=32000|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=1073741828|dw=1073741828|dr=0|al=0|bm=65536|lo=0|pe=0|ua=0|ap=0|oos=0|ns=0|nr=729882816|dw=729882816|dr=0|al=0|bm=44211|lo=0|pe=0|ua=0|ap=0|oos=1421670336| <<<app-ntpd>>> Connection closed by foreign host. telnet 10.1.1.25 36602 | sed -n '/<<<drbd>>>/,/<<<.*>>>/p' <<<drbd>>> version: 8.4.3 (api:1/proto:86-101) srcversion: 1A9F77B1CA5FF92235C2213 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----- ns:0 nr:524288000 dw:524288000 dr:0 al:0 bm:32000 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0 1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----- ns:0 nr:1073741828 dw:1073741828 dr:0 al:0 bm:65536 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0 2: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r----- ns:0 nr:730245900 dw:730245900 dr:0 al:0 bm:44234 lo:1 pe:2 ua:0 ap:0 ep:1 wo:f oos:1421307356 [=====>..............] sync'ed: 33.9% (1387992/2097152)Mfinish: 13:57:22 speed: 28,272 (11,292) want: 39,760 K/sec Just curious if this was resolved and not updated or if it's a client-side issue we are doing wrong? Cheers

          People

            adama Adam Armstrong
            HTF Sebastian
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: