Update ARGS from console

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Update ARGS from console

Postby edbeer » Thu Jan 11, 2018 5:48 am

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 ?
Posts: 1
Joined: Tue Oct 18, 2016 10:24 am

Re: Update ARGS from console

Postby dwhitfield » Thu Jan 11, 2018 5:39 pm

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.
Former Nagios Staff
Posts: 4569
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 5 guests