Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49836

couchbase-cli missing flags for some alert types

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.2
    • Neo
    • tools
    • None
    • Triaged
    • 1
    • Unknown
    • Tools 2021 Dec

    Description

      The couchbase-cli tool is missing flags for some alert types which have been introduced, but not yet implemented in the CLI tool. 

      Per the Web UI of 7.0.2, we can see that 14 alert types are referenced:

      The documentation for the CLI tool in 7.0 only references flags for 12 alert types. It appears the two missing ones are the following:

      • Node's time is out of sync with some nodes in the cluster
      • Disk usage analyzer is stuck; cannot fetch disk usage data

      We should implement flags so that these two alerts can be configured using the CLI tool in the same way that all other alerts can be configured using the CLI tool.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          In Neo there is 16 alerts in the UI:

          Need to ensure the cli matches

          pvarley Patrick Varley added a comment - In Neo there is 16 alerts in the UI: Need to ensure the cli matches

          Build couchbase-server-7.1.0-1857 contains couchbase-cli commit d10c2a1 with commit message:
          MB-49836 Add two new alerts to setting-alert

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1857 contains couchbase-cli commit d10c2a1 with commit message: MB-49836 Add two new alerts to setting-alert
          ashwin.govindarajulu Ashwin Govindarajulu added a comment - - edited

          Validated using 7.1.0-1874.

           

            --alert-audit-msg-dropped   Alert when writing event to audit log failed
            --alert-indexer-max-ram     Alert when indexer is using all of its allocated memory
            --alert-timestamp-drift-exceeded
                                        Alert when should be sent if the remote mutation timestamps exceeds drift threshold
            --alert-communication-issue
                                        Alert when nodes are experiencing communication issues
            --alert-node-time           Alert when time on one node is out of sync with time on another node
            --alert-disk-analyzer       Alert when the disk analyzer gets stuck

           

           

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - - edited Validated using 7.1.0-1874.     --alert-audit-msg-dropped   Alert when writing event to audit log failed   --alert-indexer-max-ram     Alert when indexer is using all of its allocated memory   --alert-timestamp-drift-exceeded                               Alert when should be sent if the remote mutation timestamps exceeds drift threshold   --alert-communication-issue                               Alert when nodes are experiencing communication issues   --alert-node-time           Alert when time on one node is out of sync with time on another node   --alert-disk-analyzer       Alert when the disk analyzer gets stuck    

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            callum.majumdar Callum Majumdar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty