[Nagiosplug-devel] nsclient INSTANCES options

Anthony Montibello amontibello at gmail.com
Sat Nov 17 15:41:52 CET 2007


There was several discussions over the last year about NOT patching Check_nt
for anything that is part of One Windows Plugin but should be patched for
Particular Universal issues. The Official Plugin Developers Recomended that
any Project that uses a modified Check_nt should maintain it with thier
release.  (I hope I paraphrases properly)

I thought most windows plugins supported Instances? I know its in NC_Net and
I thought it was in NS_Clinet++?

Tony (Author of NC_net)



On Nov 17, 2007 6:11 AM, Alessandro Ren <alessandro.ren at opservices.com.br>
wrote:

>
>     Hello,
>
> the last version of nsclient came with a patched check_nt version that
> would include a option INSTANCES that would  list counters as described
> bellow.
>     I'd like to know if I could submit a patch  to check_nt that as
> opmonagent also support this feature.
>
>     Thanks.
>
> Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>
>
>    - <counter object> is a Windows Perfmon Counter object (eg.
>    Process), if it is two words, it should be enclosed in quotes
>    - The returned results will be a comma-separated list of instances
>    on the selected computer for that object.
>    - The purpose of this is to be run from command line to determine
>    what instances are available for monitoring without having to log onto the
>    Windows server to run Perfmon directly.
>    - It can also be used in scripts that automatically create Nagios
>    service configuration files.
>
> Example
>
> ./check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20071117/a2020564/attachment.html>


More information about the Devel mailing list