windows desktop always down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Maite
Posts: 5
Joined: Tue Sep 27, 2011 8:48 am

windows desktop always down

Post by Maite »

Hi!

I'm new new in Nagios...
I have installed the VM Nagios XI and I´m trying to monitor my laptop (windows xp). My laptop is always down for Nagios, but this is not true. And the rest of the services monitored (CPU, memory,...) I can not find the alarms anywhere...
I can not either see the hosts in the view "Host Detail", it is empty.

Thanks in advanced!
Maite
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: windows desktop always down

Post by nscott »

Make sure that NSClient++ is setup properly and that your Nagios server is an allowed host and that the firewall has exceptions added.

Here is a good tutorial on how to setup NSClient++:

http://www.kernelhardware.org/nagios-ns ... ws-server/
Nicholas Scott
Former Nagios employee
Maite
Posts: 5
Joined: Tue Sep 27, 2011 8:48 am

Re: windows desktop always down

Post by Maite »

Hi Nicholas,

Thanks for the tutorial. There is a step that I can not perform on the nagios server:

I edit the file "/usr/local/nagios/etc/nagios.cfg", but I can not uncomment the line "cfg_file /usr/local/nagios/etc/objects/windows.cfg", because this line does not exist. In fact, "objects" directory does not exist in my Nagios server (it is trial virtual machine).


Thanks,
Maite
Maite
Posts: 5
Joined: Tue Sep 27, 2011 8:48 am

Re: windows desktop always down

Post by Maite »

Hello again,

I've solved the problem:
1. Name resolution and IP was wrong, so I put my laptop in the / etc / hosts.
2. I changed the command "check_ping" by "check_host_alive".

Thanks!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: windows desktop always down

Post by nscott »

Hey Maite, glad you got it working. And thanks for sharing the solution here!
Nicholas Scott
Former Nagios employee
Locked