domalab / ha-unraid

Monitor and control your Unraid server directly from Home Assistant. Track system metrics (CPU, RAM, disk usage), manage VMs and Docker containers, monitor UPS status, and receive real-time alerts. Features automated discovery and an easy-to-use interface for seamless integration with your smart home.
Apache License 2.0
29 stars 1 forks source link

Add networking stats #13

Open stplatt opened 2 weeks ago

stplatt commented 2 weeks ago

Is your feature request related to a problem? Please describe. I'm missing networking stats from this integration.

Describe the solution you'd like New sensors for inbound and outbound network speeds.

Additional context Add any other context or screenshots about the feature request here. image

domalab commented 2 weeks ago

@stplatt Thanks for the enhancement request. I'll see if I can add it to next release.

domalab commented 1 week ago

@stplatt I updated the code and added inbound and outbound network sensors.

It will also detect if your network interfaces are bonded.

I'll release the update once I'm done testing with other updates.

Screenshot 2024-11-14 at 4 33 37 pm

Screenshot 2024-11-14 at 4 34 04 pm

domalab commented 1 week ago

@stplatt I release a new version that includes network monitoring sensors. Let me know if it works for you

mvanlijden commented 1 week ago

I my environment the status is not correct compared to the Bytes per second in the attributes. image image

stplatt commented 1 week ago

Thanks for adding! It seems like something is off in the sensor though. Shouldn't these highlighted numbers be the same?

image

chilman408 commented 6 days ago

Does everyone have this working? Mine doesn't show any data...

image

domalab commented 6 days ago

@chilman408 Do you have bonding enabled on your eth0 or eth1 interfaces?

Are you using bonded Nic's?

Settings --> Network Settings

Screenshot 2024-11-19 at 4 40 14 pm

chilman408 commented 6 days ago

Yes. i am using bonded nics

domalab commented 6 days ago

Yes. i am using bonded nics

Can you please run these commands. Replace bond0 with whatever you called your bonded nic interface.

ifconfig bond0 ip -s link show bond0 ip -s link show

Please provide output