---
title: "Host Template: SNMP - MIB-II"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/snmp-mib-ii-opspack/snmp-mib-ii-host-template/index.html"
---## Overview

Monitor your SNMP MIB II device with a variety of checks, including SNMP Agent Status, Interface changes, discards, errors, polling and throughput, as well as Uptime and Restarts.

This Host Template includes the following Service Checks:

| Service&nbsp;Check&nbsp;Name | Description                                                                               | Default&nbsp;Thresholds (Metric:&nbsp;Warning,&nbsp;Critical) |    UOM    |
|:-----------------------------|:------------------------------------------------------------------------------------------|:-------------------------------------------------------------:|:---------:|
| SNMP Agent                   | Status of SNMP agent.                                                                     |                            N/A                                |    N/A    |
| Discards                     | SNMP interface discards per minute.                                                       | discards_in_per_minute: &#8203;N/A,`15`
discards_out_per_minute: &#8203;N/A,`15` | count/min |
| Errors                       | SNMP interface errors per minute.                                                         | errors_in_per_minute: &#8203;N/A,`10`
errors_out_per_minute: &#8203;N/A,`10` | count/min |
| Interface                    | SNMP interface throughput.                                                                | throughput_in_pct: &#8203;N/A,`0:50`
throughput_out_pct: &#8203;N/A,`0:50` |  bps, %   |
| Interface Poller             | SNMP interface polling.                                                                   |                             -                              |     s     |
| Interface Status             | Number of up and down interfaces. Returns WARNING on any interface up/down status change. |                             -                              |   count   |
| Uptime Restart               | Returns CRITICAL on restart. Resets to OK after 30 mins.                                  |                            N/A                             |    N/A    |
| Uptime                       | Uptime of SNMP agent.                                                                     |                             -                              |   days    |

## Usage Instructions

Please review the overall [SNMP - MIB-II Opspack](https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/snmp-mib-ii-opspack/snmp-mib-ii-opspack/index.html) documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

### Add the Host Template

Add the **SNMP - MIB-II** Host Template to your Opsview Monitor host.


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Configure the Host SNMP Tab

This Host Template requires credentials and interfaces to be setup in the **SNMP** tab.

The `sha1` SNMPv3 authentication protocol is supported by this Opspack. The following SHA-2 authentication protocols are supported:

- `sha224`
- `sha256`
- `sha384`
- `sha512`

Additionally, the `aes256` and `aes256c` SNMPv3 privacy protocol options are also supported.


**Note**


For more information, refer to the documentation on [Using Host SNMP Tab](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#snmp-tab).



#### Additional Options

The default SNMP timeout for individual operations is set to 30 seconds. To change the timeout for a service check, simply click on the menu for the service check you want to configure and select **Edit configuration for Service Check**.

![Edit Service Check](https://docscdn.itrsgroup.com/opsview/images/opspacks-snmp-mib-ii-edit_service_check.png)

Select the **Plugin and Arguments** tab, and add the timeout flag to the list of Arguments.

![Add Timeout flag](https://docscdn.itrsgroup.com/opsview/images/opspacks-snmp-mib-ii-add_timeout_flag.png)

Submit changes and your changes will be applied.

If a timeout is specified, the provided value is used if it falls within the range 1.0 to 60.0 seconds. If the value is more than 60.0 seconds, the value is capped at 60.0 seconds.

SNMP - MIB-II is IPv4 and IPv6 compatible. If you want to bind the host to a specific IP version, edit the **Interface Poller** Service Check and add --use_ipv4/-4 flag for IPv4 or --use-ipv6/-6 flag for IPv6 to the list of arguments. If IP version is not specified, the plugin will use the first response of the domain name resolution.

### Apply Changes

Apply Changes and the system will be monitored:

![View Output](https://docscdn.itrsgroup.com/opsview/images/opspacks-snmp-mib-ii-output.png)


