Giter VIP home page Giter VIP logo

ptero-status's Introduction

flaringphoenix

 flaringphoenix

ptero-status's People

Contributors

bolverblitz avatar dependabot[bot] avatar flaringphoenix avatar flaxeneel2 avatar slitzo3 avatar tweak4141 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ptero-status's Issues

How to use it?

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"
});

not posting the right stats

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

Unable to user [error]

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)

Wrong indicator of ram

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,
});`

Add uptime placeholder

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.

"Failed to post stats"

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.

Failed to post stats to controller

image

Sometimes when (the Controller server is restarted, or when it just failed to post because of something), the other nodes are failing to post stats. I must restart all pterostatus node servers, then it will work again.

Suggestion

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.

Suggestion

maybe a thing where we can type server names that won't be shown in embed (if API allows that)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.