Introduction
With the release of Open-AudIT 3.2.0 we have introduced a new concept called Rules. Rules are created and run against a device when the device is discovered or an audit result is processed. Rules can be used to set a device attribute based on other attributes.
...
Name | Description |
---|---|
string | a String |
integer | an Integer |
timestamp | A timestamp. If the value is set, that timestamp value will be used. If the value is not set, the current timestamp will be used. |
When the rules run in discovery, any matching rules will appear in the discovery log. See below for an example.
Hit on 1.3.6.1.4.1.9.1.620 eq 1.3.6.1.4.1.9.1.620 for SNMP OID match.(Rule: 135661)
Command: Rule match
Output: {"model":"Cisco 1841","type":"router"}
Create Rules Entries
Rules can be created just like any other item. Menu → Manage → Rules → Create.
...