Re: [Nagios-users] Windows monitoring error

2011-07-02 Thread Matthew Jurgens
The easiest way is to forget about NSClient++ and simplify your 
monitoring by using


http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details 



Unless there is some check that only NSClient++ can do

On 2/07/2011 1:17 AM, nag ios wrote:
Default one is 12489 right.? i haven't tried with 12849 will 
try and update the status ok.Version: 10.0.1388 / Virus Database: 
1516/3736 - Release Date: 06/30/11 


--
Smartmon System Monitoring http://www.smartmon.com.au
www.smartmon.com.au http://www.smartmon.com.au
--
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@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

Re: [Nagios-users] Windows monitoring error

2011-07-01 Thread nag ios
 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 nag...@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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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: 

Re: [Nagios-users] Windows monitoring error

2011-07-01 Thread Assaf Flatto
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 nag...@flatto.net
 mailto:nag...@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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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
  

Re: [Nagios-users] Windows monitoring error

2011-07-01 Thread nag ios
i understood that but the server ip which was given during nsclient was same
as my nagios server..



On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto nag...@flatto.net wrote:

 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 nag...@flatto.net
   mailto:nag...@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.   (87D6)
   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.   (87D6)
   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.   (87D6)
   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.   (87D6)
   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:
   

Re: [Nagios-users] Windows monitoring error

2011-07-01 Thread Edwin Zoeller
Did you try using port 12849 to connect to your windows client?
 

From: nag ios [mailto:nagiost...@gmail.com] 
Sent: Friday, July 01, 2011 03:41 AM
To: Nagios Users List nagios-users@lists.sourceforge.net 
Subject: Re: [Nagios-users] Windows monitoring error 
 

i understood that but the server ip which was given during nsclient was same as 
my nagios server..


 
On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto nag...@flatto.net wrote:


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 nag...@flatto.net

 mailto:nag...@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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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

Re: [Nagios-users] Windows monitoring error

2011-07-01 Thread nag ios
Default one is 12489 right.? i haven't tried with 12849 will try and
update the status ok.

On Fri, Jul 1, 2011 at 4:08 PM, Edwin Zoeller edwin.zoel...@ama-assn.orgwrote:

 Did you try using port 12849 to connect to your windows client?

  *From*: nag ios [mailto:nagiost...@gmail.com]
 *Sent*: Friday, July 01, 2011 03:41 AM
 *To*: Nagios Users List nagios-users@lists.sourceforge.net
 *Subject*: Re: [Nagios-users] Windows monitoring error

 i understood that but the server ip which was given during nsclient was
 same as my nagios server..



 On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto nag...@flatto.net wrote:

 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 nag...@flatto.net
mailto:nag...@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.   (87D6)
   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.   (87D6)
   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.   (87D6)
   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.   (87D6)
   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

[Nagios-users] Windows monitoring error

2011-06-30 Thread nag ios
Hi ,
   I have a problem while monitoring the windows machine,i'm getting the
error as couldnot fetch information from server. I have reconfigured the
whole thing on the windows client and host linux machine but i'm getting
same error.

Please help me.
--
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@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

Re: [Nagios-users] Windows monitoring error

2011-06-30 Thread Assaf Flatto
IF you provide details about your problem (config samples, error logs 
snippets )  then maybe people will respond and try to help.


nag ios wrote:
 Hi ,
I have a problem while monitoring the windows machine,i'm 
 getting the error as couldnot fetch information from server. I 
 have reconfigured the whole thing on the windows client and host linux 
 machine but i'm getting same error.
  
 Please help me.
 


--
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@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


Re: [Nagios-users] Windows monitoring error

2011-06-30 Thread nag ios
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.   (87D6)
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.   (87D6)
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.   (87D6)
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.   (87D6)
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

This is 

Re: [Nagios-users] Windows monitoring error

2011-06-30 Thread Assaf Flatto
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.   (87D6)
 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.   (87D6)
 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.   (87D6)
 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.   (87D6)
 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: 

Re: [Nagios-users] Windows monitoring error

2011-06-30 Thread nag ios
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

On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto nag...@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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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.   (87D6)
  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: