Skip to content

panic: runtime error: index out of range #15

@mgusek

Description

@mgusek

Hi,
i'm running exporter in debug mode in foreground. My BigIP has Version BIG-IP 11.6.0 Build 5.0.429 Hotfix HF5. After a while, i'm getting this error:


17:42:57 DEBUG node_collector.go:204 Successfully fetched statistics for nodes
17:42:57 DEBUG node_collector.go:211 Getting node statistics took 585.037792ms
17:42:57 DEBUG pool_collector.go:372 Successfully fetched statistics for pools
17:42:57 DEBUG pool_collector.go:379 Getting pool statistics took 870.630355ms
17:42:58 DEBUG vs_collector.go:504 Successfully fetched statistics for virtual servers
17:42:58 DEBUG vs_collector.go:511 Getting virtual server statistics took 2.202604024s
17:42:58 DEBUG rule_collector.go:167 Successfully fetched statistics for rules
17:42:58 DEBUG rule_collector.go:174 Getting rule stats took 2.259964622s
17:42:58 DEBUG bigip_collector.go:61 Total collection time was: 2.260005406s
17:43:58 DEBUG vs_collector.go:504 Successfully fetched statistics for virtual servers
17:43:58 DEBUG vs_collector.go:511 Getting virtual server statistics took 1.680180309s
17:43:58 DEBUG node_collector.go:204 Successfully fetched statistics for nodes
17:43:58 DEBUG node_collector.go:211 Getting node statistics took 1.725774764s
panic: runtime error: index out of range

goroutine 8306 [running]:
panic(0x858c00, 0xc4200100d0)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/ExpressenAB/bigip_exporter/collector.(*RuleCollector).Collect(0xc42005cf40, 0xc4207ce1e0)
/Users/christoffer.gunning/golang/src/github.com/ExpressenAB/bigip_exporter/collector/rule_collector.go:155 +0x812
github.com/ExpressenAB/bigip_exporter/collector.(*BigipCollector).Collect.func1(0xc4207ce1e0, 0xc42049c1e0, 0xafd0e0, 0xc42005cf40)
/Users/christoffer.gunning/golang/src/github.com/ExpressenAB/bigip_exporter/collector/bigip_collector.go:53 +0x3b
created by github.com/ExpressenAB/bigip_exporter/collector.(*BigipCollector).Collect
/Users/christoffer.gunning/golang/src/github.com/ExpressenAB/bigip_exporter/collector/bigip_collector.go:55 +0x141

How can i help to solve this ?

Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions