Windows monitoring error

Assaf Flatto nagios at flatto.net
Fri Jul 1 09:50:24 CEST 2011


nag ios wrote:
>
>
>     what does the unauthorised access means????
>      
>     the ip and password's are same in both the commands.cfg and ns.ini
>     file
>
>     Whats the exact problem can u figure it out????
>
>  
> I have tried to reinstall it also but same problem can you help me??????
>
>      
>     On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto <nagios at flatto.net
>     <mailto:nagios at flatto.net>> wrote:
>
>         And you can't see what the problem from the log ?
>
>
>         nag ios wrote:
>         >
>         >
>         > 2011-06-30 15:45:42:
>         message:modules\FileLogger\FileLogger.cpp:86:
>         > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01
>         > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557:
>         Attempting to
>         > start NSCLient++ - 0.3.9.306 2011-05-01
>         > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607:
>         Enabling shared
>         > session...
>         > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609:
>         Starting shared
>         > session...
>         > 2011-06-30 15:45:57:
>         >
>         message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459:
>         > Created new master session: channel-server=
>         > {Global\NSClientPP_channel_server_write,
>         > Global\NSClientPP_channel_server_signal,
>         > Global\NSClientPP_channel_server_memory}
>         > 2011-06-30 15:45:57:
>         >
>         error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265:
>         > Starting session responder for: server
>         > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to
>         > enumerate sessions:1702: The binding handle is invalid.
>         > 2011-06-30 15:45:57:
>         > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is:
>         > C:\Program Files\NSClient++\\nsclient.log
>         > 2011-06-30 15:45:57:
>         error:modules\CheckSystem\PDHCollector.cpp:215:
>         > Failed to query performance counters: \Processor(_total)\%
>         Processor
>         > Time: PdhGetFormattedCounterValue failed: A counter with a
>         negative
>         > denominator value was detected.   (800007D6)
>         > 2011-06-30 15:46:25:
>         error:modules\CheckSystem\PDHCollector.cpp:215:
>         > Failed to query performance counters: \Processor(_total)\%
>         Processor
>         > Time: PdhGetFormattedCounterValue failed: A counter with a
>         negative
>         > denominator value was detected.   (800007D6)
>         > 2011-06-30 15:46:33:
>         error:modules\CheckSystem\PDHCollector.cpp:215:
>         > Failed to query performance counters: \Processor(_total)\%
>         Processor
>         > Time: PdhGetFormattedCounterValue failed: A counter with a
>         negative
>         > denominator value was detected.   (800007D6)
>         > 2011-06-30 15:47:34:
>         error:modules\CheckSystem\PDHCollector.cpp:215:
>         > Failed to query performance counters: \Processor(_total)\%
>         Processor
>         > Time: PdhGetFormattedCounterValue failed: A counter with a
>         negative
>         > denominator value was detected.   (800007D6)
>         > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running:
>         C:\Program
>         > Files\NSClient++\\nstray.exe
>         > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running:
>         "C:\Program
>         > Files\NSClient++\\nstray.exe" -channel __0__
>         > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started
>         tray in other
>         > user session: 0
>         > 2011-06-30 15:47:41:
>         >
>         message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776:
>         > __0__ says hello!
>         > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running:
>         C:\Program
>         > Files\NSClient++\\nstray.exe
>         > 2011-06-30 16:00:28:
>         >
>         error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532:
>         > Client channel is down (removing it): Failed to get mutex when
>         > attempting to post message: timed out
>         > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running:
>         "C:\Program
>         > Files\NSClient++\\nstray.exe" -channel __0__
>         > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started
>         tray in other
>         > user session: 0
>         > 2011-06-30 16:00:29:
>         >
>         message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776:
>         > __0__ says hello!
>         > 2011-06-30 16:06:08:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:06:26:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:08:16:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:10:25:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:10:43:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:12:34:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:12:52:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:16:08:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:16:26:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:18:16:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:20:25:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:20:43:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:22:34:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:22:52:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:26:08:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:26:26:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         > 2011-06-30 16:28:16:
>         > error:modules\NSClientListener\NSClientListener.cpp:314:
>         Unauthorized
>         > access from: 172.x.x.x
>         >
>

Your problem is that your nagios server is not authorized to talk to the 
nsclient

read the nsclient documentation to see what needs tio be done.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of 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-d2d-c2
_______________________________________________
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