Page 1 of 1
How to monitor bandwith in a Windows Server
Posted: Wed Sep 30, 2015 4:18 am
by xerez
Hi, What plugin can I use to monitor the bandwith in a Windows Server?
I tried to use this (
https://exchange.nagios.org/directory/P ... ge/details), and works, but finally I saw that it doesn't work with alerts.
Then I tested this (
https://exchange.nagios.org/directory/P ... nt/details), but it has too much options and I am not able to understand very well.
If anybody can recommend me a plugin or help me to understand check_netint.
Thanks.
Re: How to monitor bandwith in a Windows Server
Posted: Wed Sep 30, 2015 3:05 pm
by jdalrymple
check_wmi_plus
Code: Select all
define command{
command_name check_win_network
command_line $USER6$/check_wmi_plus.pl -H $HOSTADDRESS$ -m checknetwork -u $USER8$ -p $USER9$ -a '$ARG1$' $ARG2$ $ARG3$ $ARG4$ $ARG5$
}
Code: Select all
define service {
use windows_extra_service
service_description Network Interface
check_command check_win_network!Intel[R] PRO_1000 MT Network Connection
}
Re: How to monitor bandwith in a Windows Server
Posted: Thu Oct 01, 2015 2:04 am
by xerez
Thank you very much, but do you know another plugin that doesn't work with WMI?
I prefer don't use an account.
Re: How to monitor bandwith in a Windows Server
Posted: Thu Oct 01, 2015 10:11 am
by jdalrymple
xerez wrote:I prefer don't use an account.
Everything uses an account, it just so happens the check_nt program (NSCP) uses the account .\SYSTEM so you don't have to do any privilege assignment.
That said, you can get more rudimentery figures from a simple perfcounter:
Code: Select all
[root@localhost libexec]# ./check_nt -H winhost -p 12489 -s nsclient -v COUNTER -l "\\Network Adapter(Intel[R] Ethernet Connection I217-LM)\Bytes Received/sec"
2155
[root@localhost libexec]# ./check_nt -H winhost -p 12489 -s nsclient -v COUNTER -l "\\Network Adapter(Intel[R] Ethernet Connection I217-LM)\Bytes Sent/sec"
271