Differences
This shows you the differences between two versions of the page.
|
opsview4.2:snmpinterfaces [2012/08/15 14:33] tvoon |
opsview4.2:snmpinterfaces [2013/02/18 18:33] (current) pknight old revision restored — that stuff isn't in 4.2! |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ==== Extended Throughput Data ==== | ==== Extended Throughput Data ==== | ||
| - | From Opsview 3.15, if this option is enabled then the //Interface// service check will also return unicast, multicast and broadcast performance data. This will be in the form of bits per second based on the interface speed. | + | If this option is enabled then the //Interface// service check will also return unicast, multicast and broadcast performance data. This will be in the form of bits per second based on the interface speed. |
| ==== SNMP Message Size ==== | ==== SNMP Message Size ==== | ||
| Line 15: | Line 15: | ||
| Many devices cannot cope with setting the maximum buffer size so this option allows the size to be tailored to each device. The units are [[http://en.wikipedia.org/wiki/KIO|Kio]] which are in multiples of 1024. | Many devices cannot cope with setting the maximum buffer size so this option allows the size to be tailored to each device. The units are [[http://en.wikipedia.org/wiki/KIO|Kio]] which are in multiples of 1024. | ||
| - | |||
| - | Added in 3.11.2. | ||
| ==== SNMP ifDescr Level ==== | ==== SNMP ifDescr Level ==== | ||
| Line 30: | Line 28: | ||
| Further levels may be added in the future. The level should not be changed once monitoring is working to prevent loss of historical data. | Further levels may be added in the future. The level should not be changed once monitoring is working to prevent loss of historical data. | ||
| - | |||
| - | Added in 3.11.2. | ||
| Line 49: | Line 45: | ||
| Throughput is monitored from the multiple service check called //Interface// (this is the historical name). This calculates the rate of throughput between checks and returns the input and output information. If the rate is above the threshold value, then an alert will be raised at the appropriate level. | Throughput is monitored from the multiple service check called //Interface// (this is the historical name). This calculates the rate of throughput between checks and returns the input and output information. If the rate is above the threshold value, then an alert will be raised at the appropriate level. | ||
| - | Performance data will be returned based on the input and output rate in octets per second. If the threshold is specified as a percentage value, the performance data returned will be a percentage value instead. | + | Performance data will be returned based on the input and output rate in octets per second. If the threshold is specified as a percentage value, the performance data returned will be a percentage value in addition to the bits per second value. |
| If there is a host you do not want to monitor throughput, you can remove the service check from the host. | If there is a host you do not want to monitor throughput, you can remove the service check from the host. | ||
| + | |||
| + | **Note**: If you specify a percentage threshold and it is not possible to work out the interface speed (eg VLANs), then the plugin will return a WARNING with the message: | ||
| + | <code> | ||
| + | INTERFACENAME throughput (in/out) X bps/Y bps but has an interface speed of 0, so cannot check a percentage threshold | ||
| + | </code> | ||
| + | |||
| + | You should set the threshold to be based on bits per second for this interface, rather than using a percentage threshold. | ||
| === Errors === | === Errors === | ||
| Line 91: | Line 94: | ||
| Newly created systems have a host template called //SNMP - MIB-II// which you should assign to every host which wants the interface monitoring. If you have upgraded from a version prior to Opsview 3.7.2, there are some [[opsview4.2:upgrading#opsview_371|post installation tasks]] that should be done. | Newly created systems have a host template called //SNMP - MIB-II// which you should assign to every host which wants the interface monitoring. If you have upgraded from a version prior to Opsview 3.7.2, there are some [[opsview4.2:upgrading#opsview_371|post installation tasks]] that should be done. | ||
| - | |||
| - | ===== Query Host works, but I get errors in the Interface monitoring ===== | ||
| - | This is due to a bug in the ''check_snmp_linkstatus'' plugin. There is a part which sets the maximum message size to 65K to allow large amounts of data to be returned. However, some devices cannot cope with this setting. | ||
| - | |||
| - | The patch is available here: https://secure.opsera.com/wsvn/wsvn/opsview/?op=comp&compare%5B%5D=%2Ftrunk@5592&compare%5B%5D=%2Ftrunk@5593 | ||
| - | |||
| - | This will be in Opsview 3.10.2 and 3.11.0 onwards. | ||
| ===== There are duplicate names in the interface SNMP table which has some limitations ===== | ===== There are duplicate names in the interface SNMP table which has some limitations ===== | ||