Update ARGS from console

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
edbeer
Posts: 1
Joined: Tue Oct 18, 2016 10:24 am

Update ARGS from console

Post 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 ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Update ARGS from console

Post 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.
Locked