Hi, my name is Gerald and I am from Brazil.
We are using Nagios XI 2012R2.9 to monitor over 1500 hosts and 6500 services.
To monitor Windows Servers itens we are using NSCLIENT 0.4.1.102.
We need to monitor the number of connections at windows machines, but we have receive some wrong reports using this command.
COMMAND: /usr/local/nagios/libexec/check_nt -H 192.168.101.100 -s "" -p 12489 -v COUNTER -l "\\TCPv4\\Connections Established","Connections Established %f" -w 70 -c 90
OUTPUT: Connections Established 0.000000 | 'Connections Established %f'=0.000000%;70.000000;90.000000;
when I use a netstat at the server we receive a diferent value than 0
Do you know how can we get this work?
Thanks
Geraldo
check_nt COUNTER
check_nt COUNTER
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_nt COUNTER
What permissions are your nsclient services running as? Also on my system it is \TCPv4\Connections established not \\, but that might be an nsclient thing specifically.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_nt COUNTER
I´ve try \TCPv4\Connections Established, and it is the same (0).
I am running as a Local Admin, as NSClient install.
I am running as a Local Admin, as NSClient install.
You do not have the required permissions to view the files attached to this post.
Re: check_nt COUNTER
I´ve found the problem, but i find other!
My windows is in Portugueses to work we have to write in this format:
[root@SPAM-VM-NGS01 ~]# /usr/local/nagios/libexec/check_nt -H 192.168.101.100 -s "" -p 12489 -v COUNTER -l "\\TCPv4\\Conexões estabelecidas","Connections Established %.0f" -w 80 -c 90
Connections Established 67 | 'Connections Established %.0f'=67.000000%;80.000000;90.000000;
But know I do not know how to put this in CCM, CCM clean the character õ.
Some one know how to do this?
My windows is in Portugueses to work we have to write in this format:
[root@SPAM-VM-NGS01 ~]# /usr/local/nagios/libexec/check_nt -H 192.168.101.100 -s "" -p 12489 -v COUNTER -l "\\TCPv4\\Conexões estabelecidas","Connections Established %.0f" -w 80 -c 90
Connections Established 67 | 'Connections Established %.0f'=67.000000%;80.000000;90.000000;
But know I do not know how to put this in CCM, CCM clean the character õ.
Some one know how to do this?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_nt COUNTER
I dont believe this will work, you could however do something along the lines of the following:
http://windows.microsoft.com/en-us/wind ... =windows-7
So the user that is accessing the system through NSClient++ is using English.
In addition, I'm removing this post from Plugin Development, as this has nothing to do with the Nagios Plugins Package, you need to be in the XI forum.
http://windows.microsoft.com/en-us/wind ... =windows-7
So the user that is accessing the system through NSClient++ is using English.
In addition, I'm removing this post from Plugin Development, as this has nothing to do with the Nagios Plugins Package, you need to be in the XI forum.