flaringphoenix / ptero-status Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
How to use this? Where should i add example usage from readme.md ?
Should I create hosting server on pterodactyl in every node and paste there this?
const Status = require('pterostatus');
const Daemon = new Status.Daemon("Node1", 15000, {
ip: "PANEL-IP",
port: "PANEL-PORT"
});
Hello i dont get it how to set it up, could someone help?
my node has 26gb and 3.5TB allocated but in the embedd it says [Memory: 2.79GB/27.30GB] [Disk: 70.00GB/97.87GB]
i dont know if it isnt linked properly but id love some help.
also may want to make instruction more clear for new people
How i create the status with 2 nodes or more?
I only have 1 node and i have added both the snippets to index.js of the bot file
Im still having issues :(
![image](https://user-images.githubusercontent.com/75422863/118348101-4a138c80-b548-11eb-9933-bde20f79e326.png)
Nvm was dumb
So my status is showing wrong ram. [email protected] [email protected]
Its showing 60gigs and the server is using 10gigs anyidea how to fix?
`const Status = require('pterostatus');
const Controller = new Status.Controller(4000, {
token: '',
guildID: '',
channelID: '881999231781580840',
color: '#00b300', // Embed color
pterodactyl: {
panel: "https://dev-panel.domain.eu",
apiKey: 'tk',
},
node: {
message: '{node.name}:\nCPU: {node.cpu.used}\nRAM: {node.memory.used}/{node.memory.total}\nDISK: {node.disk.used}/{node.disk.total}
\n\nInfo:\nOS: {node.os}
\nCPU-M: {node.cpu} / {node.cpu.cores} jader
',
online: '🟢 ONLINE',
offline: '🔴 OFFLINE'
},
embed: {
color: '#00b300',
title: 'STATUS',
// description: '{nodes.list}\nInfo:\nOS: {node.os} \nCPU-M: {node.cpu} {disk.total}\n',
description: '{nodes.list}',
footer: {
text: 'Poslední Update: {lastupdated}',
icon: 'https://i.imgur.com/o4mwYKL.png'
}
},
interval: 15000
});
const Daemon = new Status.Daemon("Panel", 15000, {
ip: "0.0.0.0",
port: "4000",
secure: false,
});`
Read title
add total CPU used stats
Hi, can you add uptime placeholder, to show uptime of the server?
If it's not possible to get server's process uptime, you can use discord bot client't uptime.
Hello, so I recently installed this API and I ran it. I did all of the setup but it keeps saying failed to post stats. I don't know why but please help. Thank you.
Read title
Add {cpu.used} and {cpu.used%}
Could you please add there also total users registred count and total server's count per nodes?
You can use pterodactyl api for this? Also the RAM and storage usage should be fetched from Pterodactyl api.
Hei Error Information Node Bro :(
maybe a thing where we can type server names that won't be shown in embed (if API allows that)
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.