diff --git a/Aggregate-Templates.md b/Aggregate-Templates.md index 2191fd3..11e77ce 100644 --- a/Aggregate-Templates.md +++ b/Aggregate-Templates.md @@ -40,26 +40,27 @@ applied to the **Aggregate Graph** legend items. Any `host`, `query` or `input` references can be used in the `Prefix` section in order to uniquely identify the **Graph Item**. -There are several `Graph Types` transformations that deal with how `AREA`, +There are several `Graph Type` transformations that deal with how `AREA`, `LINEX` and `STACK` items are handled in the resulting **Aggeregate Graph**, they include: - **Keep Graph Types** - No transformation will occur. All `AREA`, `LINE`, and `STACKS` will be unchanged. -- **Keep Type and Stack** - Which means the types will be preserved, but all - data will be stacked instead of simply LINEX it will be transformed to - LINEX:STACK -- **Convert to Area/STACK Graph** - All `LINEX` will be converted to `AREA` and - stacked. -- **Convert to LINE1** - All **Graph Items** will be converted to `LINE1` -- **Convert to LINE2** - All **Graph Items** will be converted to `LINE2` -- **Convert to LINE3** - All **Graph Items** will be converted to `LINE3` -- **Convert to LINE1/Stack** - All **Graph Items** will be converted to `LINE1` - and stacked. -- **Convert to LINE2/Stack** - All **Graph Items** will be converted to `LINE2` - and stacked. -- **Convert to LINE3/Stack** - All **Graph Items** will be converted to `LINE3` - and stacked. +- **Keep Type and STACK** - The graph types of the first aggregated graph are + preserved (a `STACK` item becomes an `AREA`). The items of every later graph + are converted to `STACK`, so the data is stacked. +- **Convert to AREA/STACK Graph** - On the first aggregated graph, `AREA` items + are kept and `LINEX` and `STACK` items become `AREA`. The items of every later + graph are converted to `STACK`. +- **Convert to LINE1 Graph** - All **Graph Items** will be converted to `LINE1` +- **Convert to LINE2 Graph** - All **Graph Items** will be converted to `LINE2` +- **Convert to LINE3 Graph** - All **Graph Items** will be converted to `LINE3` +- **Convert to LINE1/STACK Graph** - Items of the first aggregated graph are + converted to `LINE1` and items of every later graph to `LINE:STACK`. +- **Convert to LINE2/STACK Graph** - Items of the first aggregated graph are + converted to `LINE2` and items of every later graph to `LINE:STACK`. +- **Convert to LINE3/STACK Graph** - Items of the first aggregated graph are + converted to `LINE3` and items of every later graph to `LINE:STACK`. The `Totaling` setting has multiple values. They include: diff --git a/Automation-Networks.md b/Automation-Networks.md index 6f71727..62ee0bc 100644 --- a/Automation-Networks.md +++ b/Automation-Networks.md @@ -9,17 +9,17 @@ page. ![Automation Networks](images/automation-network-main.png) You will now see the below page. If you want to scan 192.168.1.0/24, you would -enter that in the subnet range textbox then enter the subnet in CIDR format. +enter that in the Subnet Range textbox then enter the subnet in CIDR format. Other important options are | Option | Description | | -------------------------- | ------------------------------------------------------------------------------------------ | -| Schedule type | How often you want to scan this subnet for devices | -| Discovery threads | How many proccessess to spawn during the scan | -| Max Runtime | to prevent the scan from running indefinitely | -| Automatically add to Cacti | If a device is SNMP reachable and matches a rule from this subnet the device will be added | -| Netbios | Attempt to resolve the hostname by netbios | +| Schedule Type | How often you want to scan this subnet for devices | +| Discovery Threads | How many proccessess to spawn during the scan | +| Run Limit | to prevent the scan from running indefinitely | +| Automatically Add to Cacti | If a device is SNMP reachable and matches a rule from this subnet the device will be added | +| Enable NetBIOS | Attempt to resolve the hostname by netbios | After you are done adding your network details, ensure you enable the rule and save. diff --git a/CDEFs.md b/CDEFs.md index fafb4dd..43bef85 100644 --- a/CDEFs.md +++ b/CDEFs.md @@ -67,18 +67,19 @@ Name | Description --- | --- Current Graph Item Data Source | The value of the Data Source associated with the Graph Item Current Graph Item Polling Interval | This value is otherwise known as the Step in RRDtool terminology -All Data Sources (No Dupes) | The total of all Data Sources removing any duplicate DEF's -All Data Sources (With Dupes) | Add the values from all the Data Sources whether or not they are duplicated -All Similar Data Sources (No Dupes) | Means all Data Sources with the same RRDtool Data Source name like traffic_in, and traffic_out -All Similar Data Sources (No Dupes) Poller Interval | The max of the poller intervals returned from all similar Data Sources +All Data Sources (Do not Include Duplicates) | The total of all Data Sources removing any duplicate DEF's +All Data Sources (Include Duplicates) | Add the values from all the Data Sources whether or not they are duplicated +All Similar Data Sources (Do not Include Duplicates) | Means all Data Sources with the same RRDtool Data Source name like traffic_in, and traffic_out +All Similar Data Sources (Do not Include Duplicates) Polling Interval | The polling interval (the step) of the Data Source associated with the Graph Item +All Similar Data Sources (Include Duplicates) | Add the values from all Data Sources with the same RRDtool Data Source name whether or not they are duplicated Current Data Source Item: Minimum Value | The RRDtool minimum value of the Current Data Source Current Data Source Item: Maximum Value | The RRDtool maximum value of the Current Data Source Graph: Lower Limit | The lower Limit of the Graph Graph: Upper Limit | The upper Limit of the Graph -Count of All Data Sources (No Dupes) | The total count of all Data Sources without Duplication -Count of All Data Sources (With Dupes) | The total count of all Data Sources including Duplicates -Count of Similar Data Sources (No Dupes) | The total count of Data Sources with the same RRDtool Data Source Name -Count of Similar Data Sources (With Dupes) | The total count of Data Sources with the same RRDtool Data Source Name +Count of All Data Sources (Do not Include Duplicates) | The total count of all Data Sources without Duplication +Count of All Data Sources (Include Duplicates) | The total count of all Data Sources including Duplicates +Count of All Similar Data Sources (Do not Include Duplicates) | The total count of Data Sources with the same RRDtool Data Source Name +Count of All Similar Data Sources (Include Duplicates) | The total count of Data Sources with the same RRDtool Data Source Name As you can see there is quite a bit of information that can be pulled from RRDtool for performing Graphical manipulation of Data. diff --git a/Color-Templates.md b/Color-Templates.md index 4c74ae4..22412aa 100644 --- a/Color-Templates.md +++ b/Color-Templates.md @@ -29,7 +29,7 @@ screen allows you to add, remove and re-order colors in the list. Shown in the image below, only Cacti **Colors** are allowed to be selected for Aggregate **Color Templates**. The **Color** drop down can by typed into if you -wish to search through the list of approximately 340 legacy and *Named Colors*. +wish to search through the list of more than 400 legacy and *Named Colors*. ![Color Templates Item Edit](images/color-templates-edit2.png) diff --git a/Data-Input-Methods.md b/Data-Input-Methods.md index 5cb0429..c5e7475 100644 --- a/Data-Input-Methods.md +++ b/Data-Input-Methods.md @@ -27,7 +27,7 @@ be presented with a few fields to populate on the following screen. Name | Description --- | --- -Name | Give the data query a name that you will use to identify it +Name | Give the data input method a name that you will use to identify it Input Type | Select the type of **Data Input Method** you are trying to create Input String | This field is only used when the Input Type is set to **Script/Command** @@ -90,22 +90,33 @@ The `Field Name` must contain no spaces or other non-alphanumeric characters If you want to enforce a certain regular expression pattern when the user enters a value into `Regular Expression Match (Input Only)` for this Data Input Field, -it must follow POSIX syntax as it will be passed to PHP's preg() functions. +it must be a valid PHP `preg_match` pattern, written without delimiters, as +Cacti passes it to PHP's `preg_match()` function. If the Data Input Field needs to reference another field internally, you can enter this into the `Special Type Code`. For instance, if your field requires an -IP address from the user, you can enter 'management_ip' here and Cacti will fill -this field in with the current IP address of the selected host. +IP address from the user, you can enter 'hostname' here and Cacti will fill +this field in with the current hostname or IP address of the selected host. ###### Table 11-3. Special Type Codes Field Name | Description --- | --- hostname | The hostname -management_ip | The ip +host_id | The Device ID +location | The Device location snmp_community | The SNMP community snmp_username | The SNMP username -snmp_password | The SNMP version +snmp_password | The SNMP password +snmp_auth_protocol | The SNMP authentication protocol +snmp_priv_passphrase | The SNMP privacy passphrase +snmp_priv_protocol | The SNMP privacy protocol +snmp_context | The SNMP context +snmp_engine_id | The SNMP engine ID +snmp_version | The SNMP version +snmp_port | The SNMP port +snmp_timeout | The SNMP timeout +external_id | The External ID If you enable the `Update RRDfile`, Cacti will insert the return value from this field into the RRDfile. This box needs to be checked for at least one output diff --git a/Data-Queries.md b/Data-Queries.md index 005d094..d932c9c 100644 --- a/Data-Queries.md +++ b/Data-Queries.md @@ -105,7 +105,7 @@ information about the data query, described in more detail below. | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Name | Give the **Data Query** a name that you will use to identify it. This name will be used throughout Cacti when presented with a list of **Data Queries**. | | Description (Optional) | Enter a more detailed description of the data query including the information it queries or additional requirements. | -| XML Path | Fill in the full path to the XML file that defines this query. You can optionally use the `path_cacti` variable that will be substituted with the full path to Cacti. On the next screen, Cacti will check to make sure that it can find the XML file. | +| XML Path | Fill in the full path to the XML file that defines this query. The file must be located in the `resource` directory of the Cacti installation. You can optionally use the `` variable that will be substituted with the full path to Cacti. On the next screen, Cacti will check to make sure that it can find the XML file. | | Data Input Method | This is how you tell Cacti to handle the data it receives from the data query. Typically, you will select `Get SNMP Data (Indexed)` for an SNMP query and `Get Script Data (Indexed)` for a script query. | When you are finished filling in all necessary fields, click the Create button @@ -184,11 +184,11 @@ query to hosts. | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | name | (Optional) You can enter a "friendly name" for the SNMP Query here. It will not be used by Cacti, and is for identification only. | | description | (Optional) You can enter a description for the SNMP Query here. It will not be used by Cacti, and is for identification only. | -| oid_uptime | If you have another OID that contains ticks (time), say for example a Java VM. Then, you can create a data query that specifies an alternate uptime OID. To implement this for a data query, simply add the oid_uptime XML parameter to your XML file. Then, if you select your re-index method to be Uptime Goes Backward, Cacti will use that OID to detect whether it is time to re-index the host instead of the standard SNMP OID for uptime. | +| oid_uptime | If you have another OID that contains ticks (time), say for example a Java VM. Then, you can create a data query that specifies an alternate uptime OID. To implement this for a data query, simply add the oid_uptime XML parameter to your XML file. Then, if you select your re-index method to be Uptime, Cacti will use that OID to detect whether it is time to re-index the host instead of the standard SNMP OID for uptime. | | oid_index | Every SNMP Query must have an OID that represents the index values for the query when walked. As described above, any data query in Cacti must contain a field that uniquely identifies each row returned by the query. In the example above, the oid_index points to the OID of ifIndex in the interface MIB. Note: Cacti is able to parse unique indexes from the OID itself. While the regular expression used for parsing the value from the OID is defined below, you must still specify an OID that can be walked by Cacti in order to obtain the list of OID's. Any OID defined for one of your input fields should work in this case. The values returned from the snmpwalk walk will be completely disregarded. | -| non_unique | If set to true, Cacti will allow the Data Query index to be non-unique, and it will not attempt to change the index_order if for some reason, the chosen index field is not unique. | +| index_type | If set to nonunique, Cacti will allow the Data Query index to be non-unique, and it will not attempt to change the index_order if for some reason, the chosen index field is not unique. | | oid_index_parse | This field should only be used if you are trying to parse the unique index from the OID itself. If this field is defined, to obtain a list of indexes, Cacti walks the OID provided in the oid_index field above. It then applies the regular expression provided in this field to the list of OID's that are returned. The matched substrings that remain become the list of indexes for this SNMP Query. | -| value_index_parse | This field uses regular expressions to restrict the list of data returned from the get or walk method. For example: .1.3.6.1.2.1.2.2.1.8 OID/REGEXP:1 will only show the list of up-state interfaces. Tip - When using this field it is also worth using oid_index_parse, example: OID/REGEXP:.\*\.([0-9]+)$ | +| value_index_parse | This field uses regular expressions to restrict the list of data returned from the get or walk method. For example: .1.3.6.1.2.1.2.2.1.8 VALUE/REGEXP:1 will only show the list of up-state interfaces. Tip - When using this field it is also worth using oid_index_parse, example: OID/REGEXP:.\*\.([0-9]+)$ | | oid_num_indexes | An OID that can be queried to determine the total number of available indexes. If specified, this will be used to determine when to automatically re-cache this SNMP Query when it is attached to a device. | | index_order | Cacti will attempt to find the best field to index off of based on whether each row in the query is unique and non-null. If specified, Cacti will perform this check on the fields listed here in the order specified. Only input fields can be specified and multiple fields should be delimited with a colon. | | index_transient | If set to 'true', this field instructs Cacti not to stop attempting to Graph an index if it disappears from the host cache as a result of a re-index. This setting is for indexes that come and go, for example PPPoE statistics or user statistics which appear when a user log's in, but disappear a few hours after the connection is terminated. | @@ -206,11 +206,11 @@ characters, this name must be identifiable within Cacti. | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | name | Here you can specify a "friendly name" for the field. This name will be used by Cacti to help the user identify this field. | | method | Tell Cacti how you want it to gather SNMP information for this field. get: The `get` method performs an snmpget for the OID specified for this field appended by the index values derived from `/`. walk: The `walk` method does a walk of the OID specified for this field. If all OIDs belong to the same SNMP table, both methods will return the same values, even though the 'walk' method is typically more efficient. | -| source | When Cacti obtains a list for this field, you need to tell it how to derive its value for each row. value: The 'value' option simply returns the result of the snmpget for each row. **OID/REGEXP** (regexp_match): The **OID/REGEXP** modifier can be used when you need to use a POSIX-based regular expression to derive the value from the OID. The most common example of this is to retrieve the IP address of an interface, and can be seen in the 'interface.xml' file. **VALUE/REGEXP** (regexp_match): The **VALUE/REGEXP** modifier can be used to parse the value based on a regular expression, returning the first match. index: Simply use the value of the index for this row as the value. If the index is being parsed from the OID using the oid_index_parse field, you must specify index here. Omit the `...` field, then. **OID2HEX/REGEXP** (regexp_match): The **OID2HEX/REGEXP** modifier can be used to parse the OID to extract IPv6 addresses. This is useful for input type fields. It also supports the 'oid_index_parse' expression as well. | +| source | When Cacti obtains a list for this field, you need to tell it how to derive its value for each row. value: The 'value' option simply returns the result of the snmpget for each row. **OID/REGEXP** (regexp_match): The **OID/REGEXP** modifier can be used when you need to use a PHP preg-based regular expression to derive the value from the OID. The most common example of this is to retrieve the IP address of an interface, and can be seen in the 'interface.xml' file. **VALUE/REGEXP** (regexp_match): The **VALUE/REGEXP** modifier can be used to parse the value based on a regular expression, returning the first match. index: Simply use the value of the index for this row as the value. If the index is being parsed from the OID using the oid_index_parse field, you must specify index here. Omit the `...` field, then. **OID2HEX/REGEXP** (regexp_match): The **OID2HEX/REGEXP** modifier can be used to parse the OID to extract IPv6 addresses. This is useful for input type fields. It also supports the 'oid_index_parse' expression as well. | | direction | input: Input values are the "known" values that you will use to derive the output values, this is where the "query" part of SNMP query comes in. When you create a graph based on an SNMP query, Cacti will prompt you to choose the input value to base the graph on. output: Output values are "unknown" values that are returned from the script. An SNMP query may return multiple statistics for a single index. For instance, a single interface could return bytes/sec in, errors, packets/sec, etc. A rule of thumb is that input fields contain semi-static data that is not graphable, while the output fields contain the data that will be graphed. | | oid | You must specify the actual OID that corresponds with the field. Each value for this field can be obtained by doing an snmpget on `oid.(each)snmpindex`. | | oid_rewrite_pattern | You can specify and **OID/REGEXP** string which will be replaced by the oid_rewrite_replacement string if found. | -| oid_rewrite_replacement | You must specify the actual OID that corresponds with the field. Each value for this field can be obtained by doing an snmpget on `oid.(each)snmpindex`. | +| oid_rewrite_replacement | The string that replaces the text matched by the oid_rewrite_pattern. | | oid_suffix | The suffix, if specified will be appended to the each oid from the walk or get response, prior to the oid_rewrite_pattern to oid_rewrite_replace regular expression replace. If the method is get, Cacti will issue an snmpget to obtain the resulting data. | | rewrite_index | Modifies the snmp values using the rewrite_index expression. | | output_format | Determines the output format of the column values. Options are 'ascii', 'hex'. If not specified, Cacti will allow SNMP to 'guess' the output format. | @@ -253,7 +253,7 @@ characters, this name must be identifiable within Cacti. | arg_get | Enter the argument that is to be passed to the script to retrieve a single value given a field name and index value. | | arg_num_indexes | Enter the argument that is to be passed to the script to determine the total number of available indexes. If specified, this will be used to determine when to automatically re-cache this script query when it is attached to a device. | | output_delimeter | Enter the one character delimiter that will be used to separate output values. This is only used when you "query" the script in which case it outputs 'index(delimiter)value'. | -| index_order | Cacti will attempt to find the best field to index off of based on whether each row in the query is unique and non-null. If specified, Cacti will perform this check on the fields listed here in the order specified. Only input fields can be specified and multiple fields should be delimited with a comma. | +| index_order | Cacti will attempt to find the best field to index off of based on whether each row in the query is unique and non-null. If specified, Cacti will perform this check on the fields listed here in the order specified. Only input fields can be specified and multiple fields should be delimited with a colon. | | index_transient | If set to 'true', this field instructs Cacti not to stop attempting to Graph an index if it disappears from the host cache as a result of a re-index. This setting is for indexes that come and go, for example PPPoE statistics or user statistics which appear when a user log's in, but disappear a few hours after the connection is terminated. | | index_order_type | For sorting purposes, specify whether the index is numeric or alphanumeric. numeric: The indexes in this script query are to be sorted numerically (ie. 1,2,3,10,20,31) alphabetic: The indexes in this script query are to be sorted alphabetically (1,10,2,20,3,31). | | index_title_format | Specify the title format to use when representing an index to the user. Any input field name can be used as a variable if enclosed in pipes (|). The variable |chosen_order_field| will be substituted with the field chosen by Cacti to index off of (see index_order above). | @@ -320,7 +320,7 @@ non-alphanumeric characters, this name must be identifiable within Cacti. | arg_get | Enter the argument that is to be passed to the script to retrieve a single value given a field name and index value. | | arg_num_indexes | Enter the argument that is to be passed to the script to determine the total number of available indexes. If specified, this will be used to determine when to automatically re-cache this script query when it is attached to a device. | | output_delimeter | Enter the one character delimiter that will be used to separate output values. This is only used when you "query" the script in which case it outputs 'index(delimiter)value'. | -| index_order | Cacti will attempt to find the best field to index off of based on whether each row in the query is unique and non-null. If specified, Cacti will perform this check on the fields listed here in the order specified. Only input fields can be specified and multiple fields should be delimited with a comma. | +| index_order | Cacti will attempt to find the best field to index off of based on whether each row in the query is unique and non-null. If specified, Cacti will perform this check on the fields listed here in the order specified. Only input fields can be specified and multiple fields should be delimited with a colon. | | index_transient | If set to 'true', this field instructs Cacti not to stop attempting to Graph an index if it disappears from the host cache as a result of a re-index. This setting is for indexes that come and go, for example PPPoE statistics or user statistics which appear when a user log's in, but disappear a few hours after the connection is terminated. | | index_order_type | For sorting purposes, specify whether the index is numeric or alphanumeric. numeric: The indexes in this script query are to be sorted numerically (ie. 1,2,3,10,20,31) alphabetic: The indexes in this script query are to be sorted alphabetically (1,10,2,20,3,31). | | index_title_format | Specify the title format to use when representing an index to the user. Any input field name can be used as a variable if enclosed in pipes (|). The variable |chosen_order_field| will be substituted with the field chosen by Cacti to index off of (see index_order above). | diff --git a/Data-Sources.md b/Data-Sources.md index 80ee10d..5148d94 100644 --- a/Data-Sources.md +++ b/Data-Sources.md @@ -62,8 +62,8 @@ may be interested in to view the Data sources in use ![device datasources](images/data-sources-per-device.png) -You can also view Orphaned data sources in this view by setting Orphaned from -All to Orphaned Orphaned data sources are where the graph has been deleted but +You can also view Orphaned data sources in this view by checking the Orphaned +checkbox. Orphaned data sources are where the graph has been deleted but the data source was not deleted --- diff --git a/Devices.md b/Devices.md index ce30465..bf60ada 100644 --- a/Devices.md +++ b/Devices.md @@ -24,23 +24,24 @@ Some of the most important information about the device will be required in this window which includes - **Description** - The name that will appear on **Graphs** by default -- **IP/Hostname** - The DNS or IP address of the actual **Device**. IPv6 address insert into brackets (example: [2001:abcd:1234::1]) +- **Hostname** - The DNS or IP address of the actual **Device**. IPv6 address insert into brackets (example: [2001:abcd:1234::1]) - **Poller Association** - Defines which **Data Collector** is responsible for pulling information about the **Device** - **Device Template** - Cisco, Net-SNMP, Linux, etc - The Cacti object that holds all the **Graph Templates** and **Data Queries** to be graphed -- **Site, Location** - Very important to performing Meta queries, or for +- **Device Site Association, Location** - Very important to performing Meta + queries, or for Site level Graph organization on Cacti **Graph Trees** - **Availability/Reachability** - Settings that describe **Device** timeouts and availability methods. - **SNMP information** - SNMP Credentials for connecting to the **Device** -- **Device Notes** - Arbitrary unstructured information about the **Device** +- **Notes** - Arbitrary unstructured information about the **Device** ![Add Device Info Screen](images/add-device-screen.png) Cacti requires this basic information to be able to monitor the device and once entered, click save on the bottom right corner. With the device created you will -need to add graphs for the device by clicking **Create graphs for this device** +need to add graphs for the device by clicking **Create Graphs for this Device** on the top right hand corner. Choose a [device template](Device-Templates.md) for the device's exposed @@ -71,7 +72,7 @@ The device is considered UP even if the tcp ping returns closed - **Ping or SNMP Uptime** - Only one needs to be working for Cacti to collect data - **SNMP Desc** - Query the SNMP sysDescription in cases where the SNMP Uptime OID is not available -- **SNMP GetNext** - Query the first available OID in the OID tree for the **Device** +- **SNMP getNext** - Query the first available OID in the OID tree for the **Device** Used for certain devices that have limited SNMP support. ## SNMP Credentials @@ -94,7 +95,7 @@ you have specified. There are some additional options that you should note before starting to use Cacti. They include the following: -- **Device Threads** - If your device is far away, and can tolerate multiple threads +- **Number of Collection Threads** - If your device is far away, and can tolerate multiple threads querying information, you can increase this number to reduce the time it takes to collect all information. - **Maximum OIDs Per Get Request** - Otherwise known as MaxOID's, this SNMP option diff --git a/Graph-Rules.md b/Graph-Rules.md index a057de9..0e235dc 100644 --- a/Graph-Rules.md +++ b/Graph-Rules.md @@ -25,7 +25,7 @@ match on. You can see how these rules would take place by clicking the show matching objects link. -Use both **Show matching devices** and **Show matching objects** to review +Use both **Show Matching Devices** and **Show Matching Objects** to review the scope. These previews show rule matches, not proof that each selected metric will poll successfully. Check the resulting graphs on representative devices as well. diff --git a/Reports-Admin.md b/Reports-Admin.md index a1dc4fc..9ce2971 100644 --- a/Reports-Admin.md +++ b/Reports-Admin.md @@ -55,13 +55,13 @@ This section includes: custom html/css document that you can use to customize the layout of your reports and add corporate branding for example. - **Format File to Use** - The specific html/css file to use. -- **Graphs Linked** - Provide the recipient of the report a ling back to the actual +- **Graph Linked** - Provide the recipient of the report a ling back to the actual graph in Cacti. - **Graph Columns** - The number of Graph columns to use per row. - **Graph Width** - The width of each Graph - **Graph Height** - The height of each Graph - **Thumbnails** - Should the Graphs be rendered in Thumbnail mode -- **Next Timestamp of Sending Mail Report** - The approximate next time to send the report +- **Next Timestamp for Sending Mail Report** - The approximate next time to send the report - **Report Interval** - The frequency to send the report. Options are every X Minute, Hours, Days, Weeks, Months on a Day of the Month, Months on the Day of the Week, and Years. @@ -72,7 +72,7 @@ This section includes: The **Email Frequency** section does not use the same layout as does our **Automation Networks**. Correcting that is a future project for the team. -The last section of the **Report Details** is the **Email Sender/Receiver** +The last section of the **Report Details** is the **Email Sender/Receiver Details** section as shown below. ![Reports Admin Edit](images/reports-edit-2.png) diff --git a/Reports-User.md b/Reports-User.md index 4d460b7..879e093 100644 --- a/Reports-User.md +++ b/Reports-User.md @@ -16,8 +16,7 @@ shot of the Reports tab is shown below. When viewing any **Reports** from this interface, you will see the following columns: -- **Report Name** - The name of the Report. -- **Owner** - The Cacti account that has ownership of the Report. +- **Report Title** - The name of the Report. - **Frequency** - How often the Report is to be sent to the distribution. - **Last Run** - The last time that the Report was sent to the distribution. - **Next Run** - The approximate next time that the report is to be sent. this @@ -53,13 +52,13 @@ This section includes: custom html/css document that you can use to customize the layout of your reports and add corporate branding for example. - **Format File to Use** - The specific html/css file to use. -- **Graphs Linked** - Provide the recipient of the report a ling back to the +- **Graph Linked** - Provide the recipient of the report a ling back to the actual graph in Cacti. - **Graph Columns** - The number of Graph columns to use per row. - **Graph Width** - The width of each Graph - **Graph Height** - The height of each Graph - **Thumbnails** - Should the Graphs be rendered in Thumbnail mode -- **Next Timestamp of Sending Mail Report** - The approximate next time to send +- **Next Timestamp for Sending Mail Report** - The approximate next time to send out the **Report**. - **Report Interval** - The frequency to send the report. Options are every X Minute, Hours, Days, Weeks, Months on a Day of the Month, Months on the Day of @@ -71,7 +70,7 @@ This section includes: The **Email Frequency** section does not use the same layout as does our **Automation Networks**. Correcting that is a future project for the team. -The last section of the **Report Details** is the **Email Sender/Receiver** +The last section of the **Report Details** is the **Email Sender/Receiver Details** section as shown below. ![Reports Admin Edit](images/reports-edit-2.png) diff --git a/Templates.md b/Templates.md index 5f6d92f..b58f2d7 100644 --- a/Templates.md +++ b/Templates.md @@ -106,7 +106,9 @@ to do with the **Data 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-Data Source Value check-boxes next to each one. The nice +names with Use Per-Data Source Value check-boxes next to each one (the form +labels each of them "Check this checkbox if you wish to allow the user to +override the value on the right during Data Source creation."). The nice thing about Templates in Cacti is that you can choose whether to template each field on a per-field basis. If you leave the check-box unchecked, every **Data Source** attached to the **Data Template** will inherit its value from the @@ -216,7 +218,9 @@ of the **Graph Template** interface. The first thing you must do is give the **Graph Template** a name. This name has nothing to do with the graph title, but is what you will use to identify the **Graph Template** throughout Cacti. Second, you will notice a list of graph -field names with Use Per-Graph Value check-boxes next to each one. The nice +field names with Use Per-Graph Value check-boxes next to each one (the form +labels each of them "Check this checkbox if you wish to allow the user to +override the value on the right during Graph creation."). The nice thing about Templates in Cacti is that you can choose whether to template each field on a per-field basis. If you leave the check-box unchecked, every **Graph** owned by the **Graph Template** will inherit its value from the @@ -236,15 +240,14 @@ Template** will have its own value for that particular field. | Auto Scale | Enable auto scale for the graph. This option must be check to use the next two options. Upper/Lower limit values are ignored when using auto-scale since these boundaries are determined automatically. | | Auto Scale Options | Choose whether you would like to use --alt-autoscale (ignoring given limits), --alt-autoscale-max (accepting a lower limit), --alt-autoscale-min (accepting an upper limit. | | Logarithmic Scaling | Choose if you want logarithmic y-axis scaling. | -| Scientific Units for Logarithmic Scaling | For linear graphs, scientific units (in magnitudes of k=kilo, M=mega, ...) is default. But for logarithmic graphs, exponential notation is default. Choose if you want logarithmic y-axis scaling and scientific units. | +| SI Units for Logarithmic Scaling | For linear graphs, SI units (in magnitudes of k=kilo, M=mega, ...) is default. But for logarithmic graphs, exponential notation is default. Choose if you want logarithmic y-axis scaling and scientific units. | | Rigid Boundaries Mode | From the RRDtool manual "Normally rrdgraph will automatically expand the lower and upper limit if the graph contains a value outside the valid range. With this option you can disable this behavior". | | Auto Padding | If you have ever created RRDtool based graphs manually, you may have realized how annoying it can be to get text to line up properly. With this option Cacti will do its best to make the columns on your graph legend line up. This option works best when your graph legend has a consistent number of columns. | -| Allow Graph Export | If you choose to use Cacti's static HTML/image export, you can choose whether you want each individual graph to be exported. | | Upper Limit | The maximum value that will be displayed on the y-axis. This value is ignored is auto-scaling is turned on. | | Lower Limit | The minimum value that will be displayed on the y-axis. This value is ignored is auto-scaling is turned on. | | Base Value | Whether you want to base the y-axis labels on 1000 or 1024. This field will typically be set to 1024 for memory and 1000 for traffic measurements. | | Unit Grid Value | Sets the unit value for the y-axis (--y-grid). You should probably keep the unit short as to keep it readable. | -| Unit Exponent Value | Sets the 10^e scaling of the y-axis. Valid values for this field are between -18 and 18. For example, you could use 3 to display everything in 'k' (kilo) or -6 to display everything in 'u' (micro). | +| Unit Exponent Value | Sets the 10^e scaling of the y-axis. Enter a whole number, for example 3 to display everything in 'k' (kilo). Cacti passes only non-negative values to RRDtool, so a negative value such as -6 has no effect on the rendered graph. | | Vertical Label | The text to print on the left edge of the graph. Usually is the units the data on the graph is measured in. | ### Auto-scaling Options Explained @@ -329,7 +332,7 @@ assumptions later. | Value | This field is only used with the HRULE/VRULE graph item types. Type any valid integer to draw the line at for HRULE or the time of the day HH:MM for VRULE. | | GPRINT Type | If this item is a GPRINT, you can choose how you want the number to be formatted. You can add your own in the GPRINT Presets section of Cacti. | | Text Format | You can enter text to be displayed on the legend here. This field is applicable for all graph item types except for the virtual LEGEND type. | -| Hard Return | Check this box to force graph items onto the next line. | +| Insert Hard Return | Check this box to force graph items onto the next line. | #### Graph Item Inputs diff --git a/Tree-Rules.md b/Tree-Rules.md index df9ff7f..98e02f8 100644 --- a/Tree-Rules.md +++ b/Tree-Rules.md @@ -18,7 +18,8 @@ to start a new rule you are also able to duplicate rules to make it easier as we We need a way to tell automation what device we are looking for in the example above we are looking for a device with the hostname Linux -this is done via a REGEX any perl based REGEX can be used. +this is done via a REGEX using the `matches regular expression` operator, +which the database evaluates with its `REGEXP` operator. To test this REGEX on existing devices you can click the show eligible Objects this will check the Devices currently in cacti for a match. @@ -31,8 +32,9 @@ from the dropdown list. ![Tree Rules Item Edit](images/automation-tree-rules-edit3.png) -We also have the option to auto create a tree based on our rule in this case -a new tree Named Linux will be created if it does not already exist. +We also have the option to create a branch (a header) in the selected tree based +on our rule. In this case a new branch named Linux will be created in that tree +if it does not already exist. ## Video Walkthrough diff --git a/Trees.md b/Trees.md index 94ab37f..925b6f4 100644 --- a/Trees.md +++ b/Trees.md @@ -30,8 +30,8 @@ see the below page where you are able to add **Devices** to the **Tree**. To add devices to the new tree simply drag an available device to the tree and it will be added to the tree. Cacti currently supports four -`Sort Types`, which can be either inherited, of left to the author to define -inheritance and at what level. See the image below for a visual representation +`Sort Types` and an `Inherit Parent Sorting` option, which can be either +inherited, of left to the author to define inheritance and at what level. See the image below for a visual representation of how Tree Sorting is accomplished. ![Tree Sorting](images/tree-options-sorting.png) @@ -44,21 +44,22 @@ Name | Name of the tree entry. | The sort order of all trees themselves is always alphabetical Sorting Type | Manual Ordering (No Sorting) | Y ou may chance the sequence at your will -Alphabetical Ordering | 1, Ab, ab | All sub-trees are ordered alphabetically, +Alphabetic Ordering | 1, Ab, ab | All sub-trees are ordered alphabetically, unless specifies otherwise (you may chance sort options at sub-tree label) Natural Ordering | ab1, ab2, ab7, ab10, ab20 | N/A Numeric Ordering | 01, 02, 4, 04 | Leading zeroes are not taken into account when ordering numerically End users will not be able to view the **Tree** or it's Graphs until you -publish it. To edit a **Tree**, you will be required to lock it for your use. +publish it. To edit a **Tree**, you will be required to lock it for your use +by pressing the **Edit Tree** button. The locking is designed to prevent multiple users from editing a **Tree** simultaneously. When a Tree is locked, you can drag & drop the **Sites**, **Devices** and **Graphs** over to the Tree menu. To add a 'Root Branch', simply press the -button to do so, once you have Root Branches, you may right click on the to -create sub-branches on the Tree. +**Add Root Branch** button, once you have Root Branches, you may right click on +the to create sub-branches on the Tree. When you single click on a **Site**, the **Devices**, and **Graphs** associated with that **Site** should appear in their respective sections. You can also type into @@ -66,7 +67,8 @@ the Search fields above the various sections to drill into them. You can also s and control-click on the objects within a section to drag & drop multiple objects at one time. -Don't forget to unlock your **Tree** before finishing your editing session. +Don't forget to press **Finish Editing Tree** to unlock your **Tree** before +finishing your editing session. --- Copyright (c) 2004-2026 The Cacti Group diff --git a/Variables.md b/Variables.md index 2d8f3e1..1cfd532 100644 --- a/Variables.md +++ b/Variables.md @@ -88,7 +88,7 @@ name. ## Nth Percentile ```regex -|[0-9]:(bits|bytes):[0-9]:(current|total|max|total_peak|all_max_current|all_max_peak|aggregate_max|aggregate_sum|aggregate_current|aggregate):[0-9]| +|[0-9]{1,2}:(bits|bytes):[0-9]:(current|total|max|total_peak|all_max_current|all_max_peak|aggregate_max|aggregate_sum|aggregate_sum_peak|aggregate_current|aggregate_current_peak|aggregate_peak|aggregate):[0-9]| ``` Nth percentile is often used by hosting providers to bill customers based on @@ -112,7 +112,7 @@ variable you must give it five arguments: | [0-9] | The first argument is a number between 1 and 99. This number represents the Nth percentile that you would like to calculate. | | (bits \| bytes) | Choose whether you want to represent your Nth percentile in bits or bytes. The only valid values for this field are 'bits' and 'bytes'. | | [0-9] | This field determines the power of 10 divisor that will be applied to your Nth percentile number. Enter '0' to leave the number alone, '3' for kilo or '6' for mega, etc. | -| ( current \| total \| max \| total_peak \| all_max_current \| all_max_peak \| aggregate_max \| aggregate_sum \| aggregate ) | Nth Percentile Type - Refer to Nth Types below | +| ( current \| total \| max \| total_peak \| all_max_current \| all_max_peak \| aggregate_max \| aggregate_sum \| aggregate_sum_peak \| aggregate_current \| aggregate_current_peak \| aggregate_peak \| aggregate ) | Nth Percentile Type - Refer to Nth Types below | | [0-9] | Enter the number of digits to use for floating point precision when printing out the final number. The default value for this field is two decimal places. | ###### Table 15-2. Nth Percentile Types @@ -147,7 +147,7 @@ variable you must give it five arguments: ## Bandwidth Summation ```regex -|sum:([0-9]|auto):(current|total):([0-9]):([0-9]+|auto)| +|sum:([0-9]|auto):(current|total|atomic):([0-9]):([0-9]+|auto)| ``` Bandwidth summation is useful for summing up all values in an RRDfile for a @@ -155,14 +155,14 @@ given time range. This is typically useful on traffic graphs where you can see a total of all traffic that has gone through an interface in a given time period. In Cacti, bandwidth summation works just like any other graph variable. To use -this variable you must give it three arguments: +this variable you must give it four arguments: ###### Table 15-3. Bandwidth Summation Argument Description | Name | Description | | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ([0-9] \| auto) | This field determines the power of 10 divisor that will be applied to your number. Enter '0' to leave the number alone, '3' for kilo or '6' for mega, etc. You can also enter 'auto' for this field to have Cacti automatically scale the number and insert the appropriate label. | -| (current \| total) | You can choose to calculate the summation based on the current data source or a total of all data sources used on the graph. The only valid values for this field are 'current' and 'total'. | +| (current \| total \| atomic) | You can choose to calculate the summation based on the current data source or a total of all data sources used on the graph. The only valid values for this field are 'current', 'total' and 'atomic'. | | [0-9] | Enter the number of digits to use for floating point precision when printing out the final number. The default value for this field is two decimal places. | | ([0-9]+ \| auto) | Enter the number of seconds in the past to perform the summation calculation for. For instance '86400' for 24 hours, '172800' for 48 hours, etc. You can also enter 'auto' for this field to have Cacti use the graph timespan. | @@ -190,10 +190,12 @@ host fields the correspond to. | \|host_hostname\| | Hostname | | \|host_id\| | Numerical ID of the Host as it is maintained in the MySQL Tables | | \|host_location\| | Location | +| \|host_management_ip\| | Hostname (kept for compatibility) | | \|host_max_oids\| | SNMP Max OIDs for snmpbulkwalk | | \|host_notes\| | Administrative Notes | | \|host_ping_retries\| | Ping Retries (Downed Host Detection) | | \|host_polling_time\| | Last polling time | +| \|host_site\| | Site name | | \|host_snmp_auth_protocol\| | SNMP Authentication Protocol (v3) | | \|host_snmp_community\| | SNMP Community | | \|host_snmp_context\| | SNMP Context (v3) | @@ -213,6 +215,14 @@ host fields the correspond to. | \|host_snmp_version\| | SNMP Version | | \|host_uptime\| | SNMP Uptime | +> **Note** +> +> The SNMP credential variables (`|host_snmp_community|`, +> `|host_snmp_username|`, `|host_snmp_password|`, +> `|host_snmp_priv_passphrase|`, `|host_snmp_context|` and +> `|host_snmp_engine_id|`) are removed from graph titles, data source titles +> and graph legends and are not replaced with their values there. + ## Example Use Below you can see the example in the `SNMP - Interface Statistics` Data Query of diff --git a/Viewing-Graphs.md b/Viewing-Graphs.md index fe5a56c..e395376 100644 --- a/Viewing-Graphs.md +++ b/Viewing-Graphs.md @@ -78,10 +78,10 @@ From top to bottom, the Graph Action Icons do the following. Name | Description --- | --- -Graph Details | Allow you to perform precision zooming, view RRDtool debug information and perform CSV exports of your Graph Data. +Details | Allow you to perform precision zooming, view RRDtool debug information and perform CSV exports of your Graph Data. CSV Export | Allows you to directly CSV Export your Graph Data Realtime View | Allows you to view your Graphs at down to a 1 second granularity either in place, or in a pop-up Window -Spike Kill | Allow you to clear up Spikes and Gaps in your Graph +Kill Spikes | Allow you to clear up Spikes and Gaps in your Graph Create Threshold | Create a Threshold for the Graph Add to QuickTree | Allow you to select Graphs to add to Trees by simply tooling around the Graphs page.