[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] SNMP daemon and uptime ?
* Barrie Bremner (baz [at] barriebremner.com) wrote:
> >>>>> "Chris" == Chris J <Chris> writes:
>
> Chris> Anyone ever seen this with ucd-snmp (ver 4.2.1)?
>
> Chris> [172%][linux2][cej] >snmpget localhost public
> Chris> system.sysUpTime.0 system.sysUpTime.0 = Timeticks:
> Chris> (4189171303) 484 days, 20:35:13.03 [173%][linux2][cej]
> Chris> >uptime 10:14pm up 37 days, 11:34, 1 user, load average:
> Chris> 2.00, 2.00, 2.00 [174%][linux2][cej] >
>
> Chris> Just look at how long snmpd thinks it's been running
> Chris> ... mre than ten times longer than the machine
> Chris> uptime. Suggestions on a postcard?
>
> Chris> Machine is Dual P150 running 2.2.19 ... I'm wondering if
> Chris> its a timing issue in the daemon, running at some funny
> Chris> speed as it's not dealing with SMP quite right...
>
> Chris> *shrug*
>
> Chris> System date/time is correct.
>
> Chris> Ideas on a postcard :)
>
> Chris> Chris...
>
>
> About the only thing I can possibly thing of (and it's fairly
> improbable) is that if the time/date on the server has been changed
> since that SNMP process was started and it's thrown any sort of time
> keeping that the SNMP process might do/bad handling of time/negative
> numbers etc.
>
> *Clutches at straws*
>
I would have thought it got the uptime from /proc/uptime?
Although that makes the problem far more confusing.
Maybe parsing it wrongly? (if it does use it).
--
[ Richard Lowe - richlowe - richlowe [at] richlowe.net ]
[ http://www.richlowe.net/ ]
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.