| Type | Name | Target | Group | Enabled | Source | Updated |
|---|---|---|---|---|---|---|
|
⚙️
No collectors configured
|
||||||
| {% match c.collector_type %} {% when crate::storage::CollectorType::Tcp %} TCP {% when crate::storage::CollectorType::Ping %} Ping {% when crate::storage::CollectorType::Http %} HTTP {% endmatch %} | {{ c.name }} | {% match c.collector_type %} {% when crate::storage::CollectorType::Tcp %} {{ c.config["host"].as_str().unwrap_or("-") }}:{{ c.config["port"].as_u64().unwrap_or(0) }} {% when crate::storage::CollectorType::Ping %} {{ c.config["host"].as_str().unwrap_or("-") }} {% when crate::storage::CollectorType::Http %} {{ c.config["url"].as_str().unwrap_or("-") }} {% endmatch %} | {{ c.group_name }} | {% if c.enabled %} ✓ On {% else %} Off {% endif %} | {% match c.source %} {% when crate::storage::CollectorSource::Config %} config {% when crate::storage::CollectorSource::Api %} api {% endmatch %} | {{ Self::format_timestamp(c.updated_at) }} |