I have monitors for cluster metrics configured but want to understand how best to set up alerts for Operating System metrics like disk space and status of particular services.
Hi Mikem,
You may find in our documentation an instruction for adding an alert rule.
Also you will need to find a required metric and create a formula.
e.g.
node_filesystem_free_bytes
You may check some formulas examples in already provided rules.
e.g.
Node high CPU load
Thank you. That is helpful. Can you point me to the documentation that outlines how/where to set an alert to a specific host? I am struggling with that a bit.
Thank you.
you can filter in the query itself
node_filesystem_free_bytes{node_name="server.domain.com"} > 400000000000
I have some alerts configured like that but I am puzzled by one alert I set up months ago and do not remember the details. I created an alert using the pmm_mysql_down template but cannot find where I configured this association with the node.
check the alert rule that generated that alert and see if you added a label filter using maybe service_name?
Steve, I don’t see a filter on the Alert Rule. Would this rule be tied to all hosts monitored by PMM? I am struggling to understand the relationship between Alert Rules and monitored hosts. I have configured alerts with Dashboard Panels using Database parameters, i.e. wsrep_cluster_size but that seems different.