mirror of
https://github.com/MatthiasPetermann/netbsd_exporter.git
synced 2025-10-25 20:01:59 +00:00
Renamed method
Signed-off-by: Matthias Petermann <mp@petermann-it.de>
This commit is contained in:
parent
d81ffa6b8b
commit
f8eacbb824
1 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ void retrieve_cpu_load_metrics() {
|
|||
}
|
||||
}
|
||||
|
||||
void retrieve_network_card_metrics() {
|
||||
void retrieve_network_interface_metrics() {
|
||||
struct ifaddrs* ifap, * ifa;
|
||||
|
||||
if (getifaddrs(&ifap) == 0) {
|
||||
|
|
@ -254,7 +254,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
retrieve_disk_space_metrics();
|
||||
retrieve_cpu_load_metrics();
|
||||
retrieve_network_card_metrics();
|
||||
retrieve_network_interface_metrics();
|
||||
retrieve_memory_metrics();
|
||||
retrieve_disk_io_metrics();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue