other kind of hubinfo script a challence
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

other kind of hubinfo script a challence

Started by [NL]trucker, 26 April, 2004, 09:59:50

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[NL]trucker

hello all is this possiblle?

i wanted a script that checks the hubstats of several hubs and saves the outcome to a file
and this on a timed base.

so basicly this info is what i need

hubstats
online
user count
share count

can this be done by a lua-script or has this to be clientside scripting?

either way can someone help?
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


Skrollster

QuoteOriginally posted by [NL]trucker
so basicly this info is what i need

hubstats
online
user count
share count

can this be done by a lua-script or has this to be clientside scripting?

Hubstats - ???
Online - can be done by client/serverscripting in lua..
user count i would do it the client scripting way
share count same as with user count

[NL]trucker

originally posted by skrollster

Hubstats - ??? 
Online - can be done by client/serverscripting in lua.. 
user count i would do it the client scripting way 
share count same as with user count

take in consideration that this has to be done over several hubs about 80-100

and if possiblle in one sollution
and yes it is pre if this could be done with clientside so that one person can do this and it is not needed for hubowners to ad another script.
 
so i agree with skrollster it is best to be done clientway
is there someone who feels up to this?
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


Skrollster

i didn't understand what you wanted with Hubstats that doesn't say me anything, can mean a lot of diffrent things...

[NL]trucker

lol

i,ll guess something like this is meant

15:06:35] ------------------------------------------------------------
[15:06:35] Current stats:
[15:06:35] ------------------------------------------------------------
[15:06:35] Version: PtokaX DC Hub 0.3.3.0 build 15.25 [debug] built on Dec 15 2003 18:48:35
[15:06:35] Uptime: 4 days, 1 hours, 2 minutes
[15:06:35] Users (Max/Peak/Logged) : 200 / 144 / 62
[15:06:35] CPU usage (60 seconds average): 5.5%
[15:06:35] MEM usage: 1855 kB

but could be wrong will let you know asap.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


[NL]trucker

oke i have the complete request for the script now here it comes

==========
online
user count min/max/logged
share count  
uptime /if not availlablle then in log xxxxx
Slots min/Slots max/Hubs: 2 / 0 / 0
if possiblle redir addy from hub
hubname cq addy

this needs to be logged  and if possiblle compared against prevous log then make a file with what is diffrent from what hub

so normal logwould be something like :

 \hublogs\04-27-2004\- 2am.log

and diffrence:
 hublogs\diffrent\04-27-2004\funnyhub or ip

can it be done will somebody try to do this?
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


_-Jile-_

This would be really nice to have, since I need to monitor about 200 hubs' online status / share totals and where their redirects are pointing.
Dream~Masters Network GM
http://www.dream-masters.co.uk

+=Contributory-Violations=+ Network Owner
http://www.cvhubs.com/forum/

[NL]trucker

Is there someone looking into this request??

please let us know
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


nErBoS

Hi,

If i understand you want a script to check out the Hub Stat of some Hubs, well don?t now if is possible, never played with sockets, but even if is possible that would lag each Hub every times the command is requested.

Best regards, nErBoS
--## nErBoS Spot ##--

[NL]trucker

Nerbos

it should be possiblle if i have read it right with clientside scripting.

furthermore if you would do this with a client instead of a normal lua script the lag wouldnt be that big, if i,m correct.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


nErBoS

Hi,

Ohhh with a client is other bussniss :) yes that is possible i think, but i have never done a script to work with a client, if i am not mistake it works with Lua 5.0. I would mind to check that out but i am out of time to learn new things :( may some one could do this.

Best regards, nErBoS
--## nErBoS Spot ##--

[NL]trucker

Nerbos

thnx for trying to help here m8.

i hope somene else with the knowlede of programming clientside scripting will look into this request.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


plop

QuoteOriginally posted by [NL]trucker
Nerbos

thnx for trying to help here m8.

i hope somene else with the knowlede of programming clientside scripting will look into this request.
the idea is nice but i'm lacking the time 2 make it.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

[NL]trucker

Plop

Np here m8 i,m sure you have better things to do :-))

better luck next time maybey.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


((UKSN))shad_dow

#14
this may sound stupid but here goes , well its the way ive done to mointer a couple of hubs .

1) need webspace ( hint = ptokax got built in webserver)

2) html knowlage

3) if all hus running ptokax , asks hub owners to ativeate ptokax hub webserver.

4 create a webpage with abutton ,that when click will take u to that hubs stats page ,

pretty easy ... , best is if u run a ptokax hub too u all ready got a webserver and stats for ur hub too :)

:) semms everubody forgot ptokax webserver LOL

PPS. before anybody says out i know this a lua forum PMFSL  ;)
creator of Therapy-X? bot

Corayzon

yea...i use it for my boss's web :P

[NL]trucker

hmmm it is an idear but not the sullotion we were hoping for.

as far as i know not all the hubs are running ptotax.

but thnx for the input m8,s
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


SMF spam blocked by CleanTalk