Chart Raw Value keep time an The Dude 3.6

I can not find the option “Chart Raw Value keep time” in dude version 3.6
Is that only an option in the version 4?
I need to work with version 3.6, because, it is a tool that I use in production in my company

If option “Chart Raw Value keep time” is not availlable in 3.6 waht are the possibilities to manage correctly the databes size (< 2Gb)
An other question, will mikroTik continue to develope The Dude so that we will have a released version like the 3.6?

Thank you in advance for your help

Messing with the RAW keep times could easily double the size of the XML file that the dude uses. The dude v4 doesn’t handle files larger than 2gb and will crash. I don’t know what happens with v3.

If you are serious about keeping more raw you are going to have to dissect the dude xml data file.

The dude v3 uses XML to store the collected data in version 4 that data is compressed into a database it probably is still XML. No one has taken the time to export a working database and make a tool to work with the compressed stuff. In v3 you can use an XML editor to get a look at the data. Actually in V3 if you copy an object then paste that into notepad you will see the XML. BUT I am certain if you copy an object in v4 it clears the graph data for the original object and then makes a copy so you don’t get to see the graph data in the XML if you paste it. When you examine the XML you will find

The charts in the dude 3.6 are RRD files stored in XML. Raw keep times are built into each table, exporting the existing tables back into RRD files, changing the keep times and importing those tables back into the XML is what you want to do.

rrdtool resize test.rrd field growsize

There must be a generic rrd that the dude uses to started with, it probably comes from the XML. Anyhow if you modify the generic one then future graphs will be based on the new numbers. then just build a whole new dude with the new generic rrd. Relevant; Steps and rows RRA 1day 6week 24month 288years.

Anyhow that should scare you or put you on a path to your own XML hell. I would not be asking for help with graphs if something goes wrong.
I would re-evaluate what is the point. What are you really trying to accomplish? Make sure you backup the dude folder, stop the service before making a copy.

Lebowski

Below is the paste of a test Cisco switch with an execute on the device label and a cpu utilization probe from my dude server 4.0b3. There is no graph data. If you compare it to v3 you might see the graph data.

<?xml version="1.0" ?> 15 51654113 tests1 192.168.1.1 tests1.someplace.com name to address 00:10:21:C0:30:00 10296 10002 yes 60399004, 2150560, 60398810 51653688 1786 51654120 [Device.Name][Device.ServicesDown]\0d\0a\0d\0a[array_element(execute("test.bat","tests1.txt","c:\\\\"),1)]\0d\0a[execute("test.bat","test.txt","c:\\\\")] 51654113 230 584 5 yes 0080FF FFFF00 FF0606 D2D2D2 E413EA 0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000 41 51654175 FastEthernet0/0 (1) @ testr1 rx builtin bit/s 41 51654174 FastEthernet0/0 (1) @ testr1 tx builtin bit/s 31 51654172 Link snmp 51653688 1 51653190 51654176 10311 51654174 51654175 1786 51654176 Rx:[Interface.InBitRate]\0d\0aTx:[Interface.OutBitRate]\0d\0a link 137 97 37FF37 00FFFF 0A00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E73204D6F6E6F0000000000000000 51653701 51654120 51654172 4 41 60399205 Cisco CPU @ tests1 builtin % 17 60399203 Service 51654113 573065 60399205 up 5 03/16/2013 17:05:30 00:01:51 00:10:52 347d 21:56:19 03:52:29 41 54459803 ping @ tests1 builtin s 17 54459801 Service 51654113 10261 54459803 up 07/12/2012 15:48:46 00:02:00 00:01:40 220d 06:46:21 01:02:24

Thank you for all of this information.
That will hep me to control deeper the situation with my DB evolution.

Now I expected an other strange behavior with charts:

Fisrt, I made a link between twoo HP switches and I have a chart for the traffic that give me values between 2 and 3 Mbps

Second, I made a probe on the same switch port than the link and define a chart for the traffic. I have values between 1.5 and 2.5 Mbps with a lot of pics.

How can I explain this difference between these two charts.

I use this code: round(rate(oid(“1.3.6.1.2.1.2.2.1.10.13”)*8)) to calcule the trafic rate on the switch port (Procurve switch).

The value on the link chart seems to be more exact as the chart of the switch port rate.

Is there special fonction or settings to define also a correct chart with a rate prob on the switch port?

Thank you in advance for your precious help

A while ago I did some testing with rate but since 4.0b3 rate has a diff32 and diff64. So I was probably using those. You can find posts by gsandul and I about rate to determine how I was using it.

To answer your question, I believe you need to add another OID since you need both RX and TX.

Lebowski