nagios and nsclient++ wont work

Assaf Flatto nagios at flatto.net
Fri Dec 2 15:47:11 CET 2011


I am trying to understand what you are saying is not working , as the log snippet does not say anything about tests coming from the Nagios server , if it is about the Tray icon,the  answer is in the log :
"\TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are not on Vista... "

So what are you trying to do ??



----- Original Message -----
From: "Niels Jende" <nielsjende at googlemail.com>
To: nagios-users at lists.sourceforge.net
Sent: Friday, 2 December, 2011 8:10:30 AM
Subject: [Nagios-users] nagios and nsclient++ wont work

Hi there,

I guess that here are alot users who have made it working...Nagios on
a debian system to monitor a Win2003 Standard Server.

For testing purposes both machines are virtualized, the Debian is in a
VirtualBox and the W2K3Std Server is virtualized with VmWare. I'm just
saying that to be as precise as somehow possible.

So, I downloaded the latest stable nsclient++ on the W2K3 from
sourceforge, as it is suggested. I walked through the install process
as stated in the Reference Manual, but the nsclient seems to be
misconfigured, because I get errors once I run nsclient++ /test.
Neither do I get the Systray Icon in the systray. I said nsclient++
Systray install to get it installed and there the client didn't
complain about whatsoever. And the nsclient doesnt complain once I
start him, but as said the /test option shows errors:
#########################################################
C:\Programme\NSClient++>nsclient++ /test
Launching test mode - client mode
d NSClient++.cpp(1216) Enabling debug mode...
d NSClient++.cpp(557) Attempting to start NSCLient++ - 0.3.9.327 2011-08-16
NSCore not loaded...
Archiving crash dumps in: C:\Dokumente und Einstellungen\gms\Lokale Einstellunge
n\Anwendungsdaten\NSClient++\crash dumps
d NSClient++.cpp(1007) Loading plugin: CheckDisk...
d NSClient++.cpp(1007) Loading plugin: Event log Checker....
d NSClient++.cpp(1007) Loading plugin: Helper function...
d NSClient++.cpp(1007) Loading plugin: Check NSCP...
d NSClient++.cpp(1007) Loading plugin: CheckSystem...
d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters.
d NSClient++.cpp(1007) Loading plugin: CheckWMI...
d \PDHCollector.cpp(110) Using index to retrive counternames
d NSClient++.cpp(1007) Loading plugin: File logger...
l \FileLogger.cpp(87) Log path is: C:\Programme\NSClient++\\nsclient.log
d \PDHCollector.cpp(130) Found countername: CPU:    \Prozessor(_total)\Prozessor
zeit (%)
d NSClient++.cpp(1007) Loading plugin: NRPE server (w/ SSL)...
d \PDHCollector.cpp(131) Found countername: UPTIME: \System\Systembetriebszeit
d \NRPEListener.cpp(92) Loading all commands (from NRPE)
d \PDHCollector.cpp(132) Found countername: MCL:    \Speicher\Zusagegrenze
d \NRPEListener.cpp(122) Starting NRPE socket...
d \PDHCollector.cpp(133) Found countername: MCB:    \Speicher\Zugesicherte Bytes

d NSClient++.cpp(1007) Loading plugin: NSCAAgent (w/ encryption)...
d \Socket.h(683) Bound to: 0.0.0.0:5666
d \NSCAThread.cpp(77) Time difference for NSCA server is: 0
d \NSCAThread.cpp(87) Only reporting: ok,warning,critical,unknown
d \NSCAThread.cpp(119) Autodetected hostname: SRV_TEL
d NSClient++.cpp(1007) Loading plugin: NSClient server...
d \NSCAThread.cpp(188) Drifting: 0
d NSClient++.cpp(1007) Loading plugin: SystemTray...
d \Socket.h(683) Bound to: 0.0.0.0:12489
d NSClient++.cpp(709) NSCLient++ - 0.3.9.327 2011-08-16 Started!
d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n
ot on Vista...
l NSClient++.cpp(461) Using settings from: INI-file
l NSClient++.cpp(462) Enter command to inject or exit to terminate...
###############################################################

Has anyone got an idea what I've done wrong?

Thanks
Niels

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list