The Simple Network Management Protocol (SNMP) Interface collector is used to allow the Linux agent to monitor the performance of remote SNMP-enabled devices like routers and switches. The collector can gather data from as many devices as necessary by adding additional configuration sections under the [devices] header; see the example below for details.
- Navigate to the collectors folder.
The default location is /opt/netuitive-agent/conf/collectors.
- Open the SNMPInterfaceCollector.conf file.
This configuration file will only be available in agent versions 0.3.1 or later. Otherwise, you will have to create a configuration file with the same name.
- Change the
enabledsetting to True.
- Update the other settings as necessary, or add additional devices using the defaults as a guide.
- Save the configuration file, and restart the Linux Agent.
Additional Configuration Options
Option Default Description enabled False Enable collecting SNMP metrics. path interface The file path to the SNMP Interface. interval 60 How often the collector collects metrics (in seconds).Note The 60-second default may be taxing on your hardware. You may want to increase the collection interval to 120 seconds. retries 3 Number of times the collector will retry before stopping. timeout 5 Seconds before the SNMP connection will automatically timeout. byte_unit Default numeric output(s). measure_collector_time Measure the collector’s run time in milliseconds. metrics_blacklist Regex list to match metrics to block. Mutually exclusive with metrics_whitelistoption. metrics_whitelist Regex list to match metrics to transmit. Mutually exclusive with metrics_blacklistoption.