You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[metric network_io:test-network]
;Network traffic in kB/s.
NETWORK_IO_INTERFACE=eth0
run metrics.sh in verbose mode and it will output something like
$ ./metrics.sh -c metrics.ini -v
Started in verbose mode
OS detected: linux
Available metrics: cpu disk_io disk_usage heartbeat memory network_io ping swap
Available reporters: file influxdb keen_io logentries_com prometheus stathat statsd stdout udp
Loading configuration file: metrics.ini
./metrics.sh: 1: eval: Syntax error: Bad function name
minimal example config file i used for the above run is attached. metrics.txt
In my humble opinion it fails in config.sh here: eval "${fn_name}_config () { $_body; }"
But couldn't figure out why
The text was updated successfully, but these errors were encountered:
Quick reproduction:
minimal example config file i used for the above run is attached.
metrics.txt
In my humble opinion it fails in config.sh here:
eval "${fn_name}_config () { $_body; }"
But couldn't figure out why
The text was updated successfully, but these errors were encountered: