Skip to content

telegraf init script hides syntax errors #1344

Closed
@forsberg

Description

@forsberg

Bug report

System info:

telegraf 0.13.1 (debian package) on Debian wheezy.

Steps to reproduce:

  1. Introduce a syntax error in /etc/telegraf/telegraf.conf
  2. Start telegraf with /etc/init.d/telegraf start

Expected behavior:

Non-OK output from init script, with info on syntax error.

Actual behavior:

# /etc/init.d/telegraf start
Starting the process telegraf [ OK ]
telegraf process was started [ OK ]

Additional info:

Nothing useful in /var/log/telegraf/telegraf.log

Switching to telegraf user, starting daemon provides useful output (line number of syntax error)

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/packagingbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions