[rrd-users] How much DS per IP under v.1.2.30(win32) ?

David Thornton northdot9 at gmail.com
Fri Jun 26 13:23:15 CEST 2009


mrtg is designed to collect data in pairs, as in OctetsIn and
OctetsOut. Remember MRTG was originally conceived to collect stats on
interfaces.

It's possibly to create rrds that contain many many more DSs however
MRTG will only work with rrds that store two DSs

You have at least two options:

1. user another mrtg target and put the third oid in twice (mrtg will
only collect it once).

some thing like this:
Target[test]: oid1&oid2:public at 192.168.56.101
Target[test]: oid3&oid3:public at 192.168.56.101

2. use a different package than mrtg to update your rrds ( in my
opinion that'st he wrong way to go as mrtg is quite wonderful , fast
and feature rich)

You could write a reasonably simple perl script that does the update
(using RRDs). Or depending on how complicated or large your setup will
be, you could go for something like cacti which "simplifies" working
with more complicated data sets.

more on making you own scripts that work with rrd files directly:
http://oss.oetiker.ch/rrdtool/prog/index.en.html

more on cacti ( [A] "complete network graphing solution designed to
harness the power of RRDTool's data storage and graphing
functionality." )
http://www.cacti.net/

Cacti is a bit like mrtg on steroids.

David

On Fri, Jun 26, 2009 at 6:19 AM, ThomasJ<jungth23 at gmx.de> wrote:
>
> Hello everyone,
>
> i got stuck while retrieving 3 Ds of one device. Everything worked fine with
> 2 Ds, but i can't get it to work with 3 Ds. The *.rrd remains with *UNKNOWN*
> Data.
> I'm pretty confident to have set up propper config and propper "manually"
> the *.rrd
>
> So i guess that there might be a limitation in the 1.2.30 (win32)
> distribution.
>
> Am i right, or am I missing something...
>
>
> For completeness here is my config.cfg:
>
> WorkDir: C:\xampp
> RunAsDaemon: yes
> EnableIPv6: no
>
> LogFormat: rrdtool
> PathAdd: C:\xampp
>
> HtmlDir: C:\xampp\html
> #ImageDir C:\xampp\html\graph
> IconDir: C:\MRTG\Icons
>
> Interval: 0:05
>
> MaxBytes[_]: 1600
> Options[_]: gauge
>
> Target[test]: ...1.3.0&...4.14.0&...4.16.0:public at 192.168.56.101
> title[test]: test
>
>
> ...and this is what ends up in the *.rrd
>
> test.rrd
>
> filename = "test.rrd"
> rrd_version = "0003"
> step = 5
> last_update = 1245881858
> ds[Tx].type = "GAUGE"
> ds[Tx].minimal_heartbeat = 600
> ds[Tx].min = NaN
> ds[Tx].max = NaN
> ds[Tx].last_ds = "UNKN"
> ds[Tx].value = 0.0000000000e+000
> ds[Tx].unknown_sec = 3
> ds[Sig].type = "GAUGE"
> ds[Sig].minimal_heartbeat = 600
> ds[Sig].min = NaN
> ds[Sig].max = NaN
> ds[Sig].last_ds = "UNKN"
> ds[Sig].value = 0.0000000000e+000
> ds[Sig].unknown_sec = 3
> ds[Rx].type = "GAUGE"
> ds[Rx].minimal_heartbeat = 600
> ds[Rx].min = NaN
> ds[Rx].max = NaN
> ds[Rx].last_ds = "UNKN"
> ds[Rx].value = 0.0000000000e+000
> ds[Rx].unknown_sec = 3
> rra[0].cf = "AVERAGE"
> rra[0].rows = 1024
> rra[0].cur_row = 922
> rra[0].pdp_per_row = 1
> rra[0].xff = 5.0000000000e-001
> rra[0].cdp_prep[0].value = NaN
> rra[0].cdp_prep[0].unknown_datapoints = 0
> rra[0].cdp_prep[1].value = NaN
> rra[0].cdp_prep[1].unknown_datapoints = 0
> rra[0].cdp_prep[2].value = NaN
> rra[0].cdp_prep[2].unknown_datapoints = 0
>
>                          Tx                   Sig                Rx
> 1245881900: -1.#IND000000e+000 -1.#IND000000e+000 -1.#IND000000e+000
> --
> View this message in context: http://n2.nabble.com/How-much-DS-per-IP-under-v.1.2.30%28win32%29---tp3160737p3160737.html
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>



More information about the rrd-users mailing list