mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
docs(plugins): [1.2.x] correct how-to, plugin development and standards pages against the source (#271)
* docs(plugins): [1.2.x] correct the hook reference against the hooks the core fires Add the hooks the 1.2.x core fires that the page did not list, correct file locations and introduced/retired versions, mark hooks that are no longer fired as retired, and drop duplicate sections and an unlinked index entry. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(plugins): [1.2.x] correct plugin pages against the plugin API and plugin sources Fix the INFO key name and delimiter, the hook used in the registration examples, the setup function requirements, the dependency example, and menu, table and template details in the Mactrack and Syslog pages. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(howto): [1.2.x] correct how-to pages against the 1.2.x user interface and data query code Fix form labels, resource directory names, re-index method names, the index_order delimiter, the maximum value advice, and the cacti_snmp_get call in the script query example. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] correct standards pages against the 1.2.x tree Fix the prepared statement example, the CLI include path, the CHANGELOG location, the CI reference and the include/vendor directory list. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(plugins): [1.2.x] align the Syslog SQL mode section with the plugin README The plugin README says not to copy NO_AUTO_CREATE_USER into a current MySQL configuration and to inspect the active modes instead. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] fix example typo, indentation rule, constants and table name Correct the $$ typo in the script query example, the vim rules to use tabs as CLAUDE.md requires, the example constants to match include/global_constants.php, and the user_auth_realm table name. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] correct the CI and MD001 statements for this branch The 1.2.x branch has no Travis CI configuration or workflow, and .mdl_style.rb disables MD001. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(translations): [1.2.x] correct the locales listing, template update steps and typos Describe what update-pot.sh, build_gettext.sh and build_mo.sh do on 1.2.x, add the plugin script, link Poedit's home page, and fix typos. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
7d539f7b68
commit
77578446a4
19 files changed
+402
-252
No files matched your search
@@ -79,14 +79,16 @@ Please go to **Data Templates** and click Add. You should see:
|
||||
|
||||

|
||||
|
||||
Fill in the **Data Templates Name** with a reasonable text. This name will be
|
||||
used to find this Template among others. Then fill in the **Data Source Name**.
|
||||
This is the name given to the host-specific **Data Source**. The variable
|
||||
Fill in the template **Name** with a reasonable text. This name will be used to
|
||||
find this Template among others. Then fill in the **Name** of the **Data
|
||||
Source**. This is the name given to the host-specific **Data Source**. The
|
||||
variable
|
||||
**|host_description|** is taken from the actual **Device**. This is to
|
||||
distinguish **Data Sources** for different devices. The **Data Input Method** is
|
||||
a drop down containing all known scripts and the like. Select the **Data Input
|
||||
Method** you just created. The **Associated RRA's** is filled by default. At the
|
||||
moment there's no need to change this. The lower part of the screen looks like:
|
||||
Method** you just created. The **Data Source Profile** is filled by default. At
|
||||
the moment there's no need to change this. The lower part of the screen looks
|
||||
like:
|
||||
|
||||

|
||||
|
||||
@@ -98,8 +100,8 @@ may look nicer. Click create to see:
|
||||
|
||||
Notice the new drop down **Output Field**. As there is only one Output Field
|
||||
defined by our **Data Input Method**, you'll see only this. Here's how to
|
||||
connect the **Data Source Name** (used in the RRDfile) to the Output Field of
|
||||
the Script. Click **Save** and you're done.
|
||||
connect the **Internal Data Source Name** (used in the RRDfile) to the Output
|
||||
Field of the Script. Click **Save** and you're done.
|
||||
|
||||
## Creating the Graph Template
|
||||
|
||||
|
||||
Reference in new issue
Block a user