Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.91 KB

Graph-Rules.md

File metadata and controls

53 lines (37 loc) · 1.91 KB

Automation Graph Rules

This section will describe Graph Rules in Cacti.

Graph rules are used by the Cacti automation process after a device has been identified and a template has been applied the next step is graph creation. Graph rules are processed from top to bottom.

The graph rule matches the graph template by looking at the data fields chosen that are available in the data query for example below we are creating graphs for interface traffic the data query has several fields available to match on.

You can see how these rules would take place by clicking the show matching objects link.

Automation Graph Rules

For example, filter interface query rows using ifOperStatus to select operationally up interfaces. Check the actual cached value and use Show Matching Objects to verify the rule. If both administrative and operational state must be up, also filter ifAdminStatus; ifOperStatus alone does not test both states.

A device selection Criteria is also important Cacti needs a way to find which device it needs to match. In the below example we are matching any device that has an interface that is up and is not a Windows server.

You can preview which devices this will apply to by clicking the Show matching devices link.

Automation Graph Rules Edit

Automation Graph Rules Device Criteria

Automation Graph Rules Graph Criteria

This output shows us which devices match our devices rules this can help with tweaking rules as needed.

Automation Graph Rules Matching Devices

This output shows which interfaces,drives,sensors etc will be graphed based on the graph rules.

Automation Graph Rules Matching Objects


Copyright (c) 2004-2026 The Cacti Group