Page 1 of 1
Disable Outbound Transfers
Posted: Mon Jun 16, 2014 10:16 pm
by Fred Kroeger
Is there a way that I can Disable outbound Transfers from the command line or via the nagios.cfg file?
I'm trying to atomate a DR recovery process so using the GUI is not an option.
regards... Fred
Re: Disable Outbound Transfers
Posted: Tue Jun 17, 2014 9:51 am
by scottwilkerson
Yes, you would run the following
Code: Select all
echo "update xi_options set value='0' where name='enable_outbound_data_transfer';"|psql nagiosxi nagiosxi
And to enable them
Code: Select all
echo "update xi_options set value='1' where name='enable_outbound_data_transfer';"|psql nagiosxi nagiosxi
Re: Disable Outbound Transfers
Posted: Wed Jun 18, 2014 3:20 am
by Fred Kroeger
Brilliant! Works perfectly.
Thanks Scott.