IDin the response is the name of your entity and replace
<entity_name>with the name of your entity in the
sensuctlcommand below. Then run the command to add the
systemsubscription to your entity:
Entity Class, press enter.
systemand press enter.
sensu-agentare running. You can use
docker psif you are running both from docker.
/tmp/my-file.txt. For this guide, you’ll add
/tmp/my-file.txtas a temporary file:
=== ncr-devops-platform/nagiosfoundationfollowed by a list of available builds for the asset. Now that you’ve added the Nagios Foundation dynamic runtime asset, you can add its
file_existscheck to your Sensu backend. Use sensuctl to add the check:
file_existscheck runs. After about 10 seconds, Sensu will detect that
my-file.txtis missing and reflect that in an event. To view the event with
file_existscheck is generating. Visit http://127.0.0.1:3000, and log in as the admin user (created during initialization when you installed the Sensu backend). The failing check’s events will be listed on the Events page.