Display uptime?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Mika
Cacti User
Posts: 64
Joined: Tue Mar 23, 2004 3:01 am

Post by Mika »

I use cacti 0.8.5
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

hi,

i have read this thread more than one time but i think iam to silly and too new at cacti, most problems i have alredy slove with this forum and the people who lived there :) i hope for this you can help me again..

i download the script from speedster, copied the files in my script directory on

c:\inetpub\scripts

i change the path in the script, ok and now? what must i do that i can see the uptime of my polling devices?

thanks a lot for the hopefully coming how to! ;)
Speedster
Posts: 27
Joined: Wed Feb 11, 2004 7:53 pm
Location: Perth, Australia

Post by Speedster »

Hi Ghandi - this patch wont work under Windows.
Ghandi
Cacti User
Posts: 73
Joined: Tue May 04, 2004 5:09 am
Location: Graz / Austria

Post by Ghandi »

oh :cry: thats bad, but thanks for your speedy answer.
archana
Posts: 5
Joined: Tue Mar 03, 2009 4:54 am

uptime graph

Post by archana »

hi thomas,

i am adding this patch..
its giving output as a like "patching file lib/rrd.php".

what happend result? its working properly or not.

but where i cheek for this graph is coming or not..

.. i didn't get any graph regarding this.
:( :o

plz tell me
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: uptime graph

Post by gandalf »

archana wrote:hi thomas,

i am adding this patch..
its giving output as a like "patching file lib/rrd.php".

what happend result? its working properly or not.

but where i cheek for this graph is coming or not..

.. i didn't get any graph regarding this.
:( :o

plz tell me
You should not apply a patch that is 4 years old. Please make sure to us latest cacti instead
Reinhard
lwq
Posts: 3
Joined: Sat Feb 20, 2010 7:52 am
Location: Czech Republic
Contact:

Improved uptime.sh in BASH

Post by lwq »

Hi there,

I've just post a note about uptime.sh script rewritten in BASH and improved a little.

If you're interested see another theread here : http://forums.cacti.net/viewtopic.php?p=182561#182561

Enjoy :)
dpeuziat
Posts: 5
Joined: Wed Jul 08, 2009 2:31 am
Contact:

uptime script for Cisco devices

Post by dpeuziat »

Hi

I've been gathering switches uptimes for a while, and noticing the 32 bit counter issue on standard mib-2 sysuptime parameter (back to 0 every 497 days 2 hours 27 min 52 sec or 4294967295 timeticks)

I've been searching a solution and found it on https://supportforums.cisco.com/message/573246#573246

I've written my own uptime script which outputs a number of days, here it is
Attachments
myuptime.pl
Just place it in the scripts directory and modify the data input method for SNMP - Get System Uptime
(1.76 KiB) Downloaded 218 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests