The netbsd_exporter retrieves system metrics such as disk I/O, network I/O, RAM and filesystem usage, as well as CPU load from the running system and exposes them in the format of Prometheus metrics. It is designed to be integrated into inetd, providing a lightweight, NetBSD-focused alternative to the node_exporter.
Go to file
2023-12-27 18:56:57 +01:00
.gitignore Added dist target to Makefile 2023-05-26 10:44:22 +02:00
LICENSE Fixed name in license text 2023-05-24 10:44:46 +02:00
Makefile Remove version number from Makefile, add version macros 2023-12-27 18:56:33 +01:00
netbsd_exporter.8 Manpage cosmetics 2023-12-27 17:13:41 +01:00
netbsd_exporter.c Remove version number from Makefile, add version macros 2023-12-27 18:56:33 +01:00
netbsd_exporter.h Partially revert previous changes - we will again log to syslog by default but avoid filling the log with useless success-messages on completion. 2023-12-27 17:08:40 +01:00
README.md Update README.md 2023-05-26 09:47:54 +02:00
version.h Remove version number from Makefile, add version macros 2023-12-27 18:56:33 +01:00

netbsd_exporter

The netbsd_exporter retrieves system metrics such as disk I/O, network I/O, RAM and filesystem usage, as well as CPU load from the running system and exposes them in the format of Prometheus metrics. It is designed to be integrated into inetd, providing a lightweight, NetBSD-focused alternative to the node_exporter.

example

netbsd_fs_size_bytes{device="dk0",mountpoint="/"} 14573516800
netbsd_fs_used_bytes{device="dk0",mountpoint="/"} 8648296448
netbsd_fs_free_bytes{device="dk0",mountpoint="/"} 5196546048
netbsd_load1 0.000000
netbsd_load5 0.000000
netbsd_load15 0.000000
netbsd_netif_rx_bytes{interface="xennet0"} 2048990748
netbsd_netif_tx_bytes{interface="xennet0"} 98329050
netbsd_netif_errors{interface="xennet0"} 0
netbsd_netif_rx_bytes{interface="lo0"} 12998
netbsd_netif_tx_bytes{interface="lo0"} 12998
netbsd_netif_errors{interface="lo0"} 0
netbsd_mem_size_bytes 249638912
netbsd_mem_free_bytes 23531520
netbsd_mem_active_bytes 79384576
netbsd_mem_inactive_bytes 48852992
netbsd_mem_paging_bytes 0
netbsd_mem_wired_bytes 16723968
netbsd_mem_swap_size_bytes 2147442688
netbsd_mem_swap_used_bytes 6533120
netbsd_dk_read_bytes{device="xbd0"} 307225201664
netbsd_dk_write_bytes{device="xbd0"} 33737978368
netbsd_dk_read_bytes{device="dk0"} 305721165824
netbsd_dk_write_bytes{device="dk0"} 32393216512
netbsd_dk_read_bytes{device="dk1"} 1503978496
netbsd_dk_write_bytes{device="dk1"} 1344761856