jonathanio / monitoring-munin-haproxy

Extensive Munin plugin for monitoring HAProxy services.
GNU General Public License v2.0
9 stars 4 forks source link

Argument "" isn't numeric in addition (+) #2

Closed flintforge closed 8 years ago

flintforge commented 8 years ago
munin-run haproxyng

and use warnings;

Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 5. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7.

marji commented 8 years ago

I see something very similar - on ubuntu 15.10 perl 5.20.2-6ubuntu0.2 haproxy 1.6.3-1

Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 3. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 4. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 6. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 7. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 224, line 9. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10. Argument "" isn't numeric in addition (+) at /etc/munin/plugins/haproxyng line 204, line 10.

jonathanio commented 8 years ago

I'll look into this on the weekend.

jonathanio commented 8 years ago

@flintforge, @marji,

Sorry for the delay. I've added some default overrides into get_data which should resolve this warning. Please feel free to check the version in PR #3 and let me know if this fixes your problem.