NCPA Linux update is fragile

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
nehpets
Posts: 7
Joined: Thu May 07, 2020 3:19 pm

NCPA Linux update is fragile

Post by nehpets »

Every time NCPA updates it pauses the apt upgrade process waiting for user input (even when run with apt upgrade -y).

This also leads to some users who don't know any better selecting to use the new config file which wipes out the NCPA community_string and breaks communication with Nagios XI. What can be done to avoid this situation on future NCPA updates?
If we keep our existing file, then we miss any new configurations added. This is a bad update experience for all available choices.

The only custom change in my config file is setting the community_string.

Code: Select all

Setting up ncpa (3.0.0-latest-1) ...

Configuration file '/usr/local/ncpa/etc/ncpa.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** ncpa.cfg (Y/I/N/O/D/Z) [default=N] ?
User avatar
jmichaelson
Posts: 375
Joined: Wed Aug 23, 2023 1:02 pm

Re: NCPA Linux update is fragile

Post by jmichaelson »

Please create an issue for this problem here:

https://github.com/NagiosEnterprises/ncpa
Please let us know if you have any other questions or concerns.

-Jason
Post Reply