can not create data source automatically

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
xiaoyao2433
Posts: 3
Joined: Tue Jun 14, 2011 6:37 am

can not create data source automatically

Post by xiaoyao2433 »

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
1111.png (23.29 KiB) Viewed 1390 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: can not create data source automatically

Post by gandalf »

Did you install all official patches?
R.
xiaoyao2433
Posts: 3
Joined: Tue Jun 14, 2011 6:37 am

Re: can not create data source automatically

Post by xiaoyao2433 »

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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: can not create data source automatically

Post by gandalf »

xiaoyao2433 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)
Field not templated: the value is always the same, e.g. no |query_*| replacement will apply
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?
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 rrdtool
3.can cacti create data source when create graph or it just create data source in some case?
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?)
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.
xiaoyao2433
Posts: 3
Joined: Tue Jun 14, 2011 6:37 am

Re: can not create data source automatically

Post by xiaoyao2433 »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests