I have some data stored in a text file. How could I import the data, plot it and display it in cacti?
Thanks very much.
Plotting a simple text file in cacti
Moderators: Developers, Moderators
You need to parse the data out with some sort of script and then have templates in cacti which properly import/handle the data. Read in the documentation site on how to do this.
| 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 |
Is that mean I need to write a script to to extract data from the text file and write a xml to define how the extracted data to be stored in rrd format?BSOD2600 wrote:You need to parse the data out with some sort of script and then have templates in cacti which properly import/handle the data. Read in the documentation site on how to do this.
After that, I need to have data template and graph template to display it.
Ya, basically.
| 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 |
Yes, cacti will collect the data from it every 5 minutes. If its not a large performance hit, then you can leave it as is. Otherwise, install the Boost plugin and change it to run not so frequently.
| 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: macan and 1 guest