Page 1 of 1

ncpa variables

Posted: Thu Mar 10, 2022 5:27 pm
by Maxwellb99
Hi Nagios,

I'm using the Consol Labs version of Check_logfiles. I can get the behavior I'm looking for locally. However, when I try to execute it using NCPA I get a 500 error. I've narrowed it down to one Parameter (--nosavethresholdcount). Can you tell me why it won't work for this one Parameter & can we troubleshoot this?

Working Locally
good_local.PNG
Working Remote
good_remote.PNG
Not Working Remote
bad_remote.PNG
I'm hoping this is some kind of single quote/double quote type things but I thought I tried most permutations.

Note for testing: I'm using check_logfiles version 4.0.1.3. to get it to work you may need to add nosavethresholdcount to the options section of the commnand-line parameters. ~Line 5911.

Thanks,
Max R

Re: ncpa variables

Posted: Wed Mar 16, 2022 1:08 pm
by mbellerue
Is there a difference in the output of the plugin when you use --nosavethresholdcount locally? I'm wondering if the output is somehow conflicting with NCPA's response. Like if something isn't escaped properly.