https://github.com/magehost/mh-munin-nodejs
MageHost's NodeJS scripts for Munin
https://github.com/magehost/mh-munin-nodejs
Last synced: 5 months ago
JSON representation
MageHost's NodeJS scripts for Munin
- Host: GitHub
- URL: https://github.com/magehost/mh-munin-nodejs
- Owner: magehost
- Created: 2018-09-29T17:12:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T13:00:29.000Z (over 1 year ago)
- Last Synced: 2024-12-18T13:44:31.194Z (over 1 year ago)
- Language: JavaScript
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mh-munin-nodejs
MageHost's NodeJS scripts for Munin
## Install
As 'root'
```
apt-get --yes --no-install-recommends install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm1
```
As user:
```
cd $HOME
npm install --no-progress git+ssh://git@github.com:magehost/mh-munin-nodejs.git
$HOME/node_modules/mh-munin-nodejs/loadtimes.js https://magehost.pro
```
## Update
As user:
```
cd $HOME
npm install --no-progress git+ssh://git@github.com:magehost/mh-munin-nodejs.git
$HOME/node_modules/mh-munin-nodejs/loadtimes.js https://magehost.pro
```
## Develop
### As non-root user on Linux:
```
git clone git@github.com:magehost/mh-munin-nodejs.git
cd mh-munin-nodejs
npm install
./loadtimes.js https://magehost.pro
```
### On Mac:
```
brew install node
git clone git@github.com:magehost/mh-munin-nodejs.git
cd mh-munin-nodejs
npm install
node ./loadtimes.js https://magehost.pro
```