How to graph script output

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

Moderators: Developers, Moderators

Post Reply
cfritz
Posts: 6
Joined: Fri Jun 29, 2018 12:54 pm

How to graph script output

Post by cfritz »

On the 1.1.38 version of Cacti I used to be able to graph output from a script. I can't seem to figure it out on 1.2.9. I used to follow these instructions:
https://www.cacti.net/downloads/docs/html/how_to.html

However it seems on the new version the method to create a Data Source has changed. I cannot seem to find an updated document on how to do this, any help would be greatly appreciated.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: How to graph script output

Post by netniV »

There is no real difference other than parameters are now quoted.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
cfritz
Posts: 6
Joined: Fri Jun 29, 2018 12:54 pm

Re: How to graph script output

Post by cfritz »

I appreciate your response however I am not understanding how to add a "Data Source". In the older version when you went to data sources you could click add in the top right. I want to graph script output not associated with any device. I am sorry I am not understanding, but if I could be provided with a little more clarity I would be willing to write up new documentation and share with the forum. Thank you.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: How to graph script output

Post by cigamit »

You don't create manual Data Sources (you never did), you create Data Templates. You use those to create Data Sources, same way you use Graph Templates to create Graphs based upon data from those Data Sources.
cfritz
Posts: 6
Joined: Fri Jun 29, 2018 12:54 pm

Re: How to graph script output

Post by cfritz »

I appreciate the response but the instructions that I followed from:

https://www.cacti.net/downloads/docs/html/how_to.html

detail the following steps.

2) Create a Data Source

Click Data Sources under Management

Click Add in the top right

The Data Template Section should be None and None, we're not using templates for this example.

Click Create.

Is there another how to? Again I would be willing to contribute time to document this if it has not been already.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: How to graph script output

Post by netniV »

This is the problem with outdated documentation. You create a data source template, that then gets used by a graph template, which in turn can be assigned to a device template. Templating does make everything a lot simplier when you have the same data sources across many devices.

Did you check out our newer documentation that is currently at https://github.com/cacti/documentation ?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest