<center> ![image](https://images.ecency.com/DQmekr12aLqvbajBKb9exmYsFNrAvyb7asEu74igsU2WrN6/image.png) </center> <div class="justify"> In this post I announce the release of the first version of the (OPEN SOURCE) HIVE WITNESS MONITOR. <br><br> It was initially thought as a control panel but now it is just a page to monitor the behavior of your server and the status of your witness.<br><br> Thank you all for the support I received in the [previous post](https://ecency.com/hive-139531/@zuun.net/hive-witness-monitor-development), I realized that there are many people interested.. ![image](https://images.ecency.com/DQmcDtKghLTPBCMAcu9NacDyiicQiVN38HZXZXkib1LKxzS/image.png) <center> DEMO HERE: https://zuun.net/monitor/ </center> **--== INSTALLATION ==--** You must have a web server installed and it must support PHP. if you don't have a web server in your witness you can install just PHP Ubuntu `sudo apt-get install php` Fedora `dnf install php` 1 Download the file: (81.8 Kb) `wget https://zuun.net/monitor/monitor.tar.gz` 2 Create a Directory and Unzip there. `mkdir monitor & tar -vxzf monitor.tar.gz -C monitor & cd monitor` 3 Edit the `data.json` file and change the witness name to yours. `nano data.json` ![image](https://images.ecency.com/DQmaEg7RxBkhxiNGonugRWn5VsNzHVNJTsB7WTnzn9ayWH3/image.png) **IMPORTANT** "Server" it should point to your local server Please check your config.ini file where hived is and see if you have this line `webserver-http-endpoint = 127.0.0.1:8091` and write `http://127.0.0.1:8091` in the server directive of data.json on the other hand, if your node is public or you want it to be public you can put it like this in the image. `0.0.0.0:8091` ![image](https://images.ecency.com/DQmYxA9JaBYSEAnnTGpUghfBzwUuSC2QHRsXju47NqTKGxX/image.png) And in the data.json file you write it like this `http://0.0.0.0:8091` in the server directive of data.json .. For the purpose of this example I use, https://api.deathwing.me/ which is the best public node that there is at the moment... but the ideal is that you use your own node because we are going to make many http requests and we don't want to saturate the bandwidth of any witness.. With this config your server is LIVE and working..! ___ If you don't have a web server and you just installed the PHP you can start the web server that comes internal in PHP, the only disadvantage is that it is not multithreaded so it attends several simultaneous requests but it can get slow. locate yourself in the directory called monitor and run this: `php -S 0.0.0.0:9000 -t .` This will start the PHP web server on port 9000 .. and you can access it simply like this `http://IPADDRESS:9000/` ___ In the project you will find a file called monitor.php which has execution permissions, if it doesn't have execution permissions grant them like this. `chmod 777 monitor.php` then you can run it like this `./monitor.php` or better to send it to the background you can do this: `nohup ./monitor.php 2> /dev/null > /dev/null &` **./monitor.php** The purpose of this program is to create a file in which the last 10 blocks you have produced are stored, saving the date and time, the block number and the frequency in which you are generating the blocks, it is intended that it be in the background so that you close your browser, the information continues to be captured and it will help you to know how often you generate the blocks and how often the blocks were assigned to you.. the use of this file is completely optional. ___ ![image](https://images.ecency.com/DQmNkLLbuaGAKSGzHo21HYaWxsPZjAPfx1r5tHepbkXvphZ/image.png) **500 HIGHEST VOTES** Show accounts and HP ![image](https://images.ecency.com/DQmZtbU8tPHgdsFnBYeiF4E3cptcvUxEWyVYwURn8YuBWd9/image.png) To show the votes, i get data from other project of the **arcange witness** https://hive.arcange.eu/witnesses/ ___ **System Commands:** There are a few commands I've had to use to make it easier to display server resources like these: `df -h` To see how much space is free on the hard drives. `free -m` to see the free space in memory `ps -x | grep hived` to check if the ./hived process is running. ___ This code could have been made as an executable and not deliver the source code and it could be more optimal, but I have decided to use PHP so that anyone can study the code and there is transparency. ***DELIVERED AS IS*** ___ Finally at the bottom of the web page you will see from time to time a subliminal message reminding you to vote for me as witness, since it is the only support that I request, keep in mind that I have dedicated 1 week and a half of work day and night, to finish this and there are many lines of code, a lot of late night and effort in the middle of all this.. from Colombia with Love.. 🇨🇴 </div> <center> <hr> <a href="https://hivesigner.com/sign/account-witness-vote?witness=zuun.net&approve=1"><h1>Vote for me as Hive Witness</h1></a> <hr> </center>
author | zuun.net |
---|---|
permlink | hive-witness-monitor-1-0 |
category | hive-139531 |
json_metadata | "{"links":["https://ecency.com/hive-139531/@zuun.net/hive-witness-monitor-development","https://zuun.net/monitor/","https://zuun.net/monitor/monitor.tar.gz","http://127.0.0.1:8091","http://0.0.0.0:8091","https://api.deathwing.me/","http://IPADDRESS:9000/","https://hive.arcange.eu/witnesses/","https://hivesigner.com/sign/account-witness-vote?witness=zuun.net&approve=1"],"image":["https://images.ecency.com/DQmekr12aLqvbajBKb9exmYsFNrAvyb7asEu74igsU2WrN6/image.png","https://images.ecency.com/DQmcDtKghLTPBCMAcu9NacDyiicQiVN38HZXZXkib1LKxzS/image.png","https://images.ecency.com/DQmaEg7RxBkhxiNGonugRWn5VsNzHVNJTsB7WTnzn9ayWH3/image.png","https://images.ecency.com/DQmYxA9JaBYSEAnnTGpUghfBzwUuSC2QHRsXju47NqTKGxX/image.png","https://images.ecency.com/DQmNkLLbuaGAKSGzHo21HYaWxsPZjAPfx1r5tHepbkXvphZ/image.png","https://images.ecency.com/DQmZtbU8tPHgdsFnBYeiF4E3cptcvUxEWyVYwURn8YuBWd9/image.png"],"thumbnails":["https://images.ecency.com/DQmekr12aLqvbajBKb9exmYsFNrAvyb7asEu74igsU2WrN6/image.png","https://images.ecency.com/DQmcDtKghLTPBCMAcu9NacDyiicQiVN38HZXZXkib1LKxzS/image.png","https://images.ecency.com/DQmaEg7RxBkhxiNGonugRWn5VsNzHVNJTsB7WTnzn9ayWH3/image.png","https://images.ecency.com/DQmYxA9JaBYSEAnnTGpUghfBzwUuSC2QHRsXju47NqTKGxX/image.png","https://images.ecency.com/DQmNkLLbuaGAKSGzHo21HYaWxsPZjAPfx1r5tHepbkXvphZ/image.png","https://images.ecency.com/DQmZtbU8tPHgdsFnBYeiF4E3cptcvUxEWyVYwURn8YuBWd9/image.png"],"tags":["hive-139531","witness","hive","hiveio"],"description":"In this post I announce the release of the first version of the (OPEN SOURCE) HIVE WITNESS MONITOR.","app":"ecency/3.0.23-vision","format":"markdown+html"}" |
created | 2022-06-28 23:34:36 |
last_update | 2022-06-28 23:34:36 |
depth | 0 |
children | 2 |
last_payout | 2022-07-05 23:34:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 6.372 HBD |
curator_payout_value | 6.354 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,987 |
author_reputation | 7,544,051,248,473 |
root_title | "HIVE WITNESS MONITOR - 1.0" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,411,154 |
net_rshares | 21,712,709,777,296 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
blocktrades | 0 | 2,402,890,598,844 | 1.25% | ||
alpha | 0 | 2,823,134,243,278 | 1.25% | ||
roelandp | 0 | 11,320,390,419 | 0.31% | ||
fiona777 | 0 | 1,248,523,934 | 100% | ||
frankbacon | 0 | 13,489,891,491 | 100% | ||
netaterra | 0 | 1,445,593,985,490 | 62.5% | ||
jacobtothe | 0 | 487,581,148,025 | 50% | ||
evildeathcore | 0 | 11,735,157,155 | 100% | ||
borislavzlatanov | 0 | 8,562,790,503 | 100% | ||
ocisly | 0 | 11,382,973,506 | 100% | ||
imperfect-one | 0 | 15,523,755,188 | 100% | ||
xplosive | 0 | 13,813,957,433 | 32% | ||
aditor | 0 | 5,517,828,893 | 100% | ||
macchiata | 0 | 2,480,901,436 | 0.62% | ||
duekie | 0 | 140,638,625 | 100% | ||
enrique89 | 0 | 17,965,665,795 | 31.25% | ||
sorin.cristescu | 0 | 1,202,038,806,835 | 52% | ||
fatman | 0 | 7,969,642,515 | 2% | ||
revisesociology | 0 | 1,933,540,987,591 | 100% | ||
nnnarvaez | 0 | 1,595,622,832 | 31.25% | ||
spacesheep | 0 | 4,928,581,706 | 100% | ||
faisalamin | 0 | 2,757,194,854 | 59% | ||
cronosclocks | 0 | 8,261,983,410 | 62.5% | ||
edwardstobia | 0 | 1,229,344,845 | 6.25% | ||
blocktrades.com | 0 | 1,121,414,056,606 | 1.25% | ||
santarius | 0 | 555,507,709 | 100% | ||
madefrance | 0 | 30,166,729,103 | 62.5% | ||
dagmardeeke | 0 | 2,833,326,807 | 62.5% | ||
santarius2 | 0 | 804,147,527 | 100% | ||
we-are-one | 0 | 805,789,576 | 76.6% | ||
jorgespino | 0 | 5,783,656,255 | 62.5% | ||
huesos | 0 | 553,052,706 | 31.25% | ||
angatt | 0 | 3,593,593,663 | 50% | ||
aliento | 0 | 1,562,163,156,621 | 62.5% | ||
marblely | 0 | 1,124,208,868 | 1.25% | ||
imtase | 0 | 6,284,962,892 | 100% | ||
gaottantacinque | 0 | 0 | 100% | ||
french-tech | 0 | 4,508,800,909 | 100% | ||
engrave | 0 | 3,350,860,361,827 | 100% | ||
voter001 | 0 | 735,681,171 | 0.9% | ||
cribbio | 0 | 88,820,164 | 100% | ||
mintrawa | 0 | 210,337,384,026 | 100% | ||
thevil | 0 | 5,764,731,287 | 0.62% | ||
sextories | 0 | 546,436,291 | 31.25% | ||
jacuzzi | 0 | 30,473,786,513 | 15.62% | ||
monster-one | 0 | 13,204,980,825 | 50% | ||
dknkyz | 0 | 7,970,413,561 | 30% | ||
androshchuk | 0 | 1,408,134,321 | 100% | ||
zeruxanime | 0 | 4,031,131,884 | 31.25% | ||
freedomring | 0 | 819,893,739 | 1.25% | ||
helengutier2 | 0 | 17,920,341,436 | 15.62% | ||
whangster79 | 0 | 1,392,138,535,275 | 100% | ||
therealyme | 0 | 568,992,207,647 | 9.37% | ||
dimeshana | 0 | 5,036,058,577 | 31.25% | ||
jessiparber23 | 0 | 4,025,975,780 | 62.5% | ||
ninnu | 0 | 78,583,379,901 | 50% | ||
palimanali | 0 | 12,421,736,523 | 31.25% | ||
sweetest | 0 | 130,909,597 | 100% | ||
th4488 | 0 | 338,938,098 | 49% | ||
monster-retos | 0 | 889,591,429 | 50% | ||
mismo | 0 | 37,879,409,595 | 100% | ||
netaterra.leo | 0 | 1,840,583,760 | 56.25% | ||
cookaiss | 0 | 7,976,708,188 | 50% | ||
therealsnowjon | 0 | 2,593,507,193 | 31.25% | ||
eturnerx-honey | 0 | 280,631,954 | 0.8% | ||
drricksanchez | 0 | 145,166,277,333 | 31.25% | ||
las3rbone | 0 | 13,503,694,082 | 100% | ||
mcedric | 0 | 60,751,635,407 | 100% | ||
tzibido | 0 | 726,883,771 | 62.5% | ||
aliento.love | 0 | 1,952,422,025,668 | 62.5% | ||
marbrym | 0 | 19,093,959,852 | 100% | ||
amaillo-m | 0 | 860,853,867 | 31.25% | ||
ray5fan | 0 | 451,353,172 | 100% | ||
hiramdo | 0 | 10,681,311,345 | 62.5% | ||
hannahs.journey | 0 | 2,960,613,240 | 100% | ||
tydynrain | 0 | 24,313,649,479 | 100% | ||
swearingradio | 0 | 3,449,156,592 | 75% | ||
rcsupport | 0 | 27,294,933,812 | 62.5% | ||
drexlord | 0 | 14,909,720,577 | 31.25% | ||
latiag | 0 | 15,770,088,198 | 62.5% | ||
manuphotos | 0 | 1,256,381,134 | 31.25% | ||
erochka | 0 | 1,019,155,373 | 31.25% | ||
kei30 | 0 | 380,425,237 | 100% | ||
karelnt | 0 | 704,421,685 | 15.62% | ||
xcu | 0 | 461,839,391,060 | 62.5% | ||
cryptocubangirl | 0 | 1,121,264,164 | 31.25% | ||
noakmilo | 0 | 3,708,973,564 | 31.25% | ||
fabiodc | 0 | 818,220,193 | 31.25% | ||
xianlaiyiju | 0 | 5,218,144,743 | 100% | ||
baboz | 0 | 342,117,273 | 100% | ||
xblocktrades | 0 | 0 | -1.25% | ||
xalpha | 0 | 0 | -1.25% | ||
youdontknowme | 0 | 770,761,296 | 7.81% | ||
mahyul94 | 0 | 803,428,093 | 100% | ||
lauramoz | 0 | 1,006,580,428 | 31.25% | ||
revise.spk | 0 | 8,778,482,251 | 100% |
Nice job 👍 Do you plan to put it on Github?
author | mintrawa |
---|---|
permlink | re-zuunnet-re8qie |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.05.9"} |
created | 2022-06-29 13:23:03 |
last_update | 2022-06-29 13:23:03 |
depth | 1 |
children | 1 |
last_payout | 2022-07-06 13:23:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 43 |
author_reputation | 18,694,802,429,423 |
root_title | "HIVE WITNESS MONITOR - 1.0" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,423,493 |
net_rshares | 0 |
Thank you.. for your vote and opinion... maybe on Github, when i start a new version..
author | zuun.net |
---|---|
permlink | re-mintrawa-2022629t17424674z |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"ecency/3.0.23-vision","format":"markdown+html"} |
created | 2022-06-29 22:42:06 |
last_update | 2022-06-29 22:42:06 |
depth | 2 |
children | 0 |
last_payout | 2022-07-06 22:42:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.029 HBD |
curator_payout_value | 0.029 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 91 |
author_reputation | 7,544,051,248,473 |
root_title | "HIVE WITNESS MONITOR - 1.0" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,435,851 |
net_rshares | 104,942,069,901 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
imtase | 0 | 2,309,305,880 | 35% | ||
french-tech | 0 | 1,647,816,700 | 35% | ||
mintrawa | 0 | 78,390,827,956 | 35% | ||
mcedric | 0 | 22,594,119,365 | 35% |