Skip to main content
Released

Possibility to duplicate a locked command

Related products:Infra Monitoring - Configuration
  • May 17, 2023 12:48 PM UTC
  • 15 replies
  • 183 views

Hi,

It should be possible to duplicate a locked command. It would of course create an unlocked (and so editable) command.

15 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • May 17, 2023 1:07 PM UTC
New→Needs Votes

omercier
Centreonian
Forum|alt.badge.img+15
  • Centreonian
  • May 17, 2023 2:12 PM UTC

Hi @Stéphane,

Thank you for this suggestion with which I agree.

Let’s see how many votes it gets but I’m pretty sure you’re not alone with this need.

However, if we satisfy this request, it will certainly be in the as part of the new configuration UI, not in the legacy pages.

 


  • Author
  • May 17, 2023 2:25 PM UTC

I’m sad to hear that. Centreon needs more bug fixes than a new configuration UI. What’s wrong with the current configuration UI?

Also, I hope you won’t make the same error than with the new monitoring UI (Resources Status page), deprecating the current working UI to force the use of a buggy new UI. That was (and still is) a non-sens.
Please provide this new UI as an optional beta feature first.


  • Author
  • Mar 5, 2024 9:13 AM UTC

Still not possible nine month later and it sucks.


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • Mar 5, 2024 2:08 PM UTC

maybe 🤔

  • unlock (in db)
  • duplicate
  • lock back?

🤙😅


  • Author
  • Mar 6, 2024 1:12 PM UTC

maybe 🤔

  • unlock (in db)
  • duplicate
  • lock back?

🤙😅

Hi,
Yeah this is exactly what I’m doing when I need to. Do you think having to manually issue SQL commands can be considered as an acceptable way of doing that? There is a good reason for commands and templates to be locked: to prevent modification. There is absolutely no reason for them to be impossible to duplicate within the application, it’s a non-sense..


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • Mar 6, 2024 2:12 PM UTC

I hear ya, I am not in the loop for the WHY. I guess that is where the:

NEEDS VOTES

 

comes into play. I had upvoted b4. 

 

🤞


  • Author
  • May 22, 2024 10:07 AM UTC

>However, if we satisfy this request, it will certainly be in the as part of the new configuration UI, not in the legacy pages.

The current code is so spaghetti-like that it is not possible to fix? If the problem would be having  the possibility to select a record while having then an action which does nothing, that is, indeed, not perfect, it really isn’t a problem, because this is already what we have if attempting to clone an object twice without renaming the first clone before creating the second one (or clone one, then clone the clone).
If an increment the suffix of clones is not something that could currently be implemented by the dev team I’m speechless.
 


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • May 31, 2024 12:13 PM UTC
Needs Votes→Planned

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • May 31, 2024 12:13 PM UTC
Updated idea statusPlanned→In Backlog

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Sep 20, 2024 12:27 PM UTC
In Backlog→Planned

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Nov 4, 2024 11:37 AM UTC
Planned→Released

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Nov 4, 2024 11:37 AM UTC

Delivered in 24.10. See 

 


  • Author
  • Nov 18, 2024 4:00 PM UTC

Nice. I hope I’d be able to test 24.10 soon. Currently our users still getting themselves used to the new Resource Status page and still ask for the legacy pages for few things.

From the link above:

“Duplicating a Locked Command: Centreon Monitoring Connectors now allow duplication and editing of Centreon-delivered locked commands.”

Hence what’s the specificity of a locked command, compared to a standard command? Also, does this apply to templates too?





 


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Nov 18, 2024 4:42 PM UTC

Locked commands are the ones that Centreon delivers as packs with templates hence why they cannot be edited or that would cause issues at update/upgrade. The new feature allows to duplicate such command so you can work on your own copy.