[Nagiosplug-help] event handler not running
Stewart St. Dennis
sstdennis at zaxia.com
Fri Feb 4 16:52:52 CET 2011
When passing parameters via nrpe, you need to remember that the default config is to limit parameters passing (best security protection). Often, a compromise can be made by hardwiring the parameters into the target machine's nrpe definition of the command.
Stewart
-----Original Message-----
From: "C. Bensend" <benny at bennyvision.com>
Date: Fri, 4 Feb 2011 09:36:22
To: <nagiosplug-help at lists.sourceforge.net>
Reply-To: Nagios Plugin Help List <nagiosplug-help at lists.sourceforge.net>
Subject: Re: [Nagiosplug-help] event handler not running
> Benny, I want to thank you for getting back to me so quickly. I kept
> investigating after I sent the email, and I found the stupid little switch
> that was causing it to not work. I looked at the messages log on the
> remote,
> saw the could not complete ssl handshake error, and went back to my
> command
> definition. Sure enough, the -n was in it trying to bypass ssl.... took
> that
> out and bam, executes the script. It doesn’t appear to be carrying over
> the
> variables like it should be but I am sure that is a quick fix or something
> I
> can get. Thank you again for your quick help with this.
Glad you've made it farther! :)
As for arguments, make sure that the remote client will accept
them, and make sure you're sending them via '-a' from the Nagios
server. If you can't figure it out, send another email with the
command definition from the Nagios server that's being executed,
as well as the command definition on the NRPE side.
Benny
--
"Hairy ape nads." -- Colleen, playing Neverwinter Nights
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
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