control:p10bmc: Add missing `fan inventory`
When the change was made that events would only be triggered by the
groups configured on the events, the `fan inventory` group was missing
in the critical services event. This adds the `fan inventory` group to
trigger the critical services event when the `fan inventory` group's
service(s)' are no longer owned on dbus for 5sec.
Change-Id: Icad2a0e6f9cfbb4450606f5f62566de11295f4d7
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/config_files/p10bmc/ibm,everest/events.json b/control/config_files/p10bmc/ibm,everest/events.json
index df6bd25..25d4b54 100644
--- a/control/config_files/p10bmc/ibm,everest/events.json
+++ b/control/config_files/p10bmc/ibm,everest/events.json
@@ -78,6 +78,11 @@
"name": "service(s) missing",
"groups": [
{
+ "name": "fan inventory",
+ "interface": "xyz.openbmc_project.Inventory.Item",
+ "property": { "name": "Present" }
+ },
+ {
"name": "occ objects",
"interface": "org.open_power.OCC.Status",
"property": { "name": "OccActive" }
diff --git a/control/config_files/p10bmc/ibm,rainier-1s4u/events.json b/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
index fbe3ed7..461fc7b 100644
--- a/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
@@ -78,6 +78,11 @@
"name": "service(s) missing",
"groups": [
{
+ "name": "fan inventory",
+ "interface": "xyz.openbmc_project.Inventory.Item",
+ "property": { "name": "Present" }
+ },
+ {
"name": "occ objects",
"interface": "org.open_power.OCC.Status",
"property": { "name": "OccActive" }
diff --git a/control/config_files/p10bmc/ibm,rainier-2u/events.json b/control/config_files/p10bmc/ibm,rainier-2u/events.json
index f7d83a6..4620a1c 100644
--- a/control/config_files/p10bmc/ibm,rainier-2u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-2u/events.json
@@ -88,6 +88,11 @@
"name": "service(s) missing",
"groups": [
{
+ "name": "fan inventory",
+ "interface": "xyz.openbmc_project.Inventory.Item",
+ "property": { "name": "Present" }
+ },
+ {
"name": "occ objects",
"interface": "org.open_power.OCC.Status",
"property": { "name": "OccActive" }
diff --git a/control/config_files/p10bmc/ibm,rainier-4u/events.json b/control/config_files/p10bmc/ibm,rainier-4u/events.json
index cd31676..d3c0712 100644
--- a/control/config_files/p10bmc/ibm,rainier-4u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-4u/events.json
@@ -88,6 +88,11 @@
"name": "service(s) missing",
"groups": [
{
+ "name": "fan inventory",
+ "interface": "xyz.openbmc_project.Inventory.Item",
+ "property": { "name": "Present" }
+ },
+ {
"name": "occ objects",
"interface": "org.open_power.OCC.Status",
"property": { "name": "OccActive" }