Page 1 of 1

Monitoring Issues

Posted: Thu Feb 21, 2013 12:16 pm
by Chibs
Hi All,

I am having issues with the Monitoring Wizard, I have scanned most posts on the forum but cannot seem to find a similar post to this. Please help. I have installed nagiosxi and running from a VM using VMware player. I am able to use the wizards to 'monitor' some machines within the same subnet as the VM Centos 6.3. I have tried to monitor Windows Desktops, Windows Servers, VMware Hosts and VMs but in each case I do not get unexpected results mostly Hosts Unreacheable (CRITICAL) blah blah. I am able to ping these machines though. Today I run the Website Monitoring Wizard and I found I am geting the same Unreacheable responses. I am able to do an nslookup from the Centos Box as well as access the website I want monitoring from the Server/PC running the VM. I am sure there is something I have missed and would appreciate some help please, I am a newbie.

Thanks in advance, below are some of the message I get:
Domain xxx was not found by the server
Name or service not known
check_icmp: Failed to resolve xxx

I also get this:

CPU Usage Connection refused
Drive C: Disk Connection Refused
MSSQL CRITICAL:Unable to access SQL Serve etc

Any help will be appreciated.

Chibs

Re: Monitoring Issues

Posted: Thu Feb 21, 2013 12:31 pm
by sreinhardt
It sounds like your initial issue of not being able to find things from the centOS machine would be related to DNS issues that your VM does not have a proper server to resolve the names you are using from. Can you send us the output of a command like:

Code: Select all

ipconfig /all 
As for nsclient with connection refused, have you allowed the port on the host machines firewall? Did you alter the nsclient config to allow that IP to access it? Can you run check_nt -H [hostaddress] and get any form of response other than connection refused?

Re: Monitoring Issues

Posted: Fri Feb 22, 2013 11:04 am
by Chibs
Hi there,

DNS isssues now sorted out. Thanks for pointing that out. I had thought I could get away with 'Something for nothing :) ' but no I had to do it the hard way its now working and monitoring web server as it should. Thanks to you. Now comes the bit below:

>>As for nsclient with connection refused, have you allowed the port on the host machines firewall? Did you alter the nsclient config to allow that IP to >>access it? Can you run check_nt -H [hostaddress] and get any form of response other than connection refused?
>>
Is there a document which explains the above steps, then I can spend sometime over the weekend to resolve the above.

Thanks for your help.

Chibs

Re: Monitoring Issues

Posted: Fri Feb 22, 2013 11:18 am
by slansing
Sure take a look at the following run down:

http://assets.nagios.com/downloads/nagi ... Client.pdf

This will be for enabling NRPE with a Windows system using NSClient++. The NSClient++ site also has some guides on more in depth configuration.

http://www.nsclient.org/nscp/

Re: Monitoring Issues

Posted: Fri Feb 22, 2013 11:38 am
by Chibs
Cheers mate, will let know how it goes.

Thanks
Chibs

Re: Monitoring Issues

Posted: Fri Feb 22, 2013 11:44 am
by scottwilkerson
do let us know if you have additional issues.