Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jolson wrote:You will use a 'service check' to define any check that is not the host check. Two host checks cannot be defined on one host. You can read further about service checks and how to define them here: http://nagios.sourceforge.net/docs/3_0/ ... ml#service
Thanks!
i defined it in the host because i though it'll be like the ping one .
You will likely want to set this up as a service check that runs underneath of the host, since a host can only have 1 host check.
TwitsBlog Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Please show the output of the above to us. Thank you!
TwitsBlog Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
part of the problem is that the proxy configuration from 1 version of nsclient++ to the next changed a lot. It looks like you're trying to connect to the indirect host as if it were a Linux box, but it is not correct?
Also, you do not need the check_disk.bat on the nsclient++ proxy since that isn't where you're checking disks. That command only needs to reside on the host which has the disk, but even then it is not necessary because nsclient++ itself (I think you're still monitoring a Windows indirect server right?) has the disk check built in.
Can we get you to upgrade to the current stable, at least on host B? During the 4.1 time the developer was making huge changes to the config syntax and it was poorly documented. The current stuff is better documented.
Before you do the upgrade (if you can) be sure to grab a backup of the entire <c:\program files\nsclient++> directory in case the installer breaks anything that we have to go back to and fix.
If you can't upgrade I'll have to setup a lab with a machine running that specific version to test with. It may even be advisable to speak with the developer about setting up proxying on that version, but I expect he'll just suggest you upgrade too.