it-novum / openitcockpit-agent-go

Cross-Platform Monitoring Agent for openITCOCKPIT written in Go
https://openitcockpit.io/download_agent/
Apache License 2.0
5 stars 2 forks source link

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

Open infofrs opened 2 years ago

infofrs commented 2 years ago

Agent Mode:

Versions

Operating system Debian on ARM

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 commented 2 years ago

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.