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. Monitor current system time

Monitor current system time

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 14.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.
  • C
    C
    CrUser
    wrote on last edited by
    #1

    Hi,

    I need to monitor current time with NetXMS server for all workstations with NetXMS agent installed on them. The idea was to compare the current system time (macro %T) on the NetXMS server with the data obtained from the NetXMS agent System.CurrentTime. Unfortunately, after the first poll query I received an alert that the limit set in the threshold rule was exceeded with the content "Threshold reached for data collection item "Current system time" (Metric: System.CurrentTime; Threshold value: 1.76 G; Actual value: 1.76 G)". From this message I cannot see exactly which timestamp was read because it is expressed in giga format. Does anyone have an idea how to perform a system time check on nodes with server time and trigger an alarm in case of a mismatch.

    Thanks in advance
    Tomislav

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

      Hi,

      alarm message is defined in Configuration->Event templates. There in the message field you'd find something like %<{multipliers, units}currentValue> - multipliers define that value is converted to G, units would display measurement units if these are defined in DCIs properties. So setting just %<currentValue> would display seconds.
      But you also can check history of the DCI - you'll see the values there. Or just Data Collection tab - you can turn multipliers on and off via context menu.

      Also note that in 5.x there's built-in time synchronization functionality. If you call Status Poll manually, it will print time difference. If agent configuration parameter SyncTimeWithServer is set to yes, time will also be synchronized on status polls.

      1 Reply Last reply
      0
      • C
        C
        CrUser
        wrote on last edited by
        #3

        Thank you Filip, I will try to adjust DCI current measure with to see exact value of timestamp. I hope that will be resolve this issue. Also I will try built-in time synchronization functionality.
         
        Tomislav

        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