2009/5/6 Mirza Dedic <mi...@oppy.com>: > After some more trial and error, I got the command check fixed but there is > still an issue. > > The command I am sending is: > > r...@van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s > xr1p71c -p 12779 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages > Delivered/min" -w 25 -c 120 > > The output is: 0 > > When I check nsclient.log; here is what I have: > > 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: > xr1p71c&8&“MSExchangeISConnection > 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: > “MSExchangeISConnection > 2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: > Counter=“MSExchangeISConnection, nsclient > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: > “MSExchangeISConnection: The counter path string could not be parsed. > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: > “MSExchangeISConnection: The counter path string could not be parsed. > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: > “MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse > the counter path. Check the format and syntax of the > specified path. > (“MSExchangeISConnection|“MSExchangeISConnection) > > Where is "“" coming from??
I think for some reason you think you have an ordinary double-quote there but it's been replaced with some strange character which looks like one but isn't. I'd delete that section in you configuration file and re-type it, maybe using a different editor. If you're using a word-processor of some sort to edit your config files, it might be trying to insert left and right double-quotes rather than the bog-standard ordinary straight-up ones. Other than that, I can't see a problem with what you've put there (although you might need another "\" or two to escape the backslash - I don't have my Nagios system to hand so can't check for sure. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ 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