[HPADM] hp-ux 11.0 - snmp system.sysUpTime.0 versus uptime command

From: Sid Shapiro (sid_shapiro_at_bio-rad.com)
Date: 03/15/04

  • Next message: Gosselin, Mark: "[HPADM] Script help"
    To: hpux-admin@dutchworks.nl
    Date: Mon, 15 Mar 2004 13:43:23 -0800
    
    

    Hello,
    I've recently started to track uptime using the snmp
    system.sysUpTime.0 and I've noticed that it doesn't seem to track very
    well with actual system uptime (or at least as reported by the uptime
    command).

    It looks as though if the snmpd dies and restarts the snmp reported
    uptime is really that of the snmpd. On the other hand a user pointed
    out to me that on one 10.20 system, the uptime was reported at 155
    days but the system.sysUpTime.0 reported 257 days!

    Can anyone shed any light on this?
    Thanks,
    / Sid /

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Gosselin, Mark: "[HPADM] Script help"

    Relevant Pages

    • Re: SNMP Uptime request
      ... > When I snmp my server for uptime it returns a large ... How do I calculate that number into a time/date? ...
      (microsoft.public.win2000.general)
    • SNMP Uptime request
      ... When I snmp my server for uptime it returns a large ... How do I calculate that number into a time/date? ...
      (microsoft.public.win2000.general)
    • Re: Getting system uptime on Windows
      ... But still I can´t find any way to get the system uptime. ... TCL_DECLARE_MUTEXstatic int initialized = 0; ... return TCL_ERROR;} void Uptime_ExitProc{/* be festideous */ ...
      (comp.lang.tcl)
    • Re: systeminfo.exe
      ... > Hi Adam, ... Uptime is a simple command line tool that analyzes a single server ... > Uptime Reliability and Availability Information Tool: ... >> a solution to fix it so that the system uptime is displayed. ...
      (microsoft.public.windowsxp.general)
    • Re: how to calculate the system uptime
      ... I need a script that will calculate the system uptime. ... I can get the LastRebootTime of a machine in "YYYYMMDDDHHMMSS" format ... using the last "lastboottime" property from the Win32_OperatingSystem ...
      (microsoft.public.scripting.vbscript)