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. transfom SNMP Server UpTime

transfom SNMP Server UpTime

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 21.8k 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.
  • R
    R
    rainerh
    wrote on last edited by
    #1

    Hello,

    I got the following Value, when I ask for Server UpTime via SNMP (Walk 1.3.6.1.2.1.25.1.2)
    07 E1 06 05 15 0F 11 0D 0A

    07 E1 means 2017, 06 means Month 6, 05 menas day 5

    Is there a transformation in NETXMS like strtotime?

    A date-time specification.

                field  octets  contents                  range
                -----  ------  --------                  -----
                  1      1-2  year*                    0..65536
                  2      3    month                    1..12
                  3      4    day                      1..31
                  4      5    hour                      0..23
                  5      6    minutes                  0..59
                  6      7    seconds                  0..60
                              (use 60 for leap-second)
                  7      8    deci-seconds              0..9
                  8      9    direction from UTC        '+' / '-'
                  9      10    hours from UTC*          0..13
                10      11    minutes from UTC          0..59

    Thank you

    1 Reply Last reply
    0
    • R
      R
      rainerh
      wrote on last edited by
      #2

      ? ? ?

      1 Reply Last reply
      0
      • U
        U
        Andreas@rc
        wrote on last edited by
        #3

        hrSystemUptime is .1.3.6.1.2.1.25.1.1

        Your OID ist hrSystemDate - The host's notion of the local date and time of day.

        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