Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Extract data from DCI summary table results

Extract data from DCI summary table results

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 30.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    B
    blazarov
    wrote on last edited by
    #1

    Hello all,

    I have an idea that will greatly help me in day to day activities, but i am not sure if it is possible to implement and how.

    I am using DCI summary tables which are very very cool.

    What i need is to somehow count the total entries in the DCI summary table, along with counting different matches and store them in a separate DCI so i can graph them.

    For example i have now a perfectly working DCI summary table called Backup Status looking like this:

    Node        Backup Status
    srv1          OK; blablalba details
    srv2          FAILED; blablabla details
    srv3          WARNING; blablabla details
    srv4          OK; blablalba details
    srv5          OK; blablabla details
    srv6          OK; blablabla details

    Ideally i would like to configure 4 DCIs that execute the DCI summary table and store the counts of:

    • count of total DCI summary table entries (6)
    • count of DCI summary table entries matching BackupStatus like OK* (4)
    • count of DCI summary table entries matching BackupStatus like WARNING* (1)
    • count of DCI summary table entries matching BackupStatus like FAILED* (1)

    That way i can have a nice history of the success rates of my backups over time.

    So any ideas how to achieve that?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      currently the only way I can think of is to create nxshell script that will request summary table and push DCI value. Summary tables are not accessible from NXSL scripts so simple script DCI is not possible.

      Best regards,
      Victor

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups