Page 1 of 1

Update ARGS from console

Posted: Thu Jan 11, 2018 5:48 am
by edbeer
Hi everyone
I run Nagios 4.0.8 on CentOS

I have a plugin that runs a query on a database to check for the validity of a file.

It has 4 ARGS passed to it "status -a "$ARG1$" "$ARG2$" "$ARG3$" "$ARG4$" -t 140"

At the moment ARG2 is set to 60 and I need to double that for fault analysis purposes.

Should I be able to update that from the console under System/Configuration/Services/ then click the service ?

I thought I would be then able to edit it under command expansion and clicking Go but it doesnt update.

Should I be able to update from the console or have I misunderstood the process ?

Re: Update ARGS from console

Posted: Thu Jan 11, 2018 5:39 pm
by dwhitfield
Can you send a screenshot of the page you are on? Generally, with core, you edit the config files. It's difficult to know where those are because that depends on install method but if you attach your nagios.cfg that will tell us where they are at so we can help you edit them.