mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
docs(cli): [1.2.x] correct command line, poller and operations pages against the source (#264)
* docs(cli): [1.2.x] correct command line options against the scripts Replace the pasted --help output for rebuild_poller_cache, poller_reindex_hosts, poller_output_empty, poller_graphs_reapply_names, copy_user, add_device, add_data_query, add_graph_template, add_graphs, add_tree and add_perms with the output of the 1.2.x scripts, remove the add_tree --rra-id and --list-rras documentation, fix the splice_rrd.php name and list the cli scripts that were missing from the tables. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(poller): [1.2.x] correct Spine, script server and boost details against the source Script server pool size is 1 to 15, Data Collector and Device field names follow the 1.2.x forms, php_servers is a system setting, and poller_output is created as a MEMORY table. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] correct setting names, menu paths and special data source names Align Debugging, FAQ, Spikekill and RRDtool feature pages with the 1.2.x setting labels, menu entries, CDEF special data source names and the Spikekill per RRA kill limit. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
c4be40ab53
commit
cdcdeb2e03
8 files changed
+281
-259
No files matched your search
@@ -3,7 +3,7 @@
|
||||
The **PHP Script Server** is a memory resident PHP interpreter that is launched
|
||||
by each Cacti **Data Collector** or poller each polling cycle. If using
|
||||
`cmd.php`, there will be at most one **PHP Script Server** launched per poller
|
||||
process. If using `spine` poller, then up to 10 **PHP Script Servers** will be
|
||||
process. If using `spine` poller, then up to 15 **PHP Script Servers** will be
|
||||
launched in a pool for the various `spine` threads to consume.
|
||||
|
||||
If you have a number of devices that must gather their data via a script, it's
|
||||
@@ -24,8 +24,10 @@ for both SNMP and non-SNMP based data.
|
||||
|
||||
## Using the Script Server
|
||||
|
||||
Cacti contains two sample **PHP Script Server** scripts for reference. They are
|
||||
for the collection of HostMib CPU and Disk Partition information. These two
|
||||
Cacti contains a number of **PHP Script Server** scripts, named `ss_*.php`, in
|
||||
the `scripts` directory for reference. Two of them, `ss_host_cpu.php` and
|
||||
`ss_host_disk.php`, are for the collection of HostMib CPU and Disk Partition
|
||||
information. These two
|
||||
examples are based off the traditional POPEN version of the HostMib functions
|
||||
found in earlier versions of Cacti. Upgrading from these very old **Data Input
|
||||
Methods** to the **PHP Script Server** is not longer supported.
|
||||
@@ -170,7 +172,7 @@ somewhat self explanatory by now, you must make the following changes:
|
||||
2. If the **Data Template** is based upon a **Data Query**, edit the **Data
|
||||
Query** and change it's **Data Input Method** to `Get Script Server Data
|
||||
(Indexed)` and change the XML file path to point to the new XML file in the
|
||||
`<path_cacti>/resources/script_server/` directory.
|
||||
`<path_cacti>/resource/script_server/` directory.
|
||||
|
||||
3. Your final step is to go to the **Console > System Utilities > Rebuild Poller
|
||||
Cache** to apply the new settings.
|
||||
|
||||
Reference in new issue
Block a user