Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #71: Display platform tiles in the connectors directory #72

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
</developers>

<properties>
<!-- Java 11 -->
<maven.compiler.release>11</maven.compiler.release>
<!-- Java 17 -->
<maven.compiler.release>17</maven.compiler.release>

<!-- Reproducible Build -->
<!-- See https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
Expand Down
1 change: 1 addition & 0 deletions src/it/metricshub-connectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<groupId>org.sentrysoftware.maven</groupId>
<artifactId>metricshub-connectors</artifactId>
<name>MetricsHub</name>
<version>1.0.00-SNAPSHOT</version>
<packaging>pom</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends:
- ../Database/Database
connector:
displayName: MySQL
platforms: Any platform running MySQL
platforms: MySQL
reliesOn : MySQL Database
information: Monitors performance and operational metrics for a MySQL database.
detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Windows - DiskPart
platforms: Any system
platforms: Microsoft Windows
reliesOn: The DISKPART.EXE command-line utility
information: "Discovers and monitors the logical disks in a Microsoft Windows system through the DISKPART.EXE utility, notably the software RAID volumes."
version: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: WMI - Battery
platforms: Any system
platforms: Microsoft Windows
reliesOn: WMI
version: 1.0
information: This connector provides battery monitoring for Windows computers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends:
- ../MIB2-header/MIB2-header
connector:
displayName: Generic Ethernet Switch
platforms: MIB-2 Supported Switch
platforms: Ethernet Switch
reliesOn: MIB-2 SNMP
version: 1.0
information: This connector provides an enclosure for Ethernet switches that do not provide one of their own.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Generic UPS
platforms: Any UPS which supports UPS-MIB (RFC1628)
platforms: UPS
version: 1.0
information: This connector provides hardware monitoring of MIB-2 Standard UPS through an SNMP interface.
detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Hyper-V
platforms: Hyper-V Servers
platforms: Hyper-V
reliesOn: PowerShell
version: 1.0
information: This connector provides hardware monitoring through Hyper-V PowerShell cmdlets. The user requires Hyper-V Administrators membership.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: IPMI
platforms: Any system with IPMI
platforms: IPMI
reliesOn: IPMI
information: "Gives environmental information (temperatures, fans, etc.) on several IPMI-enabled servers in-band and out-of-band."
version: 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Libre Hardware Monitor
platforms: Any Windows system
platforms: Microsoft Windows
reliesOn: Libre Hardware Monitor
information: "This connector provides the hardware monitoring of Processors, Temperatures, Fans, Voltages, GPU, Memory Modules, Physical Disk of a computer."
detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ constants:
COLLECT_COMMAND_LINE: "/sbin/ip -s link show dev ${attribute::id}"
connector:
displayName: Linux - Network (ip)
platforms: Any system
platforms: Linux
reliesOn: Linux system commands (ip)
version: 1.0
information: This connector provides the monitoring of active network cards on all Linux systems using ip command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ constants:
COLLECT_COMMAND_LINE: "/sbin/ifconfig -a ${attribute::id}"
connector:
displayName: Linux - Network (ifconfig)
platforms: Any system
platforms: Linux
reliesOn: Linux system commands (ifconfig)
version: 1.0
information: This connector provides the monitoring of active network cards on all Linux systems using ifconfig command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Linux - Multipath
platforms: Any system with multipath
platforms: Linux
reliesOn: Linux multipath utility
version: 1.0
information: This connector provides the monitoring of HBA cards on all Linux systems through the multipath utility.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends:
- ../MIB2-header/MIB2-header
connector:
displayName: MIB-2 Standard SNMP Agent - Network Interfaces
platforms: Any system with SNMP
platforms: System with SNMP
detection:
appliesTo:
- Network
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends:
- ../MIB2-header/MIB2-header
connector:
displayName: MIB-2 Standard SNMP Agent - Network Interfaces - Linux
platforms: Any system with SNMP
platforms: Linux
detection:
appliesTo:
- Linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends:
- ../MIB2-header/MIB2-header
connector:
displayName: MIB-2 Standard SNMP Agent - Network Interfaces - Windows
platforms: Any system with SNMP
platforms: Microsoft Windows
detection:
appliesTo:
- NT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ constants:
_DEVICE_ID: EthernetSwitch
connector:
displayName: Ethernet Switch with Sensors (SNMP)
platforms: MIB-2 and Entity-Sensor-MIB Supported Switch
platforms: Ethernet Switch
reliesOn: "MIB-2, Entity-Sensor-MIB, SNMP"
version: 1.0
information: This connector provides an enclosure and sensors for Ethernet switches that provide it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Nvidia-Smi
platforms: Any system with Nvidia GPUs
platforms: Nvidia
reliesOn: NVIDIA drivers with NVIDIA-SMI support.
information: Gives hardware information on most Nvidia GPUs. (Clocking)
detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ extends:
- ../Hardware/Hardware
connector:
displayName: "KVM, QEMU, Xen and Hypervisors (virsh)"
platforms: "KVM, QEMU, Xen, Hypervisors"
platforms:
- KVM
- QEMU
- Xen
- Hypervisors
reliesOn: libvirt API
version: 1.0
information: This connector provides VM monitoring through the virsh command. The host requires the libvirt API installed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: WMI - Disks
platforms: Any system
platforms: Microsoft Windows
reliesOn: WMI
version: 1.1
information: This connector provides monitoring of the S.M.A.R.T.-enabled disks that are directly handled by Windows (and WBEM through the WMI service). It tries to exclude disks that are actually logical disks exposed by some RAID controllers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: WMI - HBA
platforms: Any system
platforms: Microsoft Windows
reliesOn: WMI
version: 0.9
information: This connector provides the monitoring of HBA cards on all Windows-based systems through the WMI layer (root/WMI namespace).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: WMI - LUN
platforms: Any system
platforms: Microsoft Windows
reliesOn: WMI
version: 0.9
information: This connector provides the monitoring of LUNs on all Windows-based systems through the WMI layer (root/WMI namespace).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: WMI - Network
platforms: Any system
platforms: Microsoft Windows
reliesOn: WMI
version: 1.3
information: This connector provides the monitoring of network cards on all Windows-based systems through the WMI layer (root/WMI namespace).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: Windows Storage Spaces (WMI)
platforms: Any system
platforms: Microsoft Windows
reliesOn: Windows Storage Spaces
information: "This connector provides monitoring physical disks through Windows Storage Management's WMI provider. It supports all disk types, including disks on NVMe bus and NVDIMM. When available, temperature sensors are also discovered and monitored."
detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends:
- ../Hardware/Hardware
connector:
displayName: lm_sensors
platforms: Any system
platforms: Linux
reliesOn: lm_sensors
information: "Provides the monitoring environment sensors on Linux, through the sensors command."
version: 1.1
Expand Down
103 changes: 102 additions & 1 deletion src/it/metricshub-connectors/src/site/resources/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,105 @@
color: white;
text-decoration: none;
font-size: small;
}
}

.custom-class .platform-tile-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 10px;
width: 100%;
}

.custom-class .platform-tile {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background: rgb(237 237 237);
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
color: inherit;
}

.custom-class .platform-tile:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
cursor: pointer;
}

.custom-class .platform-tile .platform-title {
font-size: 18px;
margin-bottom: 15px;
color: #333;
text-align: center;
min-height: 50px;
display: flex;
align-items: center;
justify-content: center;
}

.custom-class .platform-tile .platform-connectors {
font-size: 14px;
margin-bottom: 15px;
color: #333;
text-align: center;
min-height: 30px;
display: flex;
align-items: center;
justify-content: center;
}

.custom-class .platform-tile .platform-icon {
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
}

.custom-class .platform-tile .platform-badges {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-top: 10px;
width: 100%;
}

.custom-class .platform-tile .badge {
font-size: 10px;
border-radius: 10px;
padding: 5px 10px;
text-align: center;
white-space: nowrap;
}

.custom-class .platform-tile div:last-child {
margin-top: auto;
}

@media (max-width: 1200px) and (min-width: 993px) {
.custom-class .platform-tile-container {
grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 992px) and (min-width: 769px) {
.custom-class .platform-tile-container {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
.custom-class .platform-tile-container {
grid-template-columns: repeat(1, 1fr);
}

.custom-class .platform-tile {
padding: 40px;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/it/metricshub-connectors/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<menu name="User Documentation">
<item name="Getting Started" href="index.html" />
<item name="Connectors Directory" href="metricshub-connectors-directory.html"/>
<item name="Connectors Full Listing" href="metricshub-connectors-full-listing.html"/>
</menu>

</body>
Expand Down
Loading
Loading