snltd / illumos-telegraf-plugins Goto Github PK
View Code? Open in Web Editor NEWA collection of Telegraf plugins for Illumos
License: MIT License
A collection of Telegraf plugins for Illumos
License: MIT License
panic: runtime error: index out of range [0] with length 0
goroutine 1510 [running]:
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.camelCase({0x0?, 0xc0007ec9c0?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:89 +0x99
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.parseNamedStats(0xc000076870, {0xc00009b800, 0xf, 0x1?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:51 +0x531
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.(*IllumosDiskHealth).Gather(0xc000076870, {0xc61c58, 0xc00002c200})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:76 +0x1f2
github.com/influxdata/telegraf/models.(*RunningInput).Gather(0xc000076910, {0xc61c58, 0xc00002c200})
/home/rob/go/src/github.com/influxdata/telegraf/models/running_input.go:117 +0x5a
github.com/influxdata/telegraf/agent.(*Agent).gatherOnce.func1()
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:484 +0x2e
created by github.com/influxdata/telegraf/agent.(*Agent).gatherOnce
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:483 +0x12a
[ Mar 18 12:50:00 Stopping because all processes in service exited. ]
[ Mar 18 12:50:00 Executing stop method (:kill). ]
[ Mar 18 12:50:00 Executing start method ("/opt/site/lib/smf/method/telegraf.sh"). ]
[ Mar 18 12:50:00 Method "start" exited with status 0. ]
2023-03-18T12:50:00Z I! Starting Telegraf 1.16.3
panic: runtime error: index out of range [0] with length 0
goroutine 1530 [running]:
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.camelCase({0x0?, 0xc000d26f60?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:89 +0x99
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.parseNamedStats(0xc000148cd0, {0xc0019c4380, 0xf, 0x1?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:51 +0x531
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.(*IllumosDiskHealth).Gather(0xc000148cd0, {0xc61c58, 0xc0001ae260})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:76 +0x1f2
github.com/influxdata/telegraf/models.(*RunningInput).Gather(0xc000148d70, {0xc61c58, 0xc0001ae260})
/home/rob/go/src/github.com/influxdata/telegraf/models/running_input.go:117 +0x5a
github.com/influxdata/telegraf/agent.(*Agent).gatherOnce.func1()
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:484 +0x2e
created by github.com/influxdata/telegraf/agent.(*Agent).gatherOnce
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:483 +0x12a
[ Mar 18 13:00:00 Stopping because all processes in service exited. ]
[ Mar 18 13:00:00 Executing stop method (:kill). ]
[ Mar 18 13:00:00 Executing start method ("/opt/site/lib/smf/method/telegraf.sh"). ]
[ Mar 18 13:00:00 Method "start" exited with status 0. ]
2023-03-18T13:00:00Z I! Starting Telegraf 1.16.3
panic: runtime error: index out of range [0] with length 0
goroutine 1516 [running]:
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.camelCase({0x0?, 0xc0014d6f30?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:89 +0x99
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.parseNamedStats(0xc000076c80, {0xc0019cb480, 0xf, 0x1?})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:51 +0x531
github.com/snltd/illumos-telegraf-plugins/inputs/disk_health.(*IllumosDiskHealth).Gather(0xc000076c80, {0xc61c58, 0xc00002c980})
/home/rob/go/src/github.com/snltd/illumos-telegraf-plugins/inputs/disk_health/disk_health.go:76 +0x1f2
github.com/influxdata/telegraf/models.(*RunningInput).Gather(0xc000076d20, {0xc61c58, 0xc00002c980})
/home/rob/go/src/github.com/influxdata/telegraf/models/running_input.go:117 +0x5a
github.com/influxdata/telegraf/agent.(*Agent).gatherOnce.func1()
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:484 +0x2e
created by github.com/influxdata/telegraf/agent.(*Agent).gatherOnce
/home/rob/go/src/github.com/influxdata/telegraf/agent/agent.go:483 +0x12a
Currently the fmadm part of the fma plugin only emits points when there is a fault. There is no data when everything is fine. This can lead to difficult charting and alerting.
The plugin should emit a zero if it runs and finds no faults.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.