This plugin will export rrd file from specific datasource to text format to use in another system. It let's you create a schedule then add datasources to each schedule.
Source code:
https://github.com/TheGU/cacti_rrdexport
P.S. Could anyone guide me about how to add this to plugin page in wiki?
Screenshot
Scheduling to export datasource to text file
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Wed Mar 16, 2016 9:58 pm
Scheduling to export datasource to text file
Last edited by pattapongj on Fri Jul 13, 2018 2:26 am, edited 1 time in total.
Re: New plugin : Scheduling export rrd file
Hi,
It seems to be cool. I'll test asap.
Ch3i.
It seems to be cool. I'll test asap.
Ch3i.
Re: New plugin : Scheduling export rrd file
Hi pattapongj
Could you please show more step to setup this addon?
I did setup follow by the guideline and not collect anything still
Anyway to debug ??
1) download zip from https://github.com/TheGU/cacti_rrdexport
2) rename cacti_rrdexport-master.zip to rrdexport
3) copy to plugins
4) install from plugin management
5) Go to setting -> RRD Export Schedule
6) Export Output path -> Cacti/plugins/rrdexport/New Folder
7) Setup schedules job
Beside i am using 0.8.8C with Window platform
Could you please show more step to setup this addon?
I did setup follow by the guideline and not collect anything still
Anyway to debug ??
1) download zip from https://github.com/TheGU/cacti_rrdexport
2) rename cacti_rrdexport-master.zip to rrdexport
3) copy to plugins
4) install from plugin management
5) Go to setting -> RRD Export Schedule
6) Export Output path -> Cacti/plugins/rrdexport/New Folder
7) Setup schedules job
Beside i am using 0.8.8C with Window platform
Re: New plugin : Scheduling export rrd file
06/12/2017 11:29:08 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:29:08 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:29:08
06/12/2017 11:19:07 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:19:07 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:19:07
06/12/2017 11:14:00 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:14:00 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:14:00
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:5:"86400";s:7:"enabled";s:2:"on";}
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:5:"86400";s:7:"enabled";s:2:"on";}
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:09:28 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:09:28 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:09:28
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:6:"604800";s:7:"enabled";s:2:"on";}
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:03:53 AM - SYSTEM RRD EXPORT STATS: Time:0.0156 TotalJobs:0
06/12/2017 11:03:53 AM - CMDPHP: Poller[0] [rrdexport] [WARNING] created new path: D:/Inetpub/wwwroot/plugins/rrdexport/
06/12/2017 11:03:53 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:03:53
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";i:0;s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497236460;s:11:"sc_interval";s:6:"604800";s:7:"enabled";s:2:"on";}
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=0 or create new schedule
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 10:58:57 AM - SYSTEM RRD EXPORT STATS: Time:0.0156 TotalJobs:0
06/12/2017 11:29:08 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:29:08
06/12/2017 11:19:07 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:19:07 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:19:07
06/12/2017 11:14:00 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:14:00 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:14:00
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:5:"86400";s:7:"enabled";s:2:"on";}
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:11:36 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:5:"86400";s:7:"enabled";s:2:"on";}
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:11:10 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:09:28 AM - SYSTEM RRD EXPORT STATS: Time:0.0000 TotalJobs:0
06/12/2017 11:09:28 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:09:28
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";s:1:"1";s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497237300;s:11:"sc_interval";s:6:"604800";s:7:"enabled";s:2:"on";}
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=1
06/12/2017 11:06:51 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 11:03:53 AM - SYSTEM RRD EXPORT STATS: Time:0.0156 TotalJobs:0
06/12/2017 11:03:53 AM - CMDPHP: Poller[0] [rrdexport] [WARNING] created new path: D:/Inetpub/wwwroot/plugins/rrdexport/
06/12/2017 11:03:53 AM - SYSTEM RRD EXPORT RUN: 2017-06-12 11:03:53
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - finished save
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - try save to plugin_rrdexport_schedules
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : a:6:{s:2:"id";i:0;s:4:"name";s:6:"Test 1";s:7:"cf_type";s:7:"AVERAGE";s:5:"stime";i:1497236460;s:11:"sc_interval";s:6:"604800";s:7:"enabled";s:2:"on";}
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - save component schedule : id=0 or create new schedule
06/12/2017 11:02:38 AM - CMDPHP: Poller[0] RRDEXPORT DEBUG - form save action
06/12/2017 10:58:57 AM - SYSTEM RRD EXPORT STATS: Time:0.0156 TotalJobs:0
-
- Posts: 2
- Joined: Wed Mar 16, 2016 9:58 pm
Re: New plugin : Scheduling export rrd file
In debug log it said you don't have any jobs.
To setup you need to
1. Setup plugin and create schedule job
2. Add data source to job to export
I think it not export anything because it doesn't have any datasource associate with it.
setup data source to schedules job
Go to Management > RRD Export Schedules
Add or edit new schedule
Add associate data source to schedule.
To setup you need to
1. Setup plugin and create schedule job
2. Add data source to job to export
I think it not export anything because it doesn't have any datasource associate with it.
setup data source to schedules job
Go to Management > RRD Export Schedules
Add or edit new schedule
Add associate data source to schedule.
Who is online
Users browsing this forum: No registered users and 0 guests