Skip to content

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

Closed
@rawkode

Description

@rawkode

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/procstatbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions