[ previous ] [ next ] [ threads ]
 
 From:  "Martin Holst" <mail at martinh dot dk>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] MRTG Guru?
 Date:  Mon, 27 Oct 2003 23:11:13 +0100
Hi Chauncey!

This value is automatically monitored by MRTG since the system uptime
MIB is identical on all systems.
You'll find it on top of the html-page generated by MRTG looking
something like this:
"The statistics were last updated Thursday, 23 October 2003 at 12:18,
at which time 'DILBERT' had been up for 13:35:39"

There would be no point in graphing it, since the uptime value increase
would always be linear from 00:00:00 and on.

/Martin

-----Original Message-----
From: Chauncey Widdup [mailto:chaunceyw at sympatico dot ca] 
Sent: 27. oktober 2003 11:54
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] MRTG Guru?

I went and did the snmpwalk for m0n0wall and saw a couple MiBs that I
would like to monitor. One of them being the uptime.. the problem is,
however, when I make my MRTG config it doesn't seem to work... 

I know this isn't MRTG help, but I've googled everywhere and can't find
it.

If anyone has any idea how to get this working I would really appreciate
it!

MRTG Config File:
====
workdir: xxxxxxxxxxxxxxx
Target[192.168.1.1_uptime]:
.1.3.6.1.2.1.1.3.0&.1.3.6.1.2.1.1.3.0:public@192.168.1.1:
MaxBytes[192.168.1.1_uptime]: 1000
Title[192.168.1.1_uptime]: Uptime for 192.168.1.1 -- m0n0wall.ziekke.net
PageTop[192.168.1.1_uptime]: <H1>Uptime for 192.168.1.1 -- m0n0wall</H1>
====

Error message when running the config file:

====
WARNING: Expected a number but got '2:35:35'
WARNING: Expected a number but got '2:35:35'
ERROR: Target[192.168.1.1_uptime][_IN_] ' $target->[0]{$mode} ' did not
eval into defined data
ERROR: Target[192.168.1.1_uptime][_OUT_] ' $target->[0]{$mode} ' did not
eval into defined data
WARNING: Skipping Update of 192.168.1.1_uptime, inlast is not defined
WARNING: Skipping Update of 192.168.1.1_uptime, outlast is not defined
====


---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch