mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
docs: [1.2.x] refresh the front page, correct grammar and Markdown, and align plugin pages with their READMEs (#273)
* docs: [1.2.x] refresh the manual front page The front page opened with version notes before saying what Cacti is, used headings as sentences in the credits, and its table of contents listed seven sections while the page has ten. Open with a short description and a getting-started sequence, link the website and forums, give the credits real headings, and list every section in the table of contents in page order. Record Jeff Pasnak under In Memoriam with a link to the 1.2.31 release announcement. Correct label typos and wrap long entries with reference links. Existing section anchors are unchanged, and every page is still linked. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] fix typos, unrendered headings and forum links A check of every page linked from the front page found misspellings in eleven pages, three Mactrack headings written without a space after the hashes, which render as plain text, and two forum links still using http. Correct the spellings, add the missing space so the headings render, and point the forum links at https, where they already redirect. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] align the plugin pages with the plugin READMEs The supported plugins list and the Syslog and Mactrack pages had drifted from the README and INFO files in the plugin repositories. Update the descriptions that the READMEs contradict: Monitor's Thold requirement, the Router Configs transfer methods, the ReportIt release and Cacti versions, the WMI collection methods and its development status, and NUT support in Apcupsd. Add the Syslog requirements, the upgrade procedure, the dedicated database settings and the remote collector settings, and correct the database grant and a misplaced code fence. Add the Mactrack requirements and a short section on history partitioning and ignored ports that links to the README. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] correct grammar, spelling and broken Markdown A read of every page linked from the front page found grammar and spelling errors throughout, and Markdown that does not render as intended. Correct grammar, spelling, punctuation and product-name capitalization in 95 pages without changing headings, code blocks, link targets or the meaning of the text. Repair the Markdown defects: a code fence in the SSH tunnel how-to that never closed, malformed bold markers in the user management and device defaults pages, a release notes table with no blank line before it, split rows in the tree sorting table, and LDAP list items missing their markers. Correct three interface labels quoted with typos. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] correct statements that differ from the 1.2.x source Reviewers of the linked pages flagged statements that looked wrong. Each was compared with the Cacti 1.2.x source at 1523aa04b, and only those the source or the page itself settles are changed. Correct interface labels and option names (Index Count Changed, Permissive, Not Selected, Utilities, the BCC description, the gear icon for plugin install), the default Maximum Value of U for a new data source item, the sysDescr object name, the PHP floor wording in the requirements table, the Mactrack wildcard character and the snmptrapd -On option. Repair cross-references, example values that disagree with their commands, two table captions, a split list and several sentences with missing words. Statements the source does not settle are left as written. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
c53d1ac3a2
commit
741ad51355
100 files changed
+1574
-1467
No files matched your search
+14
-14
@@ -2,10 +2,10 @@
|
||||
|
||||
## Overview
|
||||
|
||||
Cacti Plugins allow users of Cacti to extend it's functionality into areas
|
||||
Cacti Plugins allow users of Cacti to extend its functionality into areas
|
||||
that the core Cacti developers have not. They were written based off of
|
||||
the work of Jimmy Conner from the Squirrel Mail project years ago. They
|
||||
allow developers to augment the Cacti Website, and it's polling processes
|
||||
allow developers to augment the Cacti Website, and its polling processes
|
||||
to extend Cacti's reach.
|
||||
|
||||
There are a number of popular plugins including:
|
||||
@@ -24,15 +24,15 @@ There are a number of popular plugins including:
|
||||
|
||||
In theory, these plugins can be integrated into Cacti very simply, and removed
|
||||
without breaking Cacti. However, it must be noted to always review the
|
||||
plugins documentation before you start to use it.
|
||||
plugin's documentation before you start to use it.
|
||||
|
||||
## Legacy Plugins Notice
|
||||
|
||||
Plugins written for Cacti 0.8.x require modifications in order to be compatible
|
||||
with Cacti 1.x. There are several changes that all plugin developers need to
|
||||
be aware of. Any of the Cacti Group maintained plugin can be
|
||||
be aware of. Any of the Cacti Group maintained plugins can be
|
||||
used as reference plugins for driving your plugin migration to the 1.x
|
||||
framework and are available on [Github](https://github.com/Cacti/).
|
||||
framework and are available on [GitHub](https://github.com/Cacti/).
|
||||
|
||||
## Plugin Migration
|
||||
|
||||
@@ -44,7 +44,7 @@ required to make your plugins compatible with Cacti 1.0.
|
||||
|
||||
Each of the following steps should be followed to migrate your plugins. Some
|
||||
of these changes are optional, and some are mandatory. We will start with the
|
||||
list of steps that must be required. Then, in future sections, we will provide
|
||||
list of steps that are required. Then, in future sections, we will provide
|
||||
details on performing each step.
|
||||
|
||||
### Required Steps
|
||||
@@ -104,11 +104,11 @@ includes the following sections:
|
||||
|
||||
- **longname** - A description for the plugin
|
||||
|
||||
- **author** - The plugins author
|
||||
- **author** - The plugin's author
|
||||
|
||||
- **email** - An email contact in order to reach the author
|
||||
|
||||
- **homepage** - A link to the plugin authors homepage
|
||||
- **homepage** - A link to the plugin author's homepage
|
||||
|
||||
- **compat** - Prior to Cacti 1.3, the minimum version of Cacti to support the
|
||||
plugin. After Cacti 1.3, it will represent the range of Cacti versions
|
||||
@@ -159,8 +159,8 @@ nosync = config.php
|
||||
capabilities = online_view:1, online_mgmt:1, offline_view:1, offline_mgmt:1, remote_collect:0, remote_poller:1
|
||||
```
|
||||
|
||||
Here we can see that the config.php file in the plugin directory will not be copied over to remove
|
||||
pollers, and we can see that syslog allow for remote data collection. using the
|
||||
Here we can see that the config.php file in the plugin directory will not be copied over to remote
|
||||
pollers, and we can see that Syslog allows for remote data collection using the
|
||||
**remote_poller:1** capabilities attribute.
|
||||
|
||||
### Changes in Cacti 1.3+
|
||||
@@ -173,12 +173,12 @@ compat = >=1.2.15 <1.3.0
|
||||
requires = thold:>1.2.1 <=2.0, monitor:>2.0
|
||||
```
|
||||
|
||||
Before Cacti 1.3, the **compat** and **requires** attributes assumed always >=
|
||||
there were never provisions for < or <= to for any plugin. Due to changes in the
|
||||
Before Cacti 1.3, the **compat** and **requires** attributes assumed always >=,
|
||||
and there were never provisions for < or <= for any plugin. Due to changes in the
|
||||
Plugin Architecture, this will change starting with Cacti 1.3.
|
||||
|
||||
As mentioned, there are some very good examples of how to create or migrate
|
||||
plugins in the various Cacti plugins included on The Cacti Groups GitHub site.
|
||||
plugins in the various Cacti plugins included on The Cacti Group's GitHub site.
|
||||
Also, for a very simple Cacti page, you can look at vdef.php as an example.
|
||||
You can use this as a template to manage a table using the Cacti framework.
|
||||
For a simple plugin example, please review the gexport plugin.
|
||||
@@ -186,7 +186,7 @@ For a simple plugin example, please review the gexport plugin.
|
||||
## Charting Functionality
|
||||
|
||||
Several JavaScript based HTML5 Charting packages have been included in Cacti in
|
||||
an effort to assist plugin developers who wish to use graphing API's in their
|
||||
an effort to assist plugin developers who wish to use graphing APIs in their
|
||||
plugins other than RRDtool.
|
||||
|
||||
- [Billboard.js](https://naver.github.io/billboard.js/)
|
||||
|
||||
Reference in new issue
Block a user