mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
docs: add four industry deployment guides on 1.2.x (#322)
* docs: trace a campus Wi-Fi incident from uplink to access port Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: rehearse a scoped plant maintenance window Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: distinguish branch WAN and shared service failures Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: commission colocation power, uplinks and tenant views Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
dd3da1e07e
commit
4c60d90b57
5 files changed
+286
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# Deploy Cacti for a higher education campus
|
||||
|
||||
On move-in day, users in one residence hall report slow Wi-Fi. The campus
|
||||
network team needs to distinguish a busy building uplink from a problem
|
||||
at one access point. Start with one hall, its distribution uplink and
|
||||
one managed access point (AP) whose switch port is known to campus IT.
|
||||
|
||||
## Establish the measurement path
|
||||
|
||||
1. Follow the [multi-site deployment guide](Multi-Site-Deployment.md) to
|
||||
assign a collector that can read the building switches. Record the hall,
|
||||
switch, interface name, alias, uplink speed and departmental owner.
|
||||
Use campus inventory labels in graph titles.
|
||||
2. Create inbound and outbound traffic graphs from the uplink's 64-bit
|
||||
interface counters. Add error and discard graphs where available.
|
||||
For a link aggregation group, identify the logical interface and the
|
||||
member ports. Use one level for the traffic total.
|
||||
3. Verify both directions against two counter readings from the same
|
||||
interval. Keep a normal teaching-day graph and a busy evening graph.
|
||||
A switch-port graph measures traffic on the wired side of an AP.
|
||||
For radio airtime or associations, use measurements the wireless
|
||||
controller actually exposes.
|
||||
|
||||
## Configure the three plugins
|
||||
|
||||
| Plugin | Setup for the pilot | First check |
|
||||
| --- | --- | --- |
|
||||
| [Thold](Plugin-Thold.md) | Install and enable `plugins/thold`. In **Management > Notification Lists**, create a campus NOC test list. In **Management > Thresholds**, select the hall uplink data source and set a high limit, consecutive breach count and recovery notification. | Verify the stored units. A limit of 800 Mb/s on a 1 Gb/s link corresponds to 100,000,000 bytes/s if the source stores bytes per second. Exercise the rule on a test source. |
|
||||
| [Weathermap](Plugin-Weathermap.md) | Install `plugins/weathermap` and verify its GD, RRDtool and directory requirements. In **Management > Weathermaps**, create a map with core and hall nodes. Bind each link direction to the corresponding RRD series and set its bandwidth. | Rebuild the map. Check its timestamp and compare each direction with the underlying graph. Set map access for the intended viewers. |
|
||||
| [MacTrack](Plugin-Mactrack.md) | Enable `plugins/mactrack`. Create a MacTrack site, add or import the hall switch, and select a matching Device Type and MAC scanning function. MacTrack maintains its own sites and device inventory. | After a completed scan, look up the managed AP's wired MAC. Compare the switch, port, VLAN and observation time with the campus inventory. |
|
||||
|
||||
## Work the move-in incident
|
||||
|
||||
Suppose the hall's outbound graph shows 910 Mb/s on the 1 Gb/s uplink,
|
||||
while comparable halls stay below 400 Mb/s. Check that the map displays
|
||||
the same direction and a current sample. Look for sustained utilization
|
||||
and new discards during the complaint window. Give the backbone team the
|
||||
circuit, time range and graph if the symptoms affect the whole hall.
|
||||
|
||||
If complaints come from one floor and the uplink has headroom, give the
|
||||
wireless team the AP identifier, its latest MacTrack observation and the
|
||||
access-port error graph. A learned MAC on a trunk may be several hops
|
||||
away from the AP. Follow the downstream switch inventory before sending
|
||||
someone to a closet. Controller tunneling and client address randomization
|
||||
can also limit what the wired forwarding table reveals.
|
||||
|
||||
## Verify departmental access
|
||||
|
||||
Give a departmental test account access to the hall graphs it supports.
|
||||
Test an allowed graph, a different department's graph by direct URL, and
|
||||
the map as that user. Keep address history available only to authorized
|
||||
staff. Repeat a [test alert and recovery](Test-Alert-Delivery.md) before
|
||||
using the rule during registration week. Record the responsible team and
|
||||
the last verified port mapping with the handover.
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) 2004-2026 The Cacti Group
|
||||
@@ -0,0 +1,83 @@
|
||||
# Deploy Cacti for a data center or colocation provider
|
||||
|
||||
Commission one rack with two network uplinks and documented power feeds.
|
||||
The NOC needs to see each path independently. A tenant needs access to
|
||||
its contracted circuits, while facilities owns the authoritative power
|
||||
readings. Start with two test tenants so access boundaries can be checked
|
||||
before sharing any production graphs.
|
||||
|
||||
## Map the rack to its power sources
|
||||
|
||||
1. Record the rack, tenant, circuit IDs, feed labels, upstream UPS IDs
|
||||
and monitored network interfaces. Ask facilities whether a UPS serves
|
||||
several racks and which meter measures each tenant feed. Store the
|
||||
mapping and the date it was verified.
|
||||
2. Install [APC UPS](Plugin-Apcupsd.md) in `plugins/apcupsd` and enable
|
||||
it. For a supported SNMP UPS, create the Cacti device with read-only
|
||||
credentials first. In UPS management add an **SNMP Based** entry,
|
||||
select that device, **Poller ID** and **Site Name**, then enable it.
|
||||
For an existing apcupsd or NUT service, select the corresponding UPS
|
||||
type and configure the approved service address.
|
||||
3. After a poll, compare line state, load percentage, battery condition
|
||||
and runtime with the UPS management display for the same timestamp.
|
||||
Record which fields the model supplies. The plugin's estimated watts
|
||||
can be derived from nominal watts and load percentage. Label those
|
||||
values as estimates and retain the units of the source.
|
||||
4. Where per-rack or per-tenant power is required, graph the assigned
|
||||
PDU outlet or feed meter with its verified unit and multiplier. Use
|
||||
actual metered energy and the contractual measurement point for
|
||||
billing. A shared UPS load percentage cannot identify tenant usage.
|
||||
|
||||
For example, a UPS rated at 4,000 W and reporting 60% load gives an
|
||||
estimated 2,400 W for its entire load. Another rack on that UPS prevents
|
||||
attribution of the 2,400 W to the pilot rack. Ask facilities to confirm
|
||||
the allowable load and redundancy policy for each feed. Validate the
|
||||
monitoring against readings while the production feeds stay energized.
|
||||
|
||||
## Monitor redundant uplinks independently
|
||||
|
||||
- Assign each interface to its circuit and physical path. Create
|
||||
separate inbound and outbound traffic graphs, errors and discards.
|
||||
Compare the interface alias, speed and fresh samples with the device.
|
||||
- Enable [Thold](Plugin-Thold.md) and create a NOC notification list and
|
||||
a high-usage threshold on each intended data source. Choose limits
|
||||
that preserve the agreed headroom. Check whether the stored rate is
|
||||
bytes/s or bits/s. Exercise an alert and recovery on a test source.
|
||||
- If the NOC uses [Weathermap](Plugin-Weathermap.md), register a private
|
||||
map with separate links for A and B. Map each direction to its own
|
||||
RRD series and configure the link bandwidth. Compare the rendered map
|
||||
with the graphs before drawing conclusions from its colors.
|
||||
|
||||
Suppose two 10 Gb/s uplinks carry 6 Gb/s and 5 Gb/s in the same direction
|
||||
over the same interval. If all that traffic had to cross one surviving
|
||||
10 Gb/s link, the offered load would be 11 Gb/s. Report the 1 Gb/s
|
||||
shortfall even though each path is below its individual limit. Check the
|
||||
actual failover design with network engineering. Repeat the calculation
|
||||
for the opposite direction and for the agreed busy periods.
|
||||
|
||||
## Verify tenant visibility before handover
|
||||
|
||||
1. Create separate test groups and accounts for Tenant A and Tenant B.
|
||||
Under [user permissions](User-Management.md), grant each the required
|
||||
graph-viewing realm and its own circuit graphs. Review effective
|
||||
graph, device and template grants, including group membership. A
|
||||
tenant tree helps navigation, but the graph permissions govern access.
|
||||
2. Sign in as A. Open an A graph and confirm the expected title and
|
||||
series. Try B's graph by direct URL and confirm access is denied.
|
||||
Repeat as B for the opposite pair. Verify the NOC account can see
|
||||
both. Record graph IDs and results without copying tenant identifiers
|
||||
into a shared ticket.
|
||||
3. Check plugin access separately. Keep the UPS management realm and
|
||||
shared NOC maps with authorized staff. If providing a tenant map,
|
||||
restrict its viewers and make sure every label and data source on it
|
||||
belongs in that tenant's view. Recheck after cloning a map or changing
|
||||
group membership.
|
||||
|
||||
Deliver the NOC a per-path capacity report and the timestamp of the last
|
||||
verified UPS readings. Give each tenant its approved circuit report,
|
||||
measurement units and reporting window. For monthly traffic reporting,
|
||||
follow [ISP circuit acceptance](ISP-Circuit-Acceptance.md).
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) 2004-2026 The Cacti Group
|
||||
@@ -0,0 +1,69 @@
|
||||
# Deploy Cacti for a manufacturing plant
|
||||
|
||||
A packaging line has a planned switch replacement during second shift.
|
||||
The network team needs to recognize loss of the line's uplink, keep an
|
||||
adjacent line under observation, and tell the incoming shift exactly
|
||||
which measurements recovered. Start with approved switch management
|
||||
interfaces and synthetic IT endpoints. Agree on targets, read-only access
|
||||
and polling frequency with the plant network owner.
|
||||
|
||||
## Establish a shift baseline
|
||||
|
||||
1. Record the Cacti Site, assigned collector, switch and interface alias
|
||||
for each line. Trace both paths back to distribution. Mark any shared
|
||||
switch or uplink on the handover sheet. A maintenance window on a
|
||||
shared device can affect notifications for both lines.
|
||||
2. From the assigned collector, confirm the expected interface counters.
|
||||
Graph traffic, discards and errors where provided. Choose one known
|
||||
busy shift and one idle shift and compare the same intervals on each
|
||||
graph. An idle line can have very little traffic while remaining healthy.
|
||||
3. In [Thold](Plugin-Thold.md), create a plant network notification list
|
||||
and a rule on a measured uplink data source with known units. Choose
|
||||
its trigger from the polling interval and the team's response time.
|
||||
Send the first breach and recovery to a test recipient.
|
||||
4. Use [Service Checker](Plugin-Servcheck.md) for an approved, read-only
|
||||
HTTPS status endpoint at each line. Under **Management > Service
|
||||
Checker > Tests**, select the plant collector, enable certificate
|
||||
checking, and specify the expected success text and failure trigger.
|
||||
Give the two tests distinct names. Verify a fresh healthy result for
|
||||
each from the assigned collector.
|
||||
|
||||
For plugin installation, realms and collector setup, follow
|
||||
[Deploy Cacti across multiple sites](Multi-Site-Deployment.md). Keep the
|
||||
monitoring pilot on the management network. Use a test endpoint for
|
||||
failure exercises so the rehearsal can run while the line is producing.
|
||||
|
||||
## Scope the maintenance window
|
||||
|
||||
Install and enable [Maintenance](Plugin-Maint.md) in `plugins/maint`.
|
||||
Under **Management > Maintenance Schedules**, create an enabled **One
|
||||
Time** schedule for the approved work. Record the start, end and time zone
|
||||
on the shift ticket. Save the schedule before assigning its targets.
|
||||
|
||||
- On **Servcheck**, associate the Line A test. Leave the Line B test
|
||||
outside the schedule.
|
||||
- On **Thold Devices**, associate a device only if its affected thresholds
|
||||
can all share that window. The association is at device scope. For a
|
||||
distribution switch shared with Line B, keep its device monitoring
|
||||
active and arrange the expected individual alerts with the NOC.
|
||||
- Have the second-shift operator open the saved schedule and verify the
|
||||
associations, including the line that must remain covered.
|
||||
|
||||
## Rehearse, then release the change
|
||||
|
||||
| Phase | Action using the test endpoints | Evidence the operator should see |
|
||||
| --- | --- | --- |
|
||||
| Before the window | Confirm two healthy checks and a current graph on each line. | Record the last successful test time and the assigned collector. |
|
||||
| Window active | Make the Line A and Line B test endpoints return an unexpected result. | Servcheck skips the associated Line A test. Line B still runs, reaches its trigger and notifies the test recipient. |
|
||||
| Before expiry | Restore Line B. Keep the Line A test endpoint in its test failure state. | Line B records recovery. The saved window still contains only the intended targets. |
|
||||
| After expiry | Wait for Line A checks to resume and reach their trigger, then restore its test endpoint. | The Line A failure and recovery arrive. The next shift sees new results and finite uplink samples. |
|
||||
|
||||
During the actual change, reconcile the replacement switch's interface
|
||||
names and query indexes with the recorded ports. Close the ticket with the
|
||||
window end, first good sample on each line, destination that received the
|
||||
recovery, and the owner of any remaining gap. If a graph stays empty,
|
||||
follow [stale graph diagnosis](Diagnose-Stale-Graphs.md).
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) 2004-2026 The Cacti Group
|
||||
@@ -149,6 +149,10 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
- [Deploy Cacti across multiple sites](Multi-Site-Deployment.md)
|
||||
- [Telecommunications and Internet service providers](ISP-Deployment.md)
|
||||
- [Hospital IT infrastructure](Hospital-Deployment.md)
|
||||
- [Higher education and campus networks](Campus-Deployment.md)
|
||||
- [Manufacturing plants](Manufacturing-Deployment.md)
|
||||
- [Retail stores and logistics sites](Retail-Logistics-Deployment.md)
|
||||
- [Data centers and colocation providers](Colocation-Deployment.md)
|
||||
|
||||
### Operating Cacti
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# Deploy Cacti for retail stores and logistics sites
|
||||
|
||||
A store reports that checkout is unavailable. The warehouse can still
|
||||
reach its order service. Before paging the WAN carrier or the application
|
||||
team, compare the *same* service from two locations and check the age of
|
||||
each result. Use one store and one distribution center for the pilot.
|
||||
|
||||
## Set up the observations
|
||||
|
||||
1. Follow the [multi-site collector guide](Multi-Site-Deployment.md).
|
||||
Register a store collector and a distribution-center collector where
|
||||
each can use the intended site's DNS, route and certificate trust.
|
||||
Record who owns each path. A test running at headquarters describes
|
||||
headquarters' path even when its name contains a store number.
|
||||
2. Graph the store WAN interface from a reachable management point.
|
||||
Record which end of the circuit supplies the counters. Pick a second
|
||||
store-local target that represents the branch management path. Check
|
||||
the collector's last completed poll as well as the latest central
|
||||
result. Loss of contact can leave the old result visible.
|
||||
3. Install [Service Checker](Plugin-Servcheck.md) in `plugins/servcheck`,
|
||||
enable it and grant **Service Check Admin** to the check owner. Work
|
||||
with application owners to expose read-only synthetic HTTPS endpoints
|
||||
for checkout and order dispatch. Use fixed success text. Keep customer,
|
||||
payment and shipment records out of the test data and notifications.
|
||||
4. Under **Management > Service Checker > Tests**, create the four checks
|
||||
below. Choose **HTTPS**, set the **Poller**, hostname and path, enable
|
||||
certificate checking and set the response search string. Use the same
|
||||
target, DNS name and success condition for both origins in each row.
|
||||
|
||||
| Synthetic target | Store collector test | Distribution-center collector test | Example expected text |
|
||||
| --- | --- | --- | --- |
|
||||
| Checkout availability | Store to checkout | Distribution center to checkout | `checkout-ready` |
|
||||
| Order dispatch availability | Store to dispatch | Distribution center to dispatch | `dispatch-ready` |
|
||||
|
||||
If a site uses a private CA, add the approved CA chain to the test. Set
|
||||
the check frequency, failure trigger and notification list. Distinguish
|
||||
retries within one test from failures on successive scheduled tests.
|
||||
Record four fresh successful results and verify their collector IDs or
|
||||
names before handing the checks to support.
|
||||
|
||||
## Decide who investigates first
|
||||
|
||||
| Fresh evidence at the time of the report | First investigation |
|
||||
| --- | --- |
|
||||
| The store fails both targets. The distribution center passes both. The store-local target remains reachable. | Send the store's WAN, DNS and routing evidence to branch networking. Check for a recent proxy or firewall change along that path. |
|
||||
| Both sites fail checkout and pass dispatch. | Send the paired timestamps and endpoint details to the checkout owner. Check shared DNS or certificate failures as well as the application. |
|
||||
| Both sites pass checkout and fail dispatch. | Route the incident to order-dispatch support. Confirm the warehouse's own application status independently. |
|
||||
| No new store results reach the main server. Distribution-center results remain fresh. | Record the store's last known good time. Check the store collector and WAN using an independent observation. The old green or red result cannot establish the current state. |
|
||||
|
||||
Record the expected polling cadence and time zone on the ticket. A healthy
|
||||
endpoint response confirms only the function it exercises. Have store or
|
||||
warehouse support confirm the reported business symptom through its
|
||||
ordinary incident process.
|
||||
|
||||
## Prove routing and recovery
|
||||
|
||||
Use a test instance of the endpoints and a test recipient. First, return
|
||||
unexpected checkout text from the test service while leaving dispatch
|
||||
healthy. Verify both sites' checkout checks reach the trigger, the dispatch
|
||||
checks stay healthy, and checkout support receives the test incident.
|
||||
Restore the expected text and verify recovery from both sites.
|
||||
|
||||
For the branch-only case, use a store test path that the network owner
|
||||
can isolate during a rehearsal. Keep the other observer working. Record
|
||||
the last store sample before isolation, what the main server could still
|
||||
observe, and the first new store results after restoration. Reconcile the
|
||||
reported failure window with the store WAN graph before closing. See
|
||||
[Test the alert path](Test-Alert-Delivery.md) for delivery checks.
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) 2004-2026 The Cacti Group
|
||||
Reference in new issue
Block a user