Skip to content
Alexey Zilber edited this page Jul 31, 2019 · 5 revisions

Usage

./noodle --help

Basic

If you only need to monitor, simply running ./noodle will monitor and report on screen the block latency.

Running with -v will show you a bit more; the avergage block time and max block time for the last 10 blocks. It will also show Insight blocks, as long as -n wasn't specified.

Alerting

You will probably want to send alerts. Noodle supports authenticated and regular SMTP alerts.

Node Noodle will send an alert when there are 5 consecutive failures that are 3x behind the current block time.

With Google

Setup a separate, new Gmail account. Using the new Gmail account, create an application password for extra account security. This will keep your main account safe, and you will be able to email yourself.

Format: "HOST;PORT;FROM;TO[;USERNAME;PASSWORD]"

./noodle -a "smtp.gmail.com;587;noodle@my.domain.local;to_user@gmail.com;gmailloginuser@gmail.com;lojxkqqvhelosbak" The above will send alerts to "to_user@gmail.com" from "noodle@my.domain.local".

Be AWARE that any user on the system will see your Gmail Application password. Make sure you use a separate gmail account that is ONLY used for alerts. DO NOT use your main Gmail account for these notifications.

Regular Email

If you want to send alerts without authentication, here's an example using the Guerilla Mail Service:

./noodle -a "guerrillamail.com;25;noodle@my.domain.local;alerts@sharklasers.com"

The above will send alerts to "alerts@sharklasers.com" from "noodle@my.domain.local".


Continue on to Advanced Usage

Clone this wiki locally