Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: procstat: PidFile doesn't verify process is still running #5746

Closed
rawkode opened this issue Apr 18, 2019 · 3 comments
Closed

Plugin: procstat: PidFile doesn't verify process is still running #5746

rawkode opened this issue Apr 18, 2019 · 3 comments
Labels
area/procstat bug unexpected problem or unintended behavior
Milestone

Comments

@rawkode
Copy link
Contributor

rawkode commented Apr 18, 2019

Relevant telegraf.conf:

[[inputs.procstat]]
  pid_file = "/tmp/mongodb.pid"

System info:

Linux 5.x

Steps to reproduce:

  1. Run mongod --pidfile=/tmp/mongodb.pid
  2. Kill -9

Expected behavior:

State would change to running=0i

Actual behavior:

State continues to be running=1i

@glinton glinton added area/procstat bug unexpected problem or unintended behavior labels Apr 18, 2019
@glinton
Copy link
Contributor

glinton commented Apr 18, 2019

What telegraf version?

@Ritesh-Sharma
Copy link

Ritesh-Sharma commented Apr 19, 2019

Hey @glinton, mentioned issue can be reproducible with below version.

$ telegraf version
Telegraf 1.10.3 (git: HEAD 294bb66)

@danielnelson
Copy link
Contributor

Closed in #5768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/procstat bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants