currently we are trying to migrate from Icinga 1 to Icinga 2 but I am facing big problems using NRPE commands combined with NSClient++.
I tried to use NRPE using ITL and I tried to use NRPE plugin itself but always I am getting same error message:
CRITICAL: Could not get free space for: ShowAll MinWarnFree ShowAll MinWarnFree reason: 3: The system cannot find the path specified.
As far as I understand root of problem seems to be single quotes. Copying command to command line results at same error message. Removing single quotes at arg list (âŚâaâ ShowAll MinWarnFree=10% MinCritFree=5%) works fine.
Do you have any idea how to get my problems fixed? What is wrong?
I have to pass arguments to NSClient. It wonât be option to code params into nsclient.ini
In case youâre using the Director, navigate to Commands > External > and search for nrpe. Select it and export the fields nrpe_command and nrpe_arguments, save and store. In your service template or apply rule then select and assign the values once check_command is set to nrpe, same as above.
thanks a lot for your reply.
I already tried to use ITL command but it didnât work either.
To make it more easy I set arglist directly at service template and not via host variable.
I tried to reproduce it again but this time I am getting error message while clicking to âInspectâ:
Service output looks like: CRITICAL: Could not get free space for: [ "ShowAll", "Drive [ "ShowAll", "Drive reason: 123: Die Syntax f�r den Dateinamen, Verzeichnisnamen oder die Datentr�gerbezeichnung ist falsch.