Page 1 of 1

running apply config from the command line

Posted: Wed Sep 06, 2017 11:53 am
by benhank
this'll be quick
running this command from the commandline

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
is the same as running apply config from ccm right?

Just double checking

Re: running apply config from the command line

Posted: Wed Sep 06, 2017 12:09 pm
by scottwilkerson
for practical purposes yes. When you run from the UI, it actually scheduled a command in the DB and it is picked up from a cron job and run

Re: running apply config from the command line

Posted: Wed Sep 06, 2017 1:23 pm
by benhank
is there a better way to run Apply config from the cli?
my intention is to add the command to a script that runs after we sync our db's between our pri and sec servers

Re: running apply config from the command line

Posted: Wed Sep 06, 2017 1:38 pm
by scottwilkerson
That would be the best way

Re: running apply config from the command line

Posted: Wed Sep 06, 2017 1:40 pm
by benhank
thanks guys!
you can lock it