Мониторинг загрузки сетевого интерфейса в процентах (win32)
-
Добрый день!
Для решения этой задачи добавил в nxagentd.conf строку:
*WinPerf
Counter = NetUtilization "\Network Interface(Broadcom NetXtreme Gigabit Ethernet)\Current bandwidth":60:A:INT:Average bandwidth utilization for last minuteПри добавлении в DCI не работает, в строке Status пишет Not supported
Только что заметил что этот счетчик perfmon'а всегда показывает максимальную пропускную способность карты, а не утилизацию. Есть ли какие-то альтернативные решения поставленной задачи?
Спасибо! -
Hi!
Problema s kounterom v propushenom dvoetochii. Pravil'no budet
*WinPerf Counter = NetUtilization:"\Network Interface(Broadcom NetXtreme Gigabit Ethernet)\Current bandwidth":60:A:INT:Average bandwidth utilization for last minuteA postavlennuju zadachu mozno reshit' cherez transformation script - delaetsja DCI na bytes/sec cherez interface, i v transformation script delaetsja pereschet v procenti. V tekuschej versii maximal'nuju skorost' interfeisa pridetsja v scripte zadavat' konstantoj, no nachinaja s 0.2.20-RC3 mozno budet ispol'zovat' znachenie DCI.
Primer transformation sripta (dlja 100Mbps interfeisa):
$1 / 1000000Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login