Net.Interface.BytesIn({instance})
Unsigned Integer
Average delta per second
return $1 * 8;
Почему такое может быть, как проверить ? На физических интерфейсах eth0 eth1 этого же сервера таких провалов не наблюдается.
Используйте 64бит счетчик
Net.Interface.BytesIn64({instance})
Quote from: 2c2i on February 27, 2017, 04:20:48 PM
Используйте 64бит счетчик
Net.Interface.BytesIn64({instance})
Вот блин, какая глупая ошибка и популярная. Спасибо больше, мне просто казалось что они не были реализованы для Linux agenta....
А скрипт преобразования нужно менять ? на
return int64($1) * 8;
В какой то версии реализовали, а до этого приходилось патчить. Скрипт мы используем дефолтный - return $1 * 8;
Linux перевёл, а вот FreeBSD чет походу не поддерживает, хотя в списках доступных параметрах есть.
nxget -I X.X.X.X | grep Net.Interface
Net.Interface.64BitCounters INT "Is 64bit interface counters supported"
Net.Interface.AdminStatus(*) INT "Administrative status of interface {instance}"
Net.Interface.BytesIn(*) UINT "Number of input bytes on interface {instance}"
Net.Interface.BytesOut(*) UINT "Number of output bytes on interface {instance}"
Net.Interface.InErrors(*) UINT "Number of input errors on interface {instance}"
Net.Interface.OperStatus(*) INT "Operational status of interface {instance}"
Net.Interface.OutErrors(*) UINT "Number of output errors on interface {instance}"
Net.Interface.PacketsIn(*) UINT "Number of input packets on interface {instance}"
Net.Interface.PacketsOut(*) UINT "Number of output packets on interface {instance}"
Net.Interface.BytesIn64(*) UINT64 "Number of input bytes on interface {instance}"
Net.Interface.BytesOut64(*) UINT64 "Number of output bytes on interface {instance}"
Net.Interface.InErrors64(*) UINT64 "Number of input errors on interface {instance}"
Net.Interface.OutErrors64(*) UINT64 "Number of output errors on interface {instance}"
Net.Interface.PacketsIn64(*) UINT64 "Number of input packets on interface {instance}"
Net.Interface.PacketsOut64(*) UINT64 "Number of output packets on interface {instance}"
nxget -ne0 X.X.X.X "Net.Interface.BytesOut64(igb0)"
404: Unknown parameter
Выяснил, по факту 64 битные счётчики будут работать на FreeBSD начиная от 11 ветки.