-
Notifications
You must be signed in to change notification settings - Fork 15
-
Hi all,
we have activated the windows exporter server and now are able to check the metrics (all fine!).
Is there a possibility to extend these metrics, for example we would like to show packets drops or packets loss of a given nic in these metrics?
How has this to be done?
Any help really appreciated!
Kind regards,
Joe
snclient: 0.41
windows: 11 and server 2025
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 3 replies
-
https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.net.md
The net-collector (which should be enabled by default) already provides various metrics for that:
- windows_net_packets_outbound_errors_total
- windows_net_packets_outbound_discarded_total
- windows_net_packets_received_discarded_total
- windows_net_packets_received_errors_total
- windows_net_packets_received_unknown_total
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi datamuc,
thank you very much for your reply and time!
Maybe i am on the wrong path but i do not find these metrics.
I have enabled WindowsExporterServer and additionally PrometheusServer in snclient.ini, browsing (sucessfully) to
http://localhost:8443/node/metrics
shows a lot, but not these.
The same with
http://localhost:9999/metrics - it gives some infos, but not these.
Maybe i have to configure/enable the use of the "net-collector" somewhere in the snclient?
Beta Was this translation helpful? Give feedback.
All reactions
-
I just enabled it without any further config:
❯ curl.exe -ks https://localhost:8443/node/metrics | findstr windows_net_packet
# HELP windows_net_packets_outbound_discarded_total (Network.PacketsOutboundDiscarded)
# TYPE windows_net_packets_outbound_discarded_total counter
windows_net_packets_outbound_discarded_total{nic="Intel[R] Ethernet Connection [18] I219-LM"} 0
windows_net_packets_outbound_discarded_total{nic="Intel[R] Wi-Fi 6E AX211 160MHz"} 0
windows_net_packets_outbound_discarded_total{nic="Realtek USB GbE Family Controller"} 0
windows_net_packets_outbound_discarded_total{nic="Realtek USB GbE Family Controller _2"} 0
# HELP windows_net_packets_outbound_errors_total (Network.PacketsOutboundErrors)
# TYPE windows_net_packets_outbound_errors_total counter
windows_net_packets_outbound_errors_total{nic="Intel[R] Ethernet Connection [18] I219-LM"} 0
windows_net_packets_outbound_errors_total{nic="Intel[R] Wi-Fi 6E AX211 160MHz"} 0
windows_net_packets_outbound_errors_total{nic="Realtek USB GbE Family Controller"} 0
windows_net_packets_outbound_errors_total{nic="Realtek USB GbE Family Controller _2"} 0
...
Beta Was this translation helpful? Give feedback.
All reactions
-
Arrrgh... (wer lesen kann hat mehr vom Leben)
searching for "drop" or similar did not help - no wonder...
sorry, pebkac - send me a link for sponsoring a beer ;-)
Joe
Beta Was this translation helpful? Give feedback.