VisuMonit (Demo)
Dashboard to display monit XML output beautifully. The dashboard can:
- Supports displaying status from multiple servers.
- Automatically cycle through the different servers. Good for display-only screens.
- Support fetching from servers that need authentication.
- Support exporting and importing settings.
-
Install dependencies:
npm install
-
To run the server:
npm start
-
Validate your code with eslint:
npm run lint
Once running, go to Settings and add a link to the xml monit URL you want to preview. example:
https://visumonit.10ten.com/example/_status?format=xml
In case you don't have access to monit server use the sample file using the url https://visumonit.10ten.com/example/_status?format=xml
.
Also make sure to enable the CORS
header Access-Control-Allow-Origin
on your server, also if you are using authentication make sure you have these headers:
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: access_token
Access-Control-Allow-Methods: GET
Access-Control-Allow-Origin: *
The output will be in the folder build
will be copied into the root directory build/
will be copied into build/scripts/
will be copied into build/images/
will be compiled and copied to the root into build/style.css
Fork this repo and deploy it on Netlify.
You will then need to change these from: Setttings > Build & Deploy > Build Settings >
Build command: npm run build
Publish directory: build/