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-poll.txt
          65 kB
        2. test-discovery.txt
          6 kB
        3. test-applications.txt
          6 kB

        Activity

          [OBS-574] Graphs for DRBD not working

          Just to let you know, this is 100% ok across all our units now (a mix of Debian and Ubuntu).

          Many thanks for fixing

          robertw Robert Williams added a comment - Just to let you know, this is 100% ok across all our units now (a mix of Debian and Ubuntu). Many thanks for fixing

          Aha! i now have graphs, no numbers just yet, but graphs and instances which is looking very good. Will let it collect some real data for a while and report back, many thanks!

          robertw Robert Williams added a comment - Aha! i now have graphs, no numbers just yet, but graphs and instances which is looking very good. Will let it collect some real data for a while and report back, many thanks!

          Nono, i mean your output from <<<drbd>>> isn't exactly the right format, it's missing a blank line, which was probbaly breaking a regular expression. I think it's fixed now!

          adama Adam Armstrong added a comment - Nono, i mean your output from <<<drbd>>> isn't exactly the right format, it's missing a blank line, which was probbaly breaking a regular expression. I think it's fixed now!

          ahhh... messages crossed over, here is the missing one (applications)... test-applications.txt

          robertw Robert Williams added a comment - ahhh... messages crossed over, here is the missing one (applications)... test-applications.txt

          Your drbd output is missing a space that mine has. It's a nightmare that these things change format subtly!

          adama Adam Armstrong added a comment - Your drbd output is missing a space that mine has. It's a nightmare that these things change format subtly!

          I've modified the regular expression a bit, see if that works!

          adam.

          adama Adam Armstrong added a comment - I've modified the regular expression a bit, see if that works! adam.

          mmm.... it obviously doesn't like me then

          So, all my agent files (in agent-local) are from 2014. So are the ones on the server itself.

          i've attached an example poll and discovery for the unix-agent in debug mode. Hope that's the correct output?

          test-poll.txt test-discovery.txt

          robertw Robert Williams added a comment - mmm.... it obviously doesn't like me then So, all my agent files (in agent-local) are from 2014. So are the ones on the server itself. i've attached an example poll and discovery for the unix-agent in debug mode. Hope that's the correct output? test-poll.txt test-discovery.txt

          The output from :

          ./poller.php -h <host> -m unix-agent,applications -d

          might help

          adama Adam Armstrong added a comment - The output from : ./poller.php -h <host> -m unix-agent,applications -d might help
          adama Adam Armstrong added a comment - http://alpha.memetic.org/~adama/snaps/Observium_Dev____alpha.memetic.org_-_Apps_-_Google_Chrome_2016-03-11_17.04.13.png

          This is working pretty much fine for me now. Just dumped the agent on a new system with drbd, and it worked fine there too.

          adama Adam Armstrong added a comment - This is working pretty much fine for me now. Just dumped the agent on a new system with drbd, and it worked fine there too.

          People

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

            Dates

              Created:
              Updated:
              Resolved: