neptune-explorer/templates/email/neptune_rpc_alert.txt

54 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

%% if self.now_connected {
**** ALERT: Neptune RPC Connection Restored ****
%% } else {
**** ALERT: Neptune RPC Connection Lost ****
%% }
site: {{self.config.site_name}} at {{self.config.site_domain}}:{{self.config.listen_port}}
-- Details --
Event: Neptune RPC Connection Status Change.
Event Time: {{self.now.to_rfc3339()}}
Event Description:
%% if self.now_connected {
The neptune-explorer application has re-established connection with the
neptune-core rpc server. Service is restored.
%% } else {
The neptune-explorer application is unable to connect to the neptune-core rpc
server. Website users are experiencing a site-outage.
%% }
New Status:
Neptune RPC Connected: {{self.now_connected}}
Now: {{self.now.to_rfc3339()}}
Previous Status:
Neptune RPC Connected: {{self.was_connected}}
Since: {{self.since.to_rfc3339()}}
Duration: {{self.duration}}
Block Explorer Uptime:
Started: {{self.app_started.to_rfc3339()}}
Duration: {{self.app_duration}} seconds
Neptune-core RPC:
Host: {{self.config.site_domain}} (localhost)
Port: {{self.config.neptune_rpc_port}}
Recommended action:
%% if self.now_connected {
Test the block explorer to ensure it is operating correctly.
No further corrective action should be necessary.
%% } else {
Review if neptune-core is running and accessible. Restart if necessary.
When neptune-core becomes available the block-explorer should automatically
re-establish the connection within {{self.config.neptune_rpc_watchdog_secs}} seconds.
%% }