eladnava / cachet-api Goto Github PK
View Code? Open in Web Editor NEWA Node.js API client for Cachet, the open source status page system.
License: Apache License 2.0
A Node.js API client for Cachet, the open source status page system.
License: Apache License 2.0
I would like to add a function to update a component, Updating a component status by api could be very useful to automate an status page.
Hi.
If boolen "visible: false" when reportIncident this part of code can`t go forward.
// Check for required parameters if (!incident.name || !incident.message || !incident.status || !incident.visible) { return reject(new Error('Please provide the incident name, message, status, and visibility.')); }
I'm using Cachet.io with a wildcard certificade from GoDaddy and when I try to use cachet-api
this error occurs:
Error to check component status: { Error: unable to verify the first certificate
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:584:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }
According to request
documentation:
strictSSL - If true, requires SSL certificates be valid. Note: to use your own certificate authority, you need to specify an agent that was created with that CA as an option.
Is possible to add this option to cachet-api
with value false
?
You should be able to edit an incident status and message, since otherwise the unique way to set your component back to online is manually going to the dashboard.
Hello there,
We're using Cachet internally, and our internal domain has a self signed certificate. When I use the package (trying to publish a metric to Cachet) I get the following error:
Error: self signed certificate in certificate chain
To fix it we need to be able to specify the internally signed cert using the ca option in requests like this:
https://stackoverflow.com/questions/22258093/node-js-using-https-request-with-an-internal-ca
Could this option be added to provide a ca cert to the cachet-api package?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.