|
From: Eli S. <es...@il...> - 2006-09-21 20:39:43
|
I've never tried to override a standard OID (probably won't work), but at the very least you could create a new one using the 'exec' option in snmpd.conf for net-snmp systems, and calculate a true uptime for use. /eli Mark Krenz wrote: > > I'm not sure if its just ucd/net-snmp, but I first noticed it back in > 1998 or so. So its been that way for a long time. I came across it > because the snmpd was crashing and I had to restart it without > restarting the system. In recent versions of RHEL, snmpd will stop > answering queries after a while and I've had to restart it. A recent > update seems to fix that problem though. > > You can always do what netcraft does, which is use the tsval from tcp > headers. But that's kernel version dependent and is limited to 495 days > or 49 days depending on your clock timer speed. > > > Eli Stair wrote: > > Interesting, never thought about that... on devices I'm familiar with > > it's synonymous. Is that unique to net-snmp/ucd-snmp implementation? > > > > /eli > > > > > > Mark Krenz wrote: > > > >> That OID is not the host uptime, it is how long the snmpd process has > >> been running. Why they choose to implement that instead of the host > >> uptime is beyond me. > >> > >> > >> Eli Stair wrote: > >> > You mean like the sysUpTime OID? > >> > > >> > .1.3.6.1.2.1.1.3.0 > >> > > >> > /eli > >> > > >> > Priyadarsan Roy wrote: > >> > > >> >> Hi all, > >> >> > >> >> Is there a way I can show the uptime which is generally show in > seconds > >> >> on the Console -> Devices as a graph. I tried the generic - uptime > >> >> template I found on the forums but that showed only for my local > linux > >> >> device and not for my Cisco SNMP enabled router. > >> >> > >> >> Thanks in advance, > >> >> > >> >> PD > >> >> > >> >> > >> >> > >> >> > >> > ------------------------------------------------------------------------- > >> >> Take Surveys. Earn Cash. Influence the Future of IT > >> >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> >> opinions on IT & business topics through brief surveys -- and > earn cash > >> >> > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > >> >> > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>>> > >> >> _______________________________________________ > >> >> cacti-user mailing list > >> >> cac...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/cacti-user > >> >> > >> >> > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > Take Surveys. Earn Cash. Influence the Future of IT > >> > Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> > opinions on IT & business topics through brief surveys -- and > earn cash > >> > > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > >> > _______________________________________________ > >> > cacti-user mailing list > >> > cac...@li... > >> > https://lists.sourceforge.net/lists/listinfo/cacti-user > >> > > >> > >> > >> -- > >> Mark S. Krenz > >> System Administrator > >> Cook Incorporated > >> mk...@co... > >> phone: (812)339-2235 ext.2239 > >> Cell: 322-4449 > >> > >> > >> > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > share your > >> opinions on IT & business topics through brief surveys -- and earn cash > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > >> _______________________________________________ > >> cacti-user mailing list > >> cac...@li... > >> https://lists.sourceforge.net/lists/listinfo/cacti-user > >> > >> > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > _______________________________________________ > > cacti-user mailing list > > cac...@li... > > https://lists.sourceforge.net/lists/listinfo/cacti-user > > > > > -- > Mark S. Krenz > System Administrator > Cook Incorporated > mk...@co... > phone: (812)339-2235 ext.2239 > Cell: 322-4449 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > cacti-user mailing list > cac...@li... > https://lists.sourceforge.net/lists/listinfo/cacti-user > |