Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-599

mongostat reports negative values for counters when server first restarts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.0.0-rc6
    • None
    • mongostat
    • None
    • Linux x64

    Description

      When a server monitored with mongostat restarts, and so its counters are reset, the next mongostat line shows negative counter values.

      (FWIW, MMS handles counter resets and overflows by simply discarding the sample whenever there's a "signum" change from the "previous" to "current" value of a counter, or if the difference is negative.)

      Attachments

        Activity

          People

            backlog-server-tools Backlog - Server Tools Team
            john.morales@mongodb.com John Morales
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: