Page 2 of 2
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Thu Aug 15, 2013 11:29 am
by sikainfo
Exactly me to, it seems the check doesn't even reach the nsclient ?????
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Thu Aug 15, 2013 11:53 am
by slansing
There are only 10 minutes worth of logs in the file you sent us? Are there more? In fact, I only see connections coming into NSClient++ from "10.4.100.77" assuming this is your XI server? Are you attempting to manually run the check command from the XI server? If so we should at least see the connection made, if port 12489 is open that is.
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Fri Aug 16, 2013 5:57 am
by sikainfo
Hy again,
I thought I send you just a short file, to simplify ... but now you will find a larger log attached.
Your assumption with the server is correct, and i tried to run the command manually, several times as you see in the history of our chat here.
Let's look at this somewhat pragmatically, in first prio we need a running check for Pagefile usage, in second we can try to find out why all the check_nt ... do not work here.
So let's find us the correct command and syntax for check_nrpe (pagefile usage) and the we have time to find the reason for the check_nt problem.
Please help me with that.
Next week i'm somewhat busy, but still i will do what i can to solve this, and give you replies.
Regards Andy
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Fri Aug 16, 2013 12:32 pm
by slansing
Are you sure you are running this command to the correct windows server's address? The log should "at minimum" show an unexpected command coming in over port 12489 or 5666, this is a constant, even if the check does not return valid data.
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Mon Aug 19, 2013 9:39 am
by sikainfo

I am sure about that

Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Mon Aug 19, 2013 10:55 am
by sreinhardt
Going back to the nmap scan, since that seemed to get dropped right away. From the machine you ran the scan from, it would not work correctly. Filtered means that the port is possibly open, but this machine does not have access or is being rejected from communicating. It should read as Open not filtered. If there are no firewalls or other devices aside from a switch between the nagios machine and the windows device, I would suggest looking at the windows firewall configuration to allow this port properly.
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Mon Sep 02, 2013 4:33 am
by sikainfo
Hi,
I'm back and we made some tests on this server, you are right on a other W2012 Server tho port was open, we switched of the Windows firewall completely but this didn't help either.
So there is an other firewall between (DMZ) but the Networkinggroup says everything is configured to be open.
Never the less i need a solution on this, again is there a pragmatic way to run the check over nrpe so it goes over port 5666, because all checks with nrpe_check do work!
Re: CheckCounter for PageFile Usage on Windows 2012
Posted: Tue Sep 03, 2013 9:41 am
by sreinhardt
You cannot have both services listening on the same port, if that is what you were referring to. However I did find a vbs plugin for npre that would allow you to check performance counters as well.
http://exchange.nagios.org/directory/Pl ... er/details