File Configs for System Settings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
ksafa
Posts: 91
Joined: Wed Jan 15, 2014 3:05 pm

File Configs for System Settings

Post by ksafa »

Hi All,
Anybody know if things like program URL under system settings, email settings are located in any config files? Trying to see if file can be modified rather than having to go through the GUI?

Thanks
Khaled
DoubleDoubleA
Posts: 272
Joined: Thu Feb 09, 2017 5:07 pm

Re: File Configs for System Settings

Post by DoubleDoubleA »

Hi @ksafa,

The settings you mention we store in the database, and even if they were in .cfg files, XI re-writes those prior to every Core restart, so modifying config files directly doesn't do you any good.

The GUI is, in effect, a database query generator based on page inputs.

The XI REST API exposes a fair number of endpoints where you can make modifications without the GUI, though I don't see the use cases you mention as available endpoints there.

Do you simply, like many, prefer the command line? Or perhaps have another use case driving your question?

Thanks,

Aaron
ksafa
Posts: 91
Joined: Wed Jan 15, 2014 3:05 pm

Re: File Configs for System Settings

Post by ksafa »

We are trying to automate restore from one server to another. Only manual task required are these updates so was trying to see if there was an option that could be done via script.

Thanks
Khaled
Post Reply