# Unable to find Sensu Check on the Entity (VMs) | Check Deployment is Successful

**URL:** https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972
**Category:** Sensu Go
**Tags:** check
**Created:** [August 4, 2022, 5:28pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972 "2022-08-04T17:28:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jakhter](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jakhter](https://discourse.sensu.io/u/jakhter)
#### Post date: [August 4, 2022, 5:28pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/1 "2022-08-04T17:28:33Z")

</div>

Unable to find Sensu Check on the Entity (VMs) | Check Deployment is Successful  
Entity already have some base checks  
New Checks are showing in the Sensu UI but not showing it’s been added to the Entities  
Entities are part of the same Subscription and it’s showing in output for the both in the following command;  
# sensuctl entity info xxxxxxxx --namespace xxxxxxx --format yaml  
Tried to execute the check from the Sensu console (UI), It help to get it on one of the Entity But not on the 2nd one.  
Got VMs Recycled , it did not help.  
Still not showing under Event for one Entity

---

<div class="post-metadata">

### Author: ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)
#### Post date: [August 4, 2022, 5:34pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/2 "2022-08-04T17:34:09Z")

</div>

can you share the check definition?

Is the check using any runtime assets?

And can you share the failing entity’s subscriptions?

Are all the entities in this scenario the same OS and arch?

---

<div class="post-metadata">

### Author: ![jakhter](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jakhter](https://discourse.sensu.io/u/jakhter)
#### Post date: [August 4, 2022, 7:26pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/3 "2022-08-04T19:26:51Z")

</div>

Please find below ask;

can you share the check definition?

Yes Detail can be find below.

Is the check using any runtime assets?

Yes , you can find detail

runtime\_assets:

- sensu-ruby-runtime:0.0.11

- sensu-plugins-cpu-checks:4.1.0

- sensu-plugins-disk-checks:5.1.4

- sensu-plugins-filesystem-checks:2.1.1

- sensu-plugins-memory-checks:4.1.1

- sensu-plugins-network-checks:5.0.0

- sensu-plugins-process-checks:4.1.0

And can you share the failing entity’s subscriptions?

subscriptions:

- datacenter/soc

- [dd.com/cm/JOE](http://dd.com/cm/JOE)

- environment/prod/linux

- system/linux/redhat/redhat8

- datacenter/soc/linux/redhat8

- system/linux/redhat

- cloud/vmc-2/linux/redhat8

- cloud/vmc-2/linux

- system/linux

- [dd.com/cm/JOE/ea](http://dd.com/cm/JOE/ea)

- datacenter/soc/linux

- environment/prod

- cloud/vmc-2

- entity:wmJOEaprzsdl0.prd.vmc2.dd.com

- environment/prod/linux/redhat8

Are all the entities in this scenario the same OS and arch?

Yes Detail can be find below.

Detail

sensuctl check info app\_JOE\_cpu\_EA\_sa\_user --namespace production --format yaml

type: CheckConfig

api\_version: core/v2

metadata:

annotations:

```
fatigue_check/allow_resolution: "false"

fatigue_check/interval: "910"

fatigue_check/occurrences: "2"

dd.com/cm/documentation:

dd.com/cm/dr_mode: "false"

dd.com/cm/repo_branch: WEALTH/JOE/emplauth/monitoring.yml?at=refs%2Fheads%2Fmaster

dd.com/cm/support_action: A CPU alert has triggered for the 'APPSJOE01' user. Please please invesigate what is consuming the CPU resources.

```

created\_by: xxxxx

labels:

```
malcode: JOE

stateless_event: "false"

```

name: app\_JOE\_cpu\_EA\_sa\_user

namespace: production

spec:

check\_hooks: null

command: check-cpu.rb --user APPSJOE01 -w 75 -c 80

env\_vars: null

handlers:

- base

- cm\_email

high\_flap\_threshold: 0

interval: 300

low\_flap\_threshold: 0

output\_metric\_format: “”

output\_metric\_handlers: null

proxy\_entity\_name: “”

publish: true

round\_robin: false

runtime\_assets:

- sensu-ruby-runtime:0.0.11

- sensu-plugins-cpu-checks:4.1.0

- sensu-plugins-disk-checks:5.1.4

- sensu-plugins-filesystem-checks:2.1.1

- sensu-plugins-memory-checks:4.1.1

- sensu-plugins-network-checks:5.0.0

- sensu-plugins-process-checks:4.1.0

secrets: null

sddin: false

subdue: null

subscriptions:

- [dd.com/cm/JOE/ea](http://dd.com/cm/JOE/ea)

timeout: 60

ttl: 0

---

<div class="post-metadata">

### Author: ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)
#### Post date: [August 4, 2022, 7:56pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/4 "2022-08-04T19:56:50Z")

</div>

You didnt actually supply the information about the entities.  
you supplied `sensuctl check info`  
but entity information would be avaible through `sensuctl entity info`

---

<div class="post-metadata">

### Author: ![jakhter](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jakhter](https://discourse.sensu.io/u/jakhter)
#### Post date: [August 4, 2022, 8:55pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/5 "2022-08-04T20:55:14Z")

</div>

Here are the entities info a good one and one where have problem (2nd one [wmJOEaprzsdl0.prd.vmc2.dd.com](http://wmJOEaprzsdl0.prd.vmc2.dd.com) )

Good One Which is showing the New Check  
sensuctl entity info [wmJOEappzjbt0.prd.vmc2.dd.com](http://wmJOEappzjbt0.prd.vmc2.dd.com) --namespace production --format yaml  
type: Entity  
api\_version: core/v2  
metadata:  
annotations:  
salt\_masters: “”  
salt\_version: 2019.2.5  
[Sensu | Page not found](http://sensu.io/plugins/email/config/toEmail:) ‘{}’  
[Sensu | Page not found](http://sensu.io/plugins/sensu-microsoft-teams-handler/config/webhook-url:) ‘{}’  
[dd.com/cm/provision\_owner:](http://dd.com/cm/provision_owner:) self-serve-ops  
labels:  
cloud\_provider: vmc-2  
cloudname: vmc-2-ddc  
datacenter: ddc  
environment: prod  
malcode: JOE  
pci\_compliant: “false”  
sox\_compliant: “true”  
[dd.com/cm/enabled:](http://dd.com/cm/enabled:) “True”  
name: [wmJOEappzjbt0.prd.vmc2.dd.com](http://wmJOEappzjbt0.prd.vmc2.dd.com)  
namespace: production  
spec:  
deregister: false  
deregistration:  
handler: deregistration  
entity\_class: agent  
last\_seen: 1659645961  
redact:

- password
- passwd
- pass
- api\_key
- api\_token
- access\_key
- secret\_key
- private\_key
- secret  
sensu\_agent\_version: 6.2.5  
subscriptions:
- [dd.com/cm/JOE](http://dd.com/cm/JOE)
- environment/prod/linux
- system/linux/redhat/redhat8
- [dd.com/cm/JOE/ea](http://dd.com/cm/JOE/ea)
- system/linux/redhat
- cloud/vmc-2/linux/redhat8
- cloud/vmc-2/linux
- system/linux
- datacenter/bdc/linux
- environment/prod
- cloud/vmc-2
- datacenter/bdc/linux/redhat8
- datacenter/bdc
- entity:wmJOEappzjbt0.prd.vmc2.dd.com
- environment/prod/linux/redhat8  
system:  
arch: amd64  
cloud\_provider: “”  
hostname: [wmJOEappzjbt0.prd.vmc2.dd.com](http://wmJOEappzjbt0.prd.vmc2.dd.com)  
libc\_type: glibc  
network:  
interfaces:
  - addresses:
    - 10.51.201.93/21  
mac: 00:50:56:9f:ee:a0  
name: ens192

  - addresses:
    - 127.0.0.1/8  
name: lo  
os: linux  
platform: redhat  
platform\_family: rhel  
platform\_version: “8.5”  
processes: null  
vm\_role: “”  
vm\_system: “”  
user: agent

-----------Trouble where unable to see the check----  
sensuctl entity info [wmJOEaprzsdl0.prd.vmc2.dd.com](http://wmJOEaprzsdl0.prd.vmc2.dd.com) --namespace production --format yaml  
type: Entity  
api\_version: core/v2  
metadata:  
annotations:  
salt\_masters: “”  
salt\_version: 2019.2.5  
[Sensu | Page not found](http://sensu.io/plugins/email/config/toEmail:) ‘{}’  
[Sensu | Page not found](http://sensu.io/plugins/sensu-microsoft-teams-handler/config/webhook-url:) ‘{}’  
[dd.com/cm/provision\_owner:](http://dd.com/cm/provision_owner:) self-serve-ops  
labels:  
cloud\_provider: vmc-2  
cloudname: vmc-2-soc  
datacenter: soc  
environment: prod  
malcode: JOE  
pci\_compliant: “false”  
sox\_compliant: “true”  
[dd.com/cm/enabled:](http://dd.com/cm/enabled:) “True”  
name: [wmJOEaprzsdl0.prd.vmc2.dd.com](http://wmJOEaprzsdl0.prd.vmc2.dd.com)  
namespace: production  
spec:  
deregister: false  
deregistration:  
handler: deregistration  
entity\_class: agent  
last\_seen: 1659646298  
redact:

- password
- passwd
- pass
- api\_key
- api\_token
- access\_key
- secret\_key
- private\_key
- secret  
sensu\_agent\_version: 6.2.5  
subscriptions:
- datacenter/soc
- [dd.com/cm/JOE](http://dd.com/cm/JOE)
- environment/prod/linux
- system/linux/redhat/redhat8
- datacenter/soc/linux/redhat8
- system/linux/redhat
- cloud/vmc-2/linux/redhat8
- cloud/vmc-2/linux
- system/linux
- [dd.com/cm/JOE/ea](http://dd.com/cm/JOE/ea)
- datacenter/soc/linux
- environment/prod
- cloud/vmc-2
- entity:wmJOEaprzsdl0.prd.vmc2.dd.com
- environment/prod/linux/redhat8  
system:  
arch: amd64  
cloud\_provider: “”  
hostname: [wmJOEaprzsdl0.prd.vmc2.dd.com](http://wmJOEaprzsdl0.prd.vmc2.dd.com)  
libc\_type: glibc  
network:  
interfaces:
  - addresses:
    - 10.45.200.247/21  
mac: 00:50:56:96:a0:ba  
name: ens192

  - addresses:
    - 127.0.0.1/8  
name: lo  
os: linux  
platform: redhat  
platform\_family: rhel  
platform\_version: “8.5”  
processes: null  
vm\_role: “”  
vm\_system: “”  
user: agent

---

<div class="post-metadata">

### Author: ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)
#### Post date: [August 4, 2022, 9:48pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/6 "2022-08-04T21:48:32Z")

</div>

> [@jakhter](#):
>
> app\_JOE\_cpu\_EA\_sa\_user

Okay the two entities are ruing the same OS version.  
I’m not seeing an obvious problem in the configuration.

I will say that you have unneeded runtime assets defined in the check.  
For that check command you only need the ruby runtime asset and the  
sensu-plugins-cpu-checks, but that’s probably not the problem.

Can you report back the output  
`sensuctl event list --format tabular |grep app_JOE_cpu_EA_sa_user`

---

<div class="post-metadata">

### Author: ![jakhter](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jakhter](https://discourse.sensu.io/u/jakhter)
#### Post date: [August 5, 2022, 4:01am UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/7 "2022-08-05T04:01:32Z")

</div>

sudo sensuctl event list --format tabular --namespace production |grep -i app\_JOE\_cpu\_EA\_sa\_user  
[wmJOEappzjbt0.prd.vmc2.td.com](http://wmJOEappzjbt0.prd.vmc2.td.com) app\_JOE\_cpu\_EA\_sa\_user CheckCPU USER OK: total=2.6 user=1.3 nice=0.0 system=1.1 idle =97.4 iowait=0.0 irq=0.1 softirq=0.1 steal=0.0 guest=0.0 guest\_nice=0.0 0 false 2022-08-04 09:55:35 -0400 EDT fc8bd0e0-6aec-45e6-9231-3dfd04b5510a

---

<div class="post-metadata">

### Author: ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)
#### Post date: [August 5, 2022, 6:01pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/8 "2022-08-05T18:01:04Z")

</div>

okay so far I’m not seeing anything from a misconfiguration problem that would explain this.

One more thing, is the entity with the missing check event have a valid keepalive event that says the entity has been seen recently?

Is that entity successfully running any other check and producing events?

---

<div class="post-metadata">

### Author: ![jakhter](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jakhter](https://discourse.sensu.io/u/jakhter)
#### Post date: [August 5, 2022, 10:26pm UTC](https://discourse.sensu.io/t/unable-to-find-sensu-check-on-the-entity-vms-check-deployment-is-successful/2972/9 "2022-08-05T22:26:07Z")

</div>

Thank you so much for taking look at this issue. It’s got resolved.  
Our L2 found performance degradation on the backend , recycled the backend and it got fixed.  
Yes , the keepalive has always been running along with other checks. Only issue was the new checks.
