Error alert in ops-manager
complete
Rahil
Getting Error alert for 'Failed to get neo4j config: expected a single record, got none' irrespective of enabling or the required parameters in neo4j.conf.
I have checked that below parameters exist in conf file:
metrics.prometheus.endpoint=127.0.0.1:2004
metrics.prometheus.enabled=true
metrics.enabled=true
metrics.filter=*
metrics.jmx.enabled=true
metrics.namespaces.enabled=true
Chris Shelmerdine
complete
Issues resolved offline with the user.
Chris Shelmerdine
under review
Hi Rahil - thanks for your post. Please could you share any relevant messages from the agent log file so we can identify the likely cause?
Could you also confirm that you've configured the agent to connect to Neo4j with an account which has access to run admin procedures?
Chris Shelmerdine
User emailed directly for additional feedback
Rahil
Chris Shelmerdine: Hi Chris, thank you so much for your prompt reply on the query. Here is the error message from the log:
{"level":"error","error":"expected a single record, got none","time":"2023-10-27T11:37:11Z","message":"Failed to get neo4j config for max heap size. Did you forget to enable metrics in neo4j.conf?"}
I can also confirm that the account used to connect agent to neo4j is an admin account. The version of our neo4j instance is 4.4.24. Ops manager version used is 1.8.1. Agent binary version is 1.7.1 which is upgraded to 1.8.1 after connecting to nom server.