diff --git a/hbd/client/main.py b/hbd/client/main.py index 15ee92f..2cd1985 100644 --- a/hbd/client/main.py +++ b/hbd/client/main.py @@ -21,6 +21,7 @@ from typing import Dict, List, Optional # Import protocol and config from .config import load_config from ..common.proto import dicttos, stodict +from .. import __version__ # Import plugin system from .plugin import PluginRegistry, PluginLoader, InfoPlugin, MonitorPlugin @@ -494,6 +495,7 @@ async def async_main(args, config): hb_port = config.get("hb_port", PORT) interval = config.get("interval", INTERVAL) + logger.info(f"hbc {__version__} starting on {iam}") logger.info(f"Starting hbc for {iam} -> {hb_hosts}") logger.info(f"Port: {hb_port}, Interval: {interval}s") diff --git a/hbd/server/templates/alerts.html b/hbd/server/templates/alerts.html index c73ca0d..8b0da0c 100644 --- a/hbd/server/templates/alerts.html +++ b/hbd/server/templates/alerts.html @@ -185,7 +185,7 @@ .alert-metric { color: #0066cc; - font-size: 0.85em; + font-size: 1.1em; font-weight: normal; } diff --git a/scripts/hbc_mini.py b/scripts/hbc_mini.py index 7724c31..ee2ae92 100755 --- a/scripts/hbc_mini.py +++ b/scripts/hbc_mini.py @@ -1038,7 +1038,7 @@ async def _async_main(args, cfg: Dict[str, Any]) -> int: port = cfg.get("hb_port", PORT) interval = cfg.get("interval", INTERVAL) - log.info("starting: %s -> %s port=%d interval=%ds", iam, args.hosts, port, interval) + log.info("starting hbc_mini %s on %s -> %s port=%d interval=%ds",__version__, iam, args.hosts, port, interval) connections: List[AsyncConnection] = [] conn_id = 1