Pages:
Author

Topic: [Electrum] Independent monitoring of running servers? - page 2. (Read 5851 times)

hero member
Activity: 938
Merit: 1000
Nice! Are you using my script internally or did you implement checks youself?

Your script, I assessed the options but the quickest way to get this online was using your script. So that's what I decided on.

I have thought about how to subscribe yourself to notifications and decided on a single token signup kind of thing.

So if you want to get alerts about one of the servers you fill in your email address you would like to receive the notifications on. A email will be send with a confirmation token, once you click the link and fill in the confirmation token you will start receiving emails. Every alert email will have an "unsubscribe" link to stop getting alerts.

I think I like this over full user accounts since this is probably something you will only do once and then forget about it, creating a whole new account for yet an other website seems silly. Ideas?
legendary
Activity: 1386
Merit: 1097
I was thinking about something like this for a few weeks. I'm using Nagios for electrum and bitcoind monitoring, but tool like this is needed.

Can you publish these nagios scripts, please? I had quite sophisticated scripts for nagios for the pool, but I lost them during Linode issue and I still didn't find a time to set it up back, at least in some limited form :-/. Some template for Electrum monitoring would motivate me to set up nagios again...
hero member
Activity: 482
Merit: 502
I love you guys! (not in a gay way Smiley )
I was thinking about something like this for a few weeks. I'm using Nagios for electrum and bitcoind monitoring, but tool like this is needed.
legendary
Activity: 1386
Merit: 1097
Nice! Are you using my script internally or did you implement checks youself?
hero member
Activity: 938
Merit: 1000
Just a little update, I'm working on it but since time it's limited It's going slowly.

Here is a little W.I.P. screenie:

legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
This seems like a good basis for a module in the client that does server 'auditing' and etc for more decentralisation of Electrum layer (e.g. choose m of n servers in some kind of multi-party server selection protocol)
If this is done it should be possible to be disabled by users. Connecting to many servers may represent information leakage for users who want to avoid disclosure that they are using Electrum. Right now users can choose who to connect to, and as far as we know there are no malicious servers. But perhaps later when it's difficult to monitor server authenticity someone could setup a server with the intent of logging who is using Electrum and at what IPs, and what addresses they subscribe. For security reasons users should control who they allow connection to.

I agree.

All good points. It's again that balance between dealing with a known authenticated entity who you trust with your info or dealing with many who you semi (or don't have to) trust ... something to keep a look out for further down the track for sure.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
This seems like a good basis for a module in the client that does server 'auditing' and etc for more decentralisation of Electrum layer (e.g. choose m of n servers in some kind of multi-party server selection protocol)
If this is done it should be possible to be disabled by users. Connecting to many servers may represent information leakage for users who want to avoid disclosure that they are using Electrum. Right now users can choose who to connect to, and as far as we know there are no malicious servers. But perhaps later when it's difficult to monitor server authenticity someone could setup a server with the intent of logging who is using Electrum and at what IPs, and what addresses they subscribe. For security reasons users should control who they allow connection to.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
This seems like a good basis for a module in the client that does server 'auditing' and etc for more decentralisation of Electrum layer (e.g. choose m of n servers in some kind of multi-party server selection protocol)
legendary
Activity: 1386
Merit: 1097
I think that patches are welcome Smiley.

Although the primary reason for all this is notifying server admins about issues on their servers.
member
Activity: 85
Merit: 10
I think it would also be useful if that was included in the electrum client. That way ppl could compare the blockchain length of the nodes directly in the server list.
legendary
Activity: 1386
Merit: 1097
That code on pastebin uses Twisted library, which may twist someone's head for first look :-), but it should be really easy to hack that code to report broken server to database/logfile.
hero member
Activity: 938
Merit: 1000
I would love to build this. I think it's really necessary since Electrum servers sometime lag behind, which can be quite annoying. This should be right up my alley to see I am a web-developer by day Smiley
legendary
Activity: 1386
Merit: 1097
Hello all,

weeks ago I knocked up simple script which crawl over all public electrum nodes, connect to them and periodically check if they're up to date with their blockchains:

http://pastebin.com/UsBWCU4n
(use easy_install twisted stratum to install dependencies)

Is there somebody interested in providing (public?) service which will:

a) Show current status of all known servers (up/down)
b) Send mail to electrum operator if his node crashed

It should be quite trivial for some pythonist by using my code, but I don't have free time to finalize it into some usable form.

Such service would be really useful, because electrum servers are sometimes crashing (you know, it's still beta software) and it may took some time to admin to realize that his node is down.

Edit 03.03.2013: http://electrum.be/
Pages:
Jump to: