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

Systemd does not see all shutdowns as failures #1

Closed
wants to merge 1 commit into from

Conversation

djsly
Copy link
Owner

@djsly djsly commented Apr 25, 2017

[root@<hostname> ~]# systemctl status telegraf -l
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
   Loaded: loaded (/usr/lib/systemd/system/telegraf.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2017-04-25 10:33:40 EDT; 14min ago
     Docs: https://github.com/influxdata/telegraf
 Main PID: 7857 (code=killed, signal=PIPE)

This occurs when we restart systemd-journald, which cause a crash/stop of telegraph seen as a STDPIPE

See hashicorp/consul#1688 for more details and an example fix for prometheus. voxpupuli/puppet-prometheus#3

Required for all PRs:

  • CHANGELOG.md updated (we recommend not updating this until the PR has been approved by a maintainer)
  • Sign CLA (if not already signed)
  • README.md updated (if adding a new plugin)

@djsly djsly force-pushed the sigpipe-support branch 2 times, most recently from 628f3d4 to 7564f16 Compare May 8, 2017 17:59
````
[root@<hostname> ~]# systemctl status telegraf -l
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
   Loaded: loaded (/usr/lib/systemd/system/telegraf.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2017-04-25 10:33:40 EDT; 14min ago
     Docs: https://github.com/influxdata/telegraf
 Main PID: 7857 (code=killed, signal=PIPE)
````

This occurs when we restart `systemd-journald`, which cause a crash/stop of telegraph seen as a STDPIPE
@djsly djsly force-pushed the sigpipe-support branch from 7564f16 to 1b50d74 Compare May 8, 2017 18:04
@djsly djsly closed this Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant