getting started

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

getting started

Post by twingard51 »

trying to add a host to be monitored and all fails except ping. I know the NSC client is running on the Windows server I am trying to monitor. First I just ried adding and monitoring common alerts usually done, cpu, uptime,disk usage, and of course ping. Then I tried adding the host in the nagios interface adding specific services and processes through the dialogue window. Then I went and looked at my nagiosXL in the shell to see if nrpe is running and if it is communicating with nsc+...appparently not. I did get an error message to look on line 16, and it looks like the host cfg I am adding are not getting directory. In the end, I just want the nagiosXI to at least do what our existing 3.3 does. I suppose I could import the files relative to the hosts I want to monitor, but since each host gets some configurations from a group template, operating system template, server template, and finally whatever is specific to that host, I would have to import all the templates and build a similiar structure on the new nagios server. This sounds like too much work when this is supposed to make it easier for larger population of IT staff and non IT staff to just drop in hosts and start getting results. I need help here or I will just build the open system again, which I know will work but not impress anyone
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: getting started

Post by jdalrymple »

Are you using a new installation of nsclient?

If not have you adjusted the allowed hosts to let the new monitoring server connect to the agent?

Did you configure using the wizard, if so which wizard? Windows server?

what is the specific error (service output) in the failing services?
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

Re: getting started

Post by twingard51 »

I am using a stable 64 bit client of NSC+ on the Windows client, but where is the link to download the recommended nagios and I will go on the Windows Server and download it. However several windows servers were added during the quick start and they seemed to work.

What and how do I do this:
If not have you adjusted the allowed hosts to let the new monitoring server connect to the agent?

Did you configure using the wizard, if so which wizard? Windows server?
YES I did try using the configuation wizard Windows Server and I tried manually adding a host without the wizard.
what is the specific error (service output) in the failing services?
The configuarition is applied successfully, but all the checks fail with "could not fetch information from server...except ping which works fine
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

Re: getting started

Post by twingard51 »

Does the OVM come with nrpe installed and automatically communicates with NSC+
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: getting started

Post by abrist »

twingard51 wrote:Does the OVM come with nrpe installed and automatically communicates with NSC+
Yes, the XI appliance (and all XI installs) include both check_nt as well as check_nrpe.
During the nsclient install process on the windows server, you should have been prompted to add your nagios server's ip, did you do this?
Also, is the nsclient service running on the windows box? Try restarting it for good measure.
Windows firewall could also be blocking nsclient.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

Re: getting started

Post by twingard51 »

Okay, I have edited the /etc/xinetd.d/ncas file to allow connections from any host and I reinstalled the nsc++ agent on the windows server to point at the nagiosxi server. Now all the services are critical with message "connect to address 172.22.2.45 and port 12489 connection refused. Also I get this:

Down
Warning threshold must be float or float triplet!

Usage:
check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
But I am making progress after I picked up the hint and RTFM
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

Re: getting started

Post by twingard51 »

Also I wanted to delete the host and start fresh but was warned of dependencies that won't allow me to delete. How do I clear those dependencies.
twingard51
Posts: 18
Joined: Thu Mar 19, 2015 12:20 pm

Re: getting started

Post by twingard51 »

I deleted the windows host, have the NSC ++ client pointing at the new nagios server and am allowing connections there from any nsc client. I ran the configuration wizard and it failed. I am going to work on this from home and would like some input on what my next steps might be.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: getting started

Post by jdalrymple »

NSCA isn't needed to use check_nrpe or check_nt.

Did you enable nsclient and/or check_nt when installing nsclient++ - we could tell if we got a look at your nsc/nsclient.ini

The dependencies are likely just the services. Delete the services in CCM.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: getting started

Post by jdalrymple »

twingard51 wrote:I deleted the windows host, have the NSC ++ client pointing at the new nagios server and am allowing connections there from any nsc client. I ran the configuration wizard and it failed. I am going to work on this from home and would like some input on what my next steps might be.
Take a look at the following 2 pages and get to understanding the difference. NSClient++ is geared towards Active Checks.
Active Checks
Passive Checks
Locked