Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not use NEW generated Templates (Copy of existing) #66

Open
1 of 2 tasks
infofrs opened this issue Jan 6, 2022 · 1 comment
Open
1 of 2 tasks

Could not use NEW generated Templates (Copy of existing) #66

infofrs opened this issue Jan 6, 2022 · 1 comment

Comments

@infofrs
Copy link

infofrs commented Jan 6, 2022

Agent Mode:

  • Pull Model (openITCOCKPIT Server request data from Agent)
  • Push Model (Agent send data to openITCOCKPIT)

Versions

  • openITCOKPIT Server Version: 4.x.x

Operating system
Debian on ARM

  • Do you use an HTTP proxy?
    No
  • Are you using Auto-TLS, HTTPS or HTTP?
    TLS
  • Used CPU architecture: i386, amd64, arm64 or armhf
    ARM64

Describe the bug
Wanted to use a SECOND Template with different WARN/CRIT in the DISK USAGE Template!
Example:
image

Created a Copy of the Exiting in Agent Templates:
image

BUG: Could not change the template in the SERVICE Config Section!
image

@nook24
Copy link
Member

nook24 commented Jan 11, 2022

Unfortunately at least for now it is not a bug, it's a design decision: https://github.com/it-novum/openITCOCKPIT/blob/61798c902a6e239552c7e9cbab19f6047f773173/src/Template/Services/edit.php#L147-L150

Further investigations have to be done to check if we can remove this limitation in the future. For now, it is not possible to change the service template of an agent service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants