Link to home
Create AccountLog in
Avatar of someITGuy
someITGuy

asked on

Nagios client SW error

I am trying to get NSClient++ to run on a Windows Server 2008 Exchange Server. After editing the nsc.ini file & running NSClient from the command line with the /test switch I get this error:

C:\NSClient++-0.3.8-RC1-Win32>"NSClient++.exe" /test
Launching test mode - client mode
Service seems to be started, this is probably not a good idea...
d NSClient++.cpp(1172) Enabling debug mode...
d NSClient++.cpp(545) Attempting to start NSCLient++ - 0.3.8.45 2010-04-21
l NSClient++.cpp(563) Enabling shared session...
l NSClient++.cpp(565) Starting shared session...
e NSClient++.cpp(571) Session already exists cant create a new one!
d NSClient++.cpp(697) Found 4 sessions
d NSClient++.cpp(699) Found session: 0 state: 4
d NSClient++.cpp(699) Found session: 1 state: 1
d NSClient++.cpp(699) Found session: 2 state: 0
l \nsclient_session.hpp(386) Creating session for: __2__
d NSClient++.cpp(699) Found session: 65536 state: 6
d NSClient++.cpp(963) Loading plugin: CheckDisk...
d NSClient++.cpp(963) Loading plugin: CheckSystem...
d NSClient++.cpp(963) Loading plugin: File logger...
d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters.
d \PDHCollector.cpp(110) Using index to retrive counternames
l \FileLogger.cpp(93) Log path is: C:\NSClient++-0.3.8-RC1-Win32\nsclient.log
d NSClient++.cpp(963) Loading plugin: NSClient server...
d NSClient++.cpp(665) NSCLient++ - 0.3.8.45 2010-04-21 Started!
e \Socket.h(677) bind failed: 10048: Only one usage of each socket address (prot
ocol/network address/port) is normally permitted.
l NSClient++.cpp(449) Using settings from: INI-file
e \Socket.h(708) Socket did not start properly, we will now do nothing...
l NSClient++.cpp(450) Enter command to inject or exit to terminate...
d \PDHCollector.cpp(130) Found countername: CPU:    \Processor(_total)\% Process
or Time
d \PDHCollector.cpp(131) Found countername: UPTIME: \System\System Up Time
d \PDHCollector.cpp(132) Found countername: MCL:    \Memory\Commit Limit
d \PDHCollector.cpp(133) Found countername: MCB:    \Memory\Committed Bytes

ASKER CERTIFIED SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer