Comments (2)
Hi Dennis,
Thanks for the report. To address your initial question: we've simply not encountered the case of having spaces in the Alertname until now, so we never considered this when generating the internal service name for Icinga2.
Looking at the service name computation and validation and subsequent Icinga2 API calls, I see a whole bunch of issues. I'll try to find some time to clean up the implementation soon.
Best regards,
-- Simon
from signalilo.
One more thing: If the validation failed in the first place, signalilo is still trying to create the service and gets an 500 error from the Icinga2 API, that there is no service name given.
status": "Object could not be created."}]}{"level":"error","msg":"Error in checkOrCreateService for : create /services/signalilo! : 500 Internal Server Error - Object could not be created. Error: Object name must not be empty.
from signalilo.
Related Issues (20)
- Ability to specify zone for service(s)
- Customvars from icinga service templates will be overwritten by the default vars
- Visibility of alerts with same servicename in Nagstamon
- Signalilo Heartbeat Implementation Question HOT 3
- Reporting a vulnerability HOT 1
- [feature] No ability to create Services in existing ServiceHosts HOT 1
- Make display_name more configurable
- Signalilo aborts during garbage collection HOT 8
- garbage collection does not work correctly after removing alerts from prometheus HOT 2
- [misconfiguration?] severity labels do not seem to work correctly HOT 5
- CreateContainerError on openshift 4.5.35 | chdir to cwd /home/nonroot set in config.json failed: permission denied HOT 3
- Documentation about custom variables is incorrect HOT 2
- [Feature Request] Provide pre-built binaries
- Proposal to change the owner of go-icinga2-client HOT 1
- Dependency between hearthbeat and services
- description as Plugin Output? HOT 2
- Is it possible to map some other field to plugin_output? HOT 1
- Dependency Dashboard
- Permission for icinga2 API user HOT 1
- Icinga Service template name not configurable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signalilo.