[Nagiosplug-help] Help Using Plugins
Ian Manco
ianm at btx.com
Mon Nov 30 20:05:20 CET 2009
Hi Thomas,
Sorry I forgot to add.....
I tried to put the following into my commands.cfg file:
define command {
command_name <<CheckEventLog>>
command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckEventLog -a
filter=new file="$ARG1$" MaxWarn=$ARG2$ MaxCrit=$ARG3$
filter-generated=\<2h filter-eventID=="$ARG4$" filter-eventType==error
filter=in filter=all
}
<<CheckEventLog>> application!10!20!12345
If this is correct, then I have no idea how to call it from my
Windows.cfg
Also, the nagios service will not start after I insert the above code
into my commands.cfg file.
-----Original Message-----
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca]
Sent: Monday, November 30, 2009 10:57 AM
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] Help Using Plugins
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/11/09 08:29 AM, Ian Manco wrote:
> I know this is very general, but I cannot figure out how to use a
plugin.
>
> Here is all that I have done to get the plugins to work.
>
> I have nsclient++ running on my client with all the defaults properly
> communicating (defaults meaning the nagios monitoring of memory, CPU,
> explorer, disk space and uptime)
NSClient++ has nothing to to with Nagios plugins, it's a daemon that
runs on your Windows servers.
Depending on your configuration you may be able to use the check_nrpe
plugin (distributed with NRPE) or the original NSClient check_nt plugin
(deprecated (only for backwards-compatibility), distributed by the
official plugins distribution) to check NSClient++.
Look on the NSClient++ main page (http://nsclient.org/nscp/) for further
documentation. If you'd like assistance please explain in greater
details what you have tried and what isn't working.
Thanks
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFLE+td6dZ+Kt5BchYRAm9jAJ9y/LsgKeRAd10Zp1IBJWsY1SoNAQCfT+7Y
akgppGvZkdx79UVlOBZ2AsI=
=Cv7h
-----END PGP SIGNATURE-----
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day trial. Simplify your report design, integration and deployment -
and focus on what you do best, core application coding. Discover what's
new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list