netbox-agent/netbox_agent
Christophe Simon af9df9ab4b Fixed PSU power consumption calculation
When PSUs were found, the voltage value was never set, raising an
exception when trying to multiply current * voltage (float * None).

This patch reads per PSU voltage (with 230V as default) and define power
consumption from it.
2022-02-23 16:06:32 +01:00
..
drivers should have used git mv 2019-08-05 12:03:06 +02:00
raid Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
vendors Various changes 2022-02-22 14:51:58 +01:00
__init__.py Project cleanup (#6) 2019-08-04 00:00:22 +02:00
cli.py Various changes 2022-02-22 14:51:58 +01:00
config.py feat: add custom_fields suppport 2022-02-22 17:45:25 +01:00
dmidecode.py Setup tests 2020-02-02 20:24:01 +01:00
ethtool.py fix ethtool class in case ethtool works but returns nothing (#123) 2020-04-19 12:19:28 +02:00
inventory.py Various changes 2022-02-22 14:51:58 +01:00
ipmi.py Virtual Machine feature (#122) 2020-04-19 12:28:49 +02:00
lldp.py Make flake8 and isort happy 2021-07-09 11:10:43 +02:00
location.py Add tags,device roles,tenants.. (#110) 2020-07-01 18:54:58 +02:00
logging.py Virtual Machine feature (#122) 2020-04-19 12:28:49 +02:00
lshw.py NVME inventory fix. 2021-07-09 11:00:41 +02:00
misc.py lint 2021-05-18 13:59:04 +02:00
network.py Various changes 2022-02-22 14:51:58 +01:00
power.py Fixed PSU power consumption calculation 2022-02-23 16:06:32 +01:00
server.py feat: add custom_fields suppport 2022-02-22 17:45:25 +01:00
virtualmachine.py fix not passing tenant when tenants exist in Netbox 2020-07-11 15:33:34 +02:00