-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/20/2014 1:23 PM, Mark Haney wrote:
> On 1/20/2014 1:01 PM, Mark Haney wrote:
>> On 1/20/2014 12:56 PM, Marko Vainiokangas wrote:
>>> A comma after the command line string. Since it's an array it 
>>> needs to have that last comma. i.e.
> 
>>> object CheckCommand "check_nrpe" inherits
>>> "plugin-check-command" { command = [ "$plugindir$/check_nrpe",
>>> "-H", "$address$, "-c", "$command$", ],
> 
> This is interesting.  When I setup the configuration (as I posted
> in the OP) and tested it, it passed the syntax check.  But when I
> ran it, the Web GUI shows something odd.
> 
> I'm simply checking the load on a FreeBSD firewall (NRPE is
> installed and running).  In the GUI on the 'Status Information' on
> the Service Status page I get this message:
> 
> execvpe() failed.: No such file or directory
> 
> When I look at the Host configuration, under 'Host check command'
> I get this:
> 
> check_check_nrpe (see attached for more detail)

Thinking that there might be some weird issue with checking a FreeBSD
box via NRPE, I decided to setup another server that is running CentOS
6.5.  The configuration is identical in Icinga, just the IP is
different.  I still get the same error and it still shows HOST COMMAND
CHECK as 'check_check_nrpe'.

I have no typos like that in my config files, so it seems something is
expanding the command wrong.  Ideas?



- -- 
Mark Haney
Network Administrator/IT Support
Practichem
W:919-714-8428
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS3XbNAAoJEDgEuzPE0JQv/tEIAIFHkxXOhSjycoLfarhYdGcW
bG+9mGwHjF4BvwXZKVhJwF17cQ/njChHwQBrz0dDWjTkua23qsAQoTcxYu7I8hIF
cXmqhGNZ9WoIf8fCz+XRDESdACYszu5gcyd9v++pEQxQGlA0Ry+DwpfyPBg5tiEj
CFz/vmcueiSrvQxRBMvHYERCD6BpkpNtZdichUcwcwrc8/fbYmhsfUkaMfRU2AoC
G6JpJCc6mpy33fsJuAJHB4vOFnEfI63fHmKk7i9jbFUYdjhcVA7ck8/rCBBYwmB8
DdacQg1eT3nFRHOBskbImBVmMEIGDPymoJbwiqevmOWNQ+GXYY6bHysl2BwXgbs=
=mzzH
-----END PGP SIGNATURE-----

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to