But when I stop the metricbeat on a server the state from "Active" changes to "Recovered" and no missing data alert is created.
I was testing with:
1.) "Alert me if a group stops reporting data" option only checked
2.) "Alert me if a group stops reporting data" and "Alert me if there's no data" checked
3.) "Alert me if there's no data" option only checked
But the results were the same.
Do you have any idea what could be the problem here?
What I come to is:
1.) If you just turn off beat on a machine no missing data alert will be generated
2.) If you mess up your system.yml configuration because you want to have some data more frequently then you will surprisingly get the notification.
Messed up config
- module: system
period: 15s
metricsets:
- cpu
- load
- memory
#- network
- process
- process_summary
#- socket_summary
#- entropy
- core
- diskio
- socket
- service
- users
period: 1s
metricsets:
- network
- socket_summary
Good config
- module: system
period: 15s
metricsets:
- cpu
- load
- memory
#- network
- process
- process_summary
#- socket_summary
#- entropy
- core
- diskio
- socket
- service
- users
- module: system
period: 1s
metricsets:
- network
- socket_summary
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.