Craphing from existing MRTG rrd files...
Moderators: Developers, Moderators
Craphing from existing MRTG rrd files...
Can anyone explain how to setup Cacti to pull the data to be graphed from and MRTG created rrd file.
I just need to know what to do in Cacti to pull and create these graphs.
I have looked over and over these forums and no seems to be able to post exactly what the have done to make this work.
I do not have any devises created, I do know how to create the data source linking to my current rrd files, but from this point on I am lost.
Why is there no documentation for this?
Thanks,
J. Hottle
I just need to know what to do in Cacti to pull and create these graphs.
I have looked over and over these forums and no seems to be able to post exactly what the have done to make this work.
I do not have any devises created, I do know how to create the data source linking to my current rrd files, but from this point on I am lost.
Why is there no documentation for this?
Thanks,
J. Hottle
You need to create a data source for the existing RRA. You need to create a data template which uses the Data Source Item names already in the RRA file. You'll need to create a graph template.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Turn on graph debugging and post the contents. Can it find the RRD file? Does your graph template have the datasource names which are being used in the RRD file?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I don't see itjhottle wrote:The debugging error is pasted above this post.
rrdtool dump rrdfilename.rrd > file.xmljhottle wrote:I do not know what datasource names the rrd file is usinging. How can i find this out?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Here is the debugging error: ERROR: can't make a graph without contents
Here is the post for the rrd dump file: <!-- Round Robin Database Dump
-->
- <rrd>
<version>0001</version>
<step>300</step>
- <!-- Seconds
-->
<lastupdate>1109876092</lastupdate>
- <!-- 2005-03-03 13:54:52 US Eastern Standard Time
-->
- <ds>
<name>ds0</name>
<type>COUNTER</type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>0.0000000000e+000</min>
<max>1.2500000000e+007</max>
- <!-- PDP Status
-->
<last_ds>1551071982</last_ds>
<value>5.5058851320e+007</value>
<unknown_sec>0</unknown_sec>
</ds>
- <ds>
<name>ds1</name>
<type>COUNTER</type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>0.0000000000e+000</min>
<max>1.2500000000e+007</max>
- <!-- PDP Status
-->
<last_ds>3167055748</last_ds>
<value>8.3183431867e+006</value>
<unknown_sec>0</unknown_sec>
</ds>
Jesse
Here is the post for the rrd dump file: <!-- Round Robin Database Dump
-->
- <rrd>
<version>0001</version>
<step>300</step>
- <!-- Seconds
-->
<lastupdate>1109876092</lastupdate>
- <!-- 2005-03-03 13:54:52 US Eastern Standard Time
-->
- <ds>
<name>ds0</name>
<type>COUNTER</type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>0.0000000000e+000</min>
<max>1.2500000000e+007</max>
- <!-- PDP Status
-->
<last_ds>1551071982</last_ds>
<value>5.5058851320e+007</value>
<unknown_sec>0</unknown_sec>
</ds>
- <ds>
<name>ds1</name>
<type>COUNTER</type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>0.0000000000e+000</min>
<max>1.2500000000e+007</max>
- <!-- PDP Status
-->
<last_ds>3167055748</last_ds>
<value>8.3183431867e+006</value>
<unknown_sec>0</unknown_sec>
</ds>
Jesse
Your data source names are: ds0 and ds1
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest