Skip to content
Snippets Groups Projects
  1. Apr 26, 2018
  2. Nov 01, 2017
  3. Apr 24, 2017
  4. Apr 21, 2017
  5. Oct 03, 2016
    • Cameron Sparr's avatar
      Major Logging Overhaul · c7834209
      Cameron Sparr authored
      in this commit:
      
      - centralize logging output handler.
      - set global Info/Debug/Error log levels based on config file or flags.
      - remove per-plugin debug arg handling.
      - add a I!, D!, or E! to every log message.
      - add configuration option to specify where to send logs.
      
      closes #1786
      c7834209
  6. Sep 21, 2016
  7. May 23, 2016
  8. May 02, 2016
  9. Apr 29, 2016
    • Cameron Sparr's avatar
      Implement timeouts for all exec command runners · 3f807a94
      Cameron Sparr authored
      First is to write an internal CombinedOutput and Run function with a
      timeout.
      
      Second, the following instances of command runners need to have timeouts:
      
          plugins/inputs/ping/ping.go
          125:	out, err := c.CombinedOutput()
      
          plugins/inputs/exec/exec.go
          91:	if err := cmd.Run(); err != nil {
      
          plugins/inputs/ipmi_sensor/command.go
          31:	err := cmd.Run()
      
          plugins/inputs/sysstat/sysstat.go
          194:	out, err := cmd.CombinedOutput()
      
          plugins/inputs/leofs/leofs.go
          185:	defer cmd.Wait()
      
          plugins/inputs/sysstat/sysstat.go
          282:	if err := cmd.Wait(); err != nil {
      
      closes #1067
      3f807a94
  10. Apr 07, 2016
Loading