When accessing the Alarm Templates dashboards rules are not listed for any cartridges.
The following error is present in the Foglight Management Server (FMS) log:
ERROR [http-exec-2] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graphql] - Servlet.init() for servlet [FoglightGraphQLHttpServlet] threw exception
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'foglightGraphQLConfiguration': Unsatisfied dependency expressed through field 'schemaProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'foglightSchemaProvider' defined in URL [jar:file:[FMS_HOME]/cartridge.deploy/Foglight-GraphQL-7_1_0/2024-03-03-12-55-08/foglight-graphql-jars-7_1_0/foglight-graphql-1.0.0.jar!/com/quest/orbital/foglight/topology/model/impl/FoglightGraphqlSchemaProvider.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schema' defined in class path resource [com/quest/orbital/foglight/graphql/config/GraphqlConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [graphql.schema.GraphQLSchema]: Factory method 'schema' threw exception; nested exception is graphql.AssertException: Name must be non-null, non-empty and match [_A-Za-z][_0-9A-Za-z]* - was 'property$Name'
Invalid character in topology type property name definition of a custom Script Agent.
WORKAROUND
Fix the type definition to remove the invalid $ character.
STATUS
This has been logged as FOG-12128 to improve handling of invalid characters in topology type definitions when loading the Alarm Templates dashboard and is planned to be fixed in a future release of Foglight.