Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplicitesoftware/nodejs-monitoring
Simplicité instances monitoring
https://github.com/simplicitesoftware/nodejs-monitoring
Last synced: about 14 hours ago
JSON representation
Simplicité instances monitoring
- Host: GitHub
- URL: https://github.com/simplicitesoftware/nodejs-monitoring
- Owner: simplicitesoftware
- License: apache-2.0
- Created: 2015-11-03T11:09:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T21:26:18.000Z (almost 2 years ago)
- Last Synced: 2024-04-08T20:59:23.874Z (7 months ago)
- Language: JavaScript
- Size: 483 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Simplicité Software](https://www.simplicite.io/resources/logos/logo250.png)
***Simplicité® monitoring
=================================Introduction
------------This is a simple monitoring app for the [Simplicité® platform](http://www.simplicitesoftware.com)
using the [Simplicité® API for node.js®](https://www.npmjs.com/package/simplicite).**This is still a __BETA__ stage app, do not use in production**
Prerequisites
-------------Create a `monitoring` MySQL database by default with username and password set to `monitoring` (to match defaults in `app.js`):
```sql
create database monitoring;
grant all privileges on monitoring.* to monitoring@localhost identified by 'monitoring';
flush privileges;
```Then create the following tables:
```sql
create table monitoring_app (
name varchar(100) not null,
url varchar(255) not null,
active char(1) default '1'
);
create table monitoring_data (
name varchar(100) not null,
ts timestamp default current_timestamp,
activesessions int(11) default 0,
totalusers int(11) default 0,
enabledusers int(11) default 0,
heapfree int(11) default 0,
heapsize int(11) default 0,
heapmaxsize int(11) default 0,
totalfreesize int(11) default 0,
grantcache int(11) default 0,
grantcachemax int(11) default 0,
objectcache int(11) default 0,
objectcachemax int(11) default 0,
processcache int(11) default 0,
processcachemax int(11) default 0,
diskfree int(11) default 0,
diskusable int(11) default 0,
disktotal int(11) default 0
);
```Usage
-----To run it you need to install (or upgrade) the required packages and their dependencies:
npm install simplicite express jade mysql
Then you can run the application by:
node app.js [ []]
The base URL to point to is then: `http://:`
License
-------Copyright Simplicité Software
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at[](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.