> For the complete documentation index, see [llms.txt](https://docs.elastiflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elastiflow.com/snmpcoll/configuration/snmp-definition-files/def_object_groups.md).

# Object Groups

Object Groups organize [Objects](https://docs.elastiflow.com/snmpcoll/configuration/snmp-definition-files/def_objects.md) together which may be implemented by a managed entity. For example, a network interface may contain attributes from the standard interfaces tables, ethernet tables and vendor-specific extension tables. These objects can be organized into a common object group so that they can be easily applied to applicable [Device Groups](https://docs.elastiflow.com/snmpcoll/configuration/snmp-definition-files/def_device_groups.md).

The location of the object group definition files is specified by `EF_INPUT_SNMP_OBJECT_GROUP_DEFINITIONS_DIRECTORY_PATH` in the collectors configuration options. The default location is `/etc/elastiflow/snmp/object_groups`.

### Configuration Example

```yaml
netif:
  objects:
    - IF-MIB::system
    - IF-MIB::ifEntry
    - IF-MIB::ifXEntry
    - EtherLike-MIB::dot3StatsEntry
    - EtherLike-MIB::dot3ControlEntry
    - EtherLike-MIB::dot3PauseEntry
    - EtherLike-MIB::dot3HCStatsEntry
```

#### objects

Defines a list of [Objects](https://docs.elastiflow.com/snmpcoll/configuration/snmp-definition-files/def_objects.md) which are included in the Object Group.
