can not create data source automatically
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Tue Jun 14, 2011 6:37 am
can not create data source automatically
when I create graph,cacti can not create data source automatically,it work well the other day.my cacti version is 0.87g,and sometimes it show Graph Template Items incorrect,it seems it caused by Custom Data contans some char such as ",could you help me to take a look?
- Attachments
-
- 1111.png (23.29 KiB) Viewed 1390 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: can not create data source automatically
Did you install all official patches?
R.
R.
-
- Posts: 3
- Joined: Tue Jun 14, 2011 6:37 am
Re: can not create data source automatically
no,I do not install any patch.and now I apply all Official Patches ,the Graph Template Items show correct now,but cacti still can not create data source automatically,and I have some question in using cacti.
1. "Graph Template Items" page show "Field Not Templated",what is it mean?what should I do?(I have create Graph Item Inputs for it)
2. after the graph is created,when I modify the Custom Data value in graph's Data Templates,is the new update will apply to the created graph?
3.can cacti create data source when create graph or it just create data source in some case?
1. "Graph Template Items" page show "Field Not Templated",what is it mean?what should I do?(I have create Graph Item Inputs for it)
2. after the graph is created,when I modify the Custom Data value in graph's Data Templates,is the new update will apply to the created graph?
3.can cacti create data source when create graph or it just create data source in some case?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: can not create data source automatically
Field not templated: the value is always the same, e.g. no |query_*| replacement will applyxiaoyao2433 wrote:no,I do not install any patch.and now I apply all Official Patches ,the Graph Template Items show correct now,but cacti still can not create data source automatically,and I have some question in using cacti.
1. "Graph Template Items" page show "Field Not Templated",what is it mean?what should I do?(I have create Graph Item Inputs for it)
No. You will have to rebuild the poller_cache (at least that's rock proof; I'm indeed not aware if e.g. changing a custom OID makes it automatically to the poller tables). And there are some parameters on a Data Template, that will NEVER change existing rrd files. In most cases, this is due to the lack of modify commands available with rrdtool2. after the graph is created,when I modify the Custom Data value in graph's Data Templates,is the new update will apply to the created graph?
Cacti will always create all required data sources related to the graph that shall be created. Assuming, that the data to be polled by the Data Template is available. Cacti will create a Data Source only, if data is really present (what sense would it make if you create a data source without any data to be filled into it?)3.can cacti create data source when create graph or it just create data source in some case?
See e.g. 2nd link of my sig for debugging and guidance for the logic of cacti when polling and filling the rrd files
R.
-
- Posts: 3
- Joined: Tue Jun 14, 2011 6:37 am
Re: can not create data source automatically
The cacti can create data source automatically now,I find when I use "Graph Management"->add to create graph,It will not create data source automatically.When I use "New Graphs" to create graph,It can create data source automatically.
Who is online
Users browsing this forum: No registered users and 3 guests