{"id":18780644,"url":"https://github.com/simplicitesoftware/nodejs-monitoring","last_synced_at":"2025-07-17T06:36:07.890Z","repository":{"id":47970644,"uuid":"45461143","full_name":"simplicitesoftware/nodejs-monitoring","owner":"simplicitesoftware","description":"Simplicité instances monitoring","archived":false,"fork":false,"pushed_at":"2022-12-10T21:26:18.000Z","size":495,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T10:44:53.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplicitesoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T11:09:22.000Z","updated_at":"2021-03-03T09:54:04.000Z","dependencies_parsed_at":"2023-01-26T10:00:51.047Z","dependency_job_id":null,"html_url":"https://github.com/simplicitesoftware/nodejs-monitoring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fnodejs-monitoring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fnodejs-monitoring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fnodejs-monitoring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fnodejs-monitoring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplicitesoftware","download_url":"https://codeload.github.com/simplicitesoftware/nodejs-monitoring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239697294,"owners_count":19682393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:27:26.619Z","updated_at":"2025-02-19T16:41:48.925Z","avatar_url":"https://github.com/simplicitesoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Simplicit\u0026eacute; Software](https://www.simplicite.io/resources/logos/logo250.png)\n***\n\nSimplicit\u0026eacute;\u0026reg; monitoring\n=================================\n\nIntroduction\n------------\n\nThis is a simple monitoring app for the [Simplicit\u0026eacute;\u0026reg; platform](http://www.simplicitesoftware.com)\nusing the [Simplicit\u0026eacute;\u0026reg; API for node.js\u0026reg;](https://www.npmjs.com/package/simplicite).\n\n**This is still a __BETA__ stage app, do not use in production**\n\nPrerequisites\n-------------\n\nCreate a `monitoring` MySQL database by default with username and password set to `monitoring` (to match defaults in `app.js`):\n\n```sql\ncreate database monitoring;\ngrant all privileges on monitoring.* to monitoring@localhost identified by 'monitoring';\nflush privileges;\n```\n\nThen create the following tables:\n\n```sql\ncreate table monitoring_app (\n\tname varchar(100) not null,\n\turl varchar(255) not null,\n\tactive char(1) default '1'\n);\ncreate table monitoring_data (\n\tname varchar(100) not null,\n\tts timestamp default current_timestamp,\n\tactivesessions int(11) default 0,\n\ttotalusers int(11) default 0,\n\tenabledusers int(11) default 0,\n\theapfree int(11) default 0,\n\theapsize int(11) default 0,\n\theapmaxsize int(11) default 0,\n\ttotalfreesize int(11) default 0,\n\tgrantcache int(11) default 0,\n\tgrantcachemax int(11) default 0,\n\tobjectcache int(11) default 0,\n\tobjectcachemax int(11) default 0,\n\tprocesscache int(11) default 0,\n\tprocesscachemax int(11) default 0,\n\tdiskfree int(11) default 0,\n\tdiskusable int(11) default 0,\n\tdisktotal int(11) default 0\n);\n``` \n\nUsage\n-----\n\nTo run it you need to install (or upgrade) the required packages and their dependencies:\n\n\tnpm install simplicite express jade mysql\n\nThen you can run the application by:\n\n\tnode app.js [\u003chost, defaults to 'localhost'\u003e [\u003cport, defaults to 3000\u003e]]\n\nThe base URL to point to is then: `http://\u003chost\u003e:\u003cport\u003e`\n\nLicense\n-------\n\nCopyright Simplicit\u0026eacute; Software\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fnodejs-monitoring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplicitesoftware%2Fnodejs-monitoring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fnodejs-monitoring/lists"}