mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
docs: [1.2.x] document features the manual did not cover (#277)
* docs: [1.2.x] document features the manual did not cover Add pages for the user profile settings and for the SNMP Agent and its notification receivers, and link them from the front page. Add sections on realtime graphs and CSV export to Viewing-Graphs, on the data source statistics collection process to Settings-Data, and on upgrading from 0.8.x to Upgrading-Cacti. Extend the RRDfile Cleaner, RRDfile Checker and user log descriptions in System-Utilities, document cli/add_datasource.php, and replace the Users, Groups and Domains stub with an overview. Labels, defaults, menu paths and options are taken from the Cacti 1.2.x source at 1523aa04b. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] add a manual page for every supported plugin (#282) * docs: [1.2.x] add a manual page for every supported plugin Add pages for Thold, Monitor, Maintenance, Intropage, Host MIB, APC UPS, Evidence, FlowView, MikroTik, ReportIt, Router Configs, Service Check, Slowlog, Weathermap and WMI, each with the same sections: requirements, installation, permissions, settings, use, background processing, command-line tools and troubleshooting. Bring the Syslog and MacTrack pages to the same structure and add screenshots to MacTrack. Each page documents the plugin's latest published release for Cacti 1.2.x and states that version; WMI has no release and follows its development branch. Link the pages from the front page and the plugin catalog, and correct the catalog's APC UPS and Router Configs descriptions to match those releases. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] update front-page developer credits and GitHub profile links Align the Active Developers, Contributors, Emeritus Members and In Memoriam entries in README.md with Cacti 1.2.x about.php (Cacti/cacti 3c4b7fde0): move Sean Mancini to Active Developers, Thomas Urban to Contributors, and Chris Bell and Jing Chen to Emeritus Members. Link each named developer and contributor to their verified GitHub profile. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
31a3756061
commit
361e85d172
43 files changed
+5054
-84
No files matched your search
@@ -20,6 +20,7 @@ briefly.
|
||||
| add_device.php | Automation | Allows adding a Device to Cacti. Most device options are included. Some plugin options may not. |
|
||||
| change_device.php | Automation | Allows editing device details such as IP/Poller association |
|
||||
| add_data_query.php | Automation | Allows adding a Data Query to Cacti. |
|
||||
| add_datasource.php | Automation | Allows adding a Data Source to a Device from a Data Template. |
|
||||
| add_graph_template.php | Automation | Allows adding a Graph Template to Cacti. |
|
||||
| add_graphs.php | Automation | Allows adding a Graph to Cacti. |
|
||||
| add_perms.php | Automation | Allows adding permissions to Cacti. |
|
||||
@@ -698,6 +699,42 @@ shell>php -q add_graph_template.php --host-id=11 --graph-template-id=7
|
||||
Success: Graph Template associated for host: (11: router) - graph-template: (7: Unix - Ping Latency)
|
||||
```
|
||||
|
||||
## Add a Data Source to an existing Host
|
||||
|
||||
The script `add_datasource.php` creates a single **Data Source** for a
|
||||
**Device** from a **Data Template**, without creating a **Graph**. Calling the
|
||||
script with the parameter `--help` yields
|
||||
|
||||
```console
|
||||
shell>php -q add_datasource.php --help
|
||||
Cacti Add Data Source, Version 1.2.x (DB: 1.2.x), Copyright (C) 2004-2026 The Cacti Group
|
||||
usage: add_datasource.php --host-id=[ID] --data-template-id=[ID]
|
||||
|
||||
Cacti utility for adding datasources via a command line interface.
|
||||
|
||||
--host-id=id - The host id
|
||||
--data-template-id=id - The numerical ID of the data template to be added
|
||||
```
|
||||
|
||||
Both options are required. The script also accepts `--version` to print its
|
||||
version. Unlike the scripts above, it has no list options, so you have to know
|
||||
the id of the host and the id of the data template beforehand. The host ids
|
||||
are printed by, for example, `add_data_query.php --list-hosts`.
|
||||
|
||||
### Add a Data Source
|
||||
|
||||
```console
|
||||
shell>php -q add_datasource.php --host-id=11 --data-template-id=3
|
||||
DS Added - DS[42]
|
||||
```
|
||||
|
||||
The number in brackets is the id of the new **Data Source**. The script
|
||||
creates the **Data Source**, applies the **Data Template** to it, updates its
|
||||
title and then rebuilds the poller cache entries of that **Data Source**.
|
||||
|
||||
The script only checks that both values are numeric. It does not verify that
|
||||
the host or the data template exists, so check both ids before you run it.
|
||||
|
||||
## Add a New Graph
|
||||
|
||||
You won't stop now as you've just created a device from the CLI. Surely, the
|
||||
|
||||
Reference in new issue
Block a user