Using the dynamic group rule editor
- Last Updated: December 11, 2024
- 3 minute read
- WhatsUp Gold
- Version 2024
Use the Dynamic Group Rule Editor dialog to create or edit rules for use in the SQL filter for the new group.
Select desired rule components from the list and enter a variable in the empty box.
Below is a list of rule types available for use with the Network Performance Monitor Dynamic Group Builder.
String rules
- Active monitor. Checks the Active Monitors configured for a device found at Device Properties > Active Monitors.
- Device attribute. Checks for a device Attribute name that matches the criteria entered in Attribute value. Device attributes are configured on the Device Properties > Attributes dialog.
- Display name. Checks the Display name box found at Device Properties > General.
- IP address. Checks the IP address box found at Device Properties > General. Also checks any additional network interface in the Additional Network Interfaces dialog.
- Host name. Checks the Host name box found at Device Properties > General. Also checks any additional network interface in the Additional Network Interfaces dialog.
- Device type. Checks the Device type box found at Device Properties > General.
- SNMP OID. Checks the SNMP OID box found at Device Properties > Credentials.
You can choose from six search criteria for string rule types:
- contains
- does not contain
- is
- is not
- starts with
- ends with
After choosing a search criteria, enter a variable to complete the string rule. An example string rule could read, "Match the following rule where: Device type contains Windows," where "Device type" is the rule type, "contains" is the search criteria, and "Windows" is the variable. This string rule would search for all device types on the network that contain the word "Windows."
"Yes/No" rules
- Has an SNMP credential. Checks the SNMP v1/v2/v3 credentials box found at Device Properties > Credentials to see if devices have SNMP credentials.
- Has a Windows credential. Checks the Windows credentials box found at Device Properties > Credentials to see if devices have Windows credentials.Note: Does not apply to Passive Monitors that use credentials.
You have two search criteria to choose from for Yes/No rules:
- Yes
- No
You do not have to enter a variable for Yes/No rules, because the variable exists in the rule type itself. For example, if you're searching for devices that do not have SNMP credentials, the variable is the SNMP credential. The criteria is whether a device has an SNMP credential (No). An example yes/no rule could read, "Match the following rule where: Has a Windows credential, Yes," where "Has a Windows credential" is the variable and "Yes" is the search criteria. This rule would search for devices that have Windows credentials.
"IP address is within" rules
You can create two types of IP addresses within rules:
- the range
- a subnet
The range. To create a Dynamic Group consisting of devices within a certain range of IP addresses, you can create a rule that searches for devices with addresses that fall between two IP addresses, a lower number address, and a higher number address. For example, you could create a rule that reads, "Match the following rule where: IP address is within the range 192.160.1.1. and 192.165.25.255." The rule would search for all devices with IP addresses that fall between the two addresses and create a new Dynamic Group with these devices.
A subnet. To create a Dynamic Group consisting of devices within a certain subnet, you can create a rule that searches for devices on a specific IP address' subnet. You will be required to know an IP address and a subnet mask. You can either the subnet mask or the prefix length of that subnet in the Mask box.
Using the A subnet option requires that you have some knowledge of CIDR notation.