Cacti Template Downloads
Download & Install Templates. There are three different types of templates for cacti, Host Templates, Graph Templates, and Data Templates. You can view all the defined templates in the console tab. For each one you simply define what data template to use with it, and all the other stuff is taken care of. Downloads: 6 This Week Last Update: 2015-12-09. Cacti ver 0.8.8h - ReportIt 0.7.5a. Developer has not fixed for over 2 years. Tongstephen Posted This is a very powerful systems monitoring tool oid-3496065 Posted Nice and fast. Would be great if the admin could see how the values have been calculated in detail to make.
- Table of Contents
- Data Templates
- Graph Templates
- Host Templates
- Import Templates
- Export Templates
The real strength of Cacti is unleashed by using templates.There are three different types of templates with the basic Cacti installation:Data Templates, Graph Templates and Host Templates.While it is perfectly fine to define all data sources and graphs without usingTemplates at all, the burden of this approach is high. In most installations,there are lots of devices of the same kind. And there are lots of data of thesame kind, e.g. traffic information is needed for almost every device.Therefor, the parameters needed to create a traffic rrd file are definedby a Data Template, in this case known as 'Interface - Traffic'.These definitions are used by all Traffic-related rrd files.
The same approach is used for defining Graph Templates.This is done only once. And all parameters defined within such a Graph Templateare copied to all Graphs that are created using this Template.
The last type of Templates are the Host Templates.They are not related to some rrdtool stuff. The purpose of Host Templatesis to group all Graph Templates and Data Queries (these are explained later)for a given device type. Eclipse game maker online. So you will make up a Host Templatee.g. for a specific type of router, switch, host and the like.By assigning the correct Host Template to each new Device,you'll never forget to create all needed Graphs.
There's no need to create all Templates on your own! Apart from the fact,that many common templates are provided out-of-the-box, there's a very simplemachnism to Import Templates and to Export Templates.
In Cacti, a data template provides a skeleton for an actual data source. If you have many datasources that share most of their characteristics, using a data template would probably make sense.No change of a Data Template is propagated to already existing rrd files.But most of them may be changed by using rrdtool tune from command line.Pay attention to not append new Data Source Items to already existing rrd files.There's no rrdtool command to achieve this!
Cacti Template Downloads Pdf
Creating a Data Template
To create a new data template, select Data Templates under theTemplates heading and click Add.
The first thing you must do is give the template a name. This name has nothing to do with thedata source name, but is what you will use to identify the template throughout Cacti.
Second,you will notice a list of data source/data source item field names with Use Per-DataSource Value checkboxes next to each one. The nice thing about templates in Cacti isthat you can choose whether to template each field on a per-field basis. If you leave the checkboxunchecked, every data source attached to the template will inherit its value from the template. Ifthe checkbox is checked, every data source attached to the template will contain its own value forthat particular field. When generating a real data source, you will be prompted to fill thosenon-templated fields.
Table 13-1. Data Templates: Field Description of the Data Source Section
Name | Description |
---|---|
Name | The name of the Data Source that will be created by using this Template.You can use the keyword host_description in this field, which will beautomatically substituted with the current host description. |
Data Input Method | Here is where you tell cacti how it is supposed to fetch datafor this data source. There are several data input sources that comewith cacti, and you can add your own by going to Data Input Methods.If this RRD file is being populated outside of cacti, make sure toleave this field set to 'None'. |
Associated RRAs | You need to associate the data source with at least one RRAso RRDTool knows how often and for howlong to keep its data. You will almost always want to select allof these values however so you can render daily, weekly, monthly,and yearly graphs. |
Step | This tells RRDTool how many secondsthere will be between updates. The default is 300 seconds (5 minutes),and is sufficient for most installations. |
Data Source Active | This is a quick and easy to tell Cacti to stop gathering datafor this data source. The data source can still be used on graphs,but no data will be fed to it until it is made active again. |
Note: For most data templates, you will want to check the UsePer-Graph Value checkbox for the name field so each data source using this template has itsown unique name. It also makes sense to enter an inital value in this field that includes the variable host_description for organizational purposes.
When you are finished filling in values for the data template, click Create andyou will be presented with a screen similar to the data source edit screen.
Figure 13-1. Adding a Data Template
Data Source Items
Cacti Download
Like a graph, a data source can have more than one items. This is useful in situations where ascript returns more than piece of data at one time. This also applies to data queries, so youcan have a single data template that contains both inbound and outbound traffic, rather thanhaving to create a separate data template for each.
Table 13-2. Data Templates: Field Description of the Data Source Items Section
Name | Description |
---|---|
Internal Data Source Name | This is the name used by RRDTool to identify this particular data source within the RRD file. RRDTool places a limit of 19 alphanumeric characters (plus '_' and '-') on this field. |
Minimum Value | Here is where you specify the minimum value that is expected for this data source in the RRD file. If a value lower than the minimum is given, it will be stored as Unknown (U). |
Maximum Value | Here is where you specify the maximum value that is expected for this data source in the RRD file. If a value higher than the maximum is given, it will be stored as Unknown (U). Note: It often makes sense to definea reasonable maximum value here to avoid spikes in case of a COUNTER wrap |
Data Source Type | Cacti currently supports four types of data that RRDTool can represent for any given data source: COUNTER: is for continuous incrementing counters like the ifInOctets counter in a router. The COUNTERdata source assumes that the counter never decreases, except when a counter overflows. It is always a whole INTEGER,floating point numbers are invalid.The update function takes the overflow into account. The counter is stored as a per-second rate.When the counter overflows, RRDTool checks if the overflow happened at the 32bit or 64bitborder and acts accordingly by adding an appropriate value to the result. GAUGE: numbers that are not continuously incrementing, e.g. a temperature reading.Floating point numbers are accepted. ABSOLUTE: counters that are reset upon reading About Apache Friends. Apache Friends is a non-profit project to promote the Apache web server and is home to the XAMPP project. XAMPP is an easy to install Apache distribution containing MariaDB, PHP. Download XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. XAMPP is an easy to install Apache distribution for Windows, Mac OS X, Linux and Solaris. The package includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin. XAMPP has been designed to be the easiest way to install and run a development server. There are numerous other WAMP. Xampp server download for 64-bit. Sep 03, 2019 Download XAMPP for free. An easy to install Apache distribution containing MySQL, PHP, and Perl. XAMPP is a very easy to install Apache Distribution for Linux, Solaris, Windows, and Mac OS X. The package includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin. DERIVE: like COUNTER but without overflow checks |
Heartbeat | As defined by RRDTool: 'The maximum amount of time that can pass before data is entered as 'unknown'. This field is usually '600' or 2 data gathering intervals'. |
Custom Data
Assuming you selected a data input source on the previous screen, you should now be presentedwith a Custom Data box. It will show a single line for every singleparameter required for that very data input method. This is how the Data Source glues togetherwith the data input method to provide all run time parameters.
Each custom data field is per-field templatable asall of the other data source fields are. Even if you select the Use Per-Data SourceValue checkbox, it might be useful to specify a value that will be used as an 'initalvalue' for any data source using this data template.
Applying Data Templates to Data Sources
Applying a data template to a data source is a very simple process. The first thing youmust do is select the data source you want to apply the template to under DataSources. Under the Data Template Selection box, selectthe data template that you want to apply to the data source and click Save.
Once the template is applied to the data source, you will notice that you can only changevalues for the fields that you checked Use Per-Data Source Value for.
Now any time a change is made to the data template, it will be automaticallypropagated to the data sources attached to it.
No change of existing rrd files |
When changing parameters of a Data Template, existing rrd fileswill never be changed. If this is required, you will have to applyrrdtool tune commands to any related rrd file manually. |