Disable Outbound Transfers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Disable Outbound Transfers

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Disable Outbound Transfers

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Disable Outbound Transfers

Post by Fred Kroeger »

Brilliant! Works perfectly.
Thanks Scott.
Locked