Page 1 of 1

windows desktop always down

Posted: Tue Sep 27, 2011 10:03 am
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

Re: windows desktop always down

Posted: Tue Sep 27, 2011 10:36 am
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/

Re: windows desktop always down

Posted: Wed Sep 28, 2011 3:20 am
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

Re: windows desktop always down

Posted: Wed Sep 28, 2011 7:56 am
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!

Re: windows desktop always down

Posted: Fri Sep 30, 2011 2:02 pm
by nscott
Hey Maite, glad you got it working. And thanks for sharing the solution here!