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. Displaying timestamp of DCI in dashboard

Displaying timestamp of DCI in dashboard

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 51.0k 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.
  • S
    S
    szabolcs
    wrote on last edited by
    #1

    Hello,

    I'm monitoring backups with a Push DCI through snmp traps. So the snmp trap fires an action script runs that pushes the result to the DCI.
    Now I would like to visualize this by displaying the timestamp of the dci + result, but don't really know where should I start with this.
    Currently I have a DCI that has the name of the backup job and stores the result.

    What I would like to achieve is something like this:

    BackupJobName | Last Backup Result datetime | Last Backup Result

    Any guidance where and how to start is much appreciated.

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      In the action script you can push the result to several DCIs, so you can store the result to one DCI and timestamp to another.
      Displaying on dashboard is easier, if you have a DCI with the same name present on several nodes - in that case you can create a DCI Summary Table and use it in a Dashboard, specifying a container, where the needed nodes are located.
      If all DCIs are on a single node, then it would be necessary to create a gauge for each DCI manually. Or it could be possible to create a table DCI on that node and populate data into it by script, but it would require quite complicated scripting.

      1 Reply Last reply
      0
      • S
        S
        szabolcs
        wrote on last edited by
        #3

        Dear Filipp, thank you very much, think I can get this work now with, had a lack of understanding of the time functions but think I got it now. 🙂

        1 Reply Last reply
        0
        • S
          S
          szabolcs
          wrote on last edited by
          #4

          One more thing 🙂
          Is it possible to somehow display the date/time on dashboard when stored as uint? Tried to play around with formatting string %tY for example, but all i get is invalid format.

          1 Reply Last reply
          0
          • Z
            Z
            Tatjana Dubrovica
            wrote on last edited by
            #5

            You are right formating (like: "%tY" or "%1$tT %1$tD") should work. It's a bug in console that it does not work. It is fixed and will be in next patch release.

            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