History log of /openbmc/phosphor-health-monitor/meson.build (Results 1 – 16 of 16)
Revision Date Author Comments
# ea100c90 03-Mar-2024 Jagpal Singh Gill <paligill@gmail.com>

add the meson option for monitor collection freq

Add the meson option for health monitor collection frequency with a
default value of 1s.

Change-Id: I47a87c5b85eebc676239d1d3dcf90037f0bc56b1
Signed

add the meson option for monitor collection freq

Add the meson option for health monitor collection frequency with a
default value of 1s.

Change-Id: I47a87c5b85eebc676239d1d3dcf90037f0bc56b1
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# 80e5b71b 02-Mar-2024 Jagpal Singh Gill <paligill@gmail.com>

meson.build: remove unused config data options

Remove the unused config data options from meson.build

Change-Id: I31165ab25b797c1cf5234100e9a6e871d1545fd9
Signed-off-by: Jagpal Singh Gill <paligill

meson.build: remove unused config data options

Remove the unused config data options from meson.build

Change-Id: I31165ab25b797c1cf5234100e9a6e871d1545fd9
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# fdf61048 22-Feb-2024 Jagpal Singh Gill <paligill@gmail.com>

remove default bmc_health_config.json

Remove default bmc_health_config.json as default config is in code now
in health_metric_config.cpp.

Change-Id: Ie3dd21a77f84a5417e1cfef7ddde1a1eaf0fad3c
Signed

remove default bmc_health_config.json

Remove default bmc_health_config.json as default config is in code now
in health_metric_config.cpp.

Change-Id: Ie3dd21a77f84a5417e1cfef7ddde1a1eaf0fad3c
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# 81da1376 15-Dec-2023 Jagpal Singh Gill <paligill@gmail.com>

enable health_monitor new implementation

Add health_monitor interface and implementation. Enable the
health_monitor from existing healthMonitor flow.
This change is in relation to following design a

enable health_monitor new implementation

Add health_monitor interface and implementation. Enable the
health_monitor from existing healthMonitor flow.
This change is in relation to following design and D-Bus interface
update -
https://gerrit.openbmc.org/c/openbmc/docs/+/64917
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64914

Tested:
```
busctl tree xyz.openbmc_project.HealthMon
`- /xyz
`- /xyz/openbmc_project
`- /xyz/openbmc_project/metric
`- /xyz/openbmc_project/metric/bmc
|- /xyz/openbmc_project/metric/bmc/cpu
| |- /xyz/openbmc_project/metric/bmc/cpu/kernel
| |- /xyz/openbmc_project/metric/bmc/cpu/total
| `- /xyz/openbmc_project/metric/bmc/cpu/user
|- /xyz/openbmc_project/metric/bmc/memory
| |- /xyz/openbmc_project/metric/bmc/memory/available
| |- /xyz/openbmc_project/metric/bmc/memory/buffered_and_cached
| |- /xyz/openbmc_project/metric/bmc/memory/free
| |- /xyz/openbmc_project/metric/bmc/memory/shared
| `- /xyz/openbmc_project/metric/bmc/memory/total
`- /xyz/openbmc_project/metric/bmc/storage
|- /xyz/openbmc_project/metric/bmc/storage/rw
`- /xyz/openbmc_project/metric/bmc/storage/tmp

curl -k https://localhost:8443/redfish/v1/Managers/bmc/ManagerDiagnosticData
--user "root:0penBmc"
{
"@odata.id": "/redfish/v1/Managers/bmc/ManagerDiagnosticData",
"@odata.type": "#ManagerDiagnosticData.v1_2_0.ManagerDiagnosticData",
"FreeStorageSpaceKiB": 3,
"Id": "ManagerDiagnosticData",
"MemoryStatistics": {
"AvailableBytes": 354029533,
"BuffersAndCacheBytes": 79077333,
"FreeBytes": 291730033,
"SharedBytes": 11876000,
"TotalBytes": 425516000
},
"Name": "Manager Diagnostic Data",
"ProcessorStatistics": {
"KernelPercent": 16.1534,
"UserPercent": 10.6638
},
"ServiceRootUptimeSeconds": 834.753
}

```

Change-Id: I1e9fac226b438f0556cb20321f1f2b6d51af7dbc
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# 79434b54 10-Dec-2023 Jagpal Singh Gill <paligill@gmail.com>

add health_metric_collection implementation

Add the interface and implementation for health_metric_collection which
encapsulates various health_metrics.
This change is in relation to following desig

add health_metric_collection implementation

Add the interface and implementation for health_metric_collection which
encapsulates various health_metrics.
This change is in relation to following design and D-Bus interface
update -
https://gerrit.openbmc.org/c/openbmc/docs/+/64917
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64914

Add test_health_metric_collection gtest for unit testing.

Change-Id: Ia0b9fbc6bec4850735c7eb74dcd5c40fc47c568c
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# 23f091e5 10-Dec-2023 Jagpal Singh Gill <paligill@gmail.com>

add health_metric implementation

Add the interface and implementation for the health_metric to be used
in the rewrite for phosphor-health-monitor.
This change is in relation to following design and

add health_metric implementation

Add the interface and implementation for the health_metric to be used
in the rewrite for phosphor-health-monitor.
This change is in relation to following design and D-Bus interface
update -
https://gerrit.openbmc.org/c/openbmc/docs/+/64917
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64914

gtest added for UT.

Change-Id: Iffcc52f9dff712890377b1222fd7e7d5d6661eaf
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# 7e11ab0a 08-Dec-2023 Jagpal Singh Gill <paligill@gmail.com>

add health_metric_config implementation

Add the health_metric_config interface and implementation for
phosphor-health-monitor. This interface will be used in the
re-write of phosphor-health-monitor.

add health_metric_config implementation

Add the health_metric_config interface and implementation for
phosphor-health-monitor. This interface will be used in the
re-write of phosphor-health-monitor.
This change is in relation to following design and D-Bus interface
update-
https://gerrit.openbmc.org/c/openbmc/docs/+/64917
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64914

gtest added for UT.

Change-Id: Ic40faafbb57597023cc70036428d46ee69a895a2
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# a49df3fb 07-Dec-2023 Patrick Williams <patrick@stwcx.xyz>

meson: adjust nlohmann-json dependency

Simplify the nlohmann-json dependency in meson and use the wrap file
location aligned with other repos.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Ch

meson: adjust nlohmann-json dependency

Simplify the nlohmann-json dependency in meson and use the wrap file
location aligned with other repos.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3c157966fafb5d9090c3c67d916b06932d3ef3df

show more ...


# 0b7a9147 12-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: I128440980a0e76a3dbb8a

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: I128440980a0e76a3dbb8ab8e201790138c085542
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 67d40593 12-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig` keyword argument. Ensure meson 0.58 is required and update
the usage of all `get_pkgconfig_variable` and `get_variable` to be the
modern variant.

Change-Id: I9daae807312503e2ba42b6cae0417c54621db394
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 517524a0 19-Dec-2021 Sui Chen <suichen@google.com>

Change association tuple to "monitoring, monitored_by, bmc"

Per the discussion in 46081, we need a way to differentiate between
"Host CPU usage" and "BMC CPU usage" for the DBus objects. Association

Change association tuple to "monitoring, monitored_by, bmc"

Per the discussion in 46081, we need a way to differentiate between
"Host CPU usage" and "BMC CPU usage" for the DBus objects. Associations
has been used previously for this purpose, so the association for the
health utility "sensors" are changed accordingly for this purpose.

From existing systems, some examples of existing association edge names
may include:
- "chassis": from a DBus sensor to a Chassis/Board inventory
- "all_sensors": the reverse of "chassis"
- "inventory": from a voltage sensor to a board
- "updateable", "active", "functional": from /software to a
particular version
- "software_version": reverse of the above three
- "containedby": from a module to a module container
- "contains": reverse of above

Considering existing association names and the "Requirements and
Expectations for dbus interfaces" document, we name the association
edges "monitoring" and "monitored_by". This association tuple is to be
interpreted as "the utilization sensors are monitoring the current BMC;
the current BMC is monitored by the utilization sensors".

Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Ib0c634df83beacb7acac1dc7885ba47e58523a79

show more ...


# a1ed140b 21-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

meson: simplify dependencies

Leverage wrapfile `[provide]` directives to simplify the dependency
searching in the meson.build.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib36f2c

meson: simplify dependencies

Leverage wrapfile `[provide]` directives to simplify the dependency
searching in the meson.build.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib36f2cf3b3547838aaeb89c0867187f248910074

show more ...


# 19527c78 02-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

meson: add subprojects to build

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia7a24e92715cca5ee890d67d7b645feada4ec68b


# 5669015b 02-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

build: switch to C++20

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id6ea32858d77e132c8c9ef254a5193f0633cfa39


# 1d0d0120 29-Sep-2020 Vijay Khemka <vijaykhemka@fb.com>

Add object manager

Added object manager to sensor node so that it can be queried mapper
and GetManagedObjects method can be called.

Tested: verified this using busctl command and see object manager

Add object manager

Added object manager to sensor node so that it can be queried mapper
and GetManagedObjects method can be called.

Tested: verified this using busctl command and see object manager
interface has been added to this service.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Change-Id: I53e361ea81cabbba78aca2cec4939601d615d232

show more ...


# e279530e 15-Jul-2020 Vijay Khemka <vijaykhemka@fb.com>

Basic initial implementation

This is a base implementation which does following
1. create a daemon,
2. parse config file and create config object
3. create utilization sensor for given config option

Basic initial implementation

This is a base implementation which does following
1. create a daemon,
2. parse config file and create config object
3. create utilization sensor for given config options.

It currently support CPU and memory config only but it can be extended
for other feature as well. Reading and updating sensor data will be in
follow up patch.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Change-Id: If52cfd3ff879d0d121836bf37e17e2cc63fa2a38

show more ...