After upgrading my cacti from somewhere 0.8.7 to 0.8.8a, some of my snmps get a 0 instead of the right value. I changed the poller to php and it worked again with some other errors. So I started looking into the source of spine and maybe found the problem.
E.g. I want to get some system-values from an IBM BladeCenter (Fan-Speed, BTU, Voltage, Power). The query returns "97% of maximum" for fan-speed or "1464W" for allocated power. Spine interpretates this strings as "numeric" (function is_numeric) or "multipart_output" (function is_multipart_output) and don't strip the part after the integer (function strip_alpha).
So there must be an error in the function is_multipart_output or function is_numeric. I'm not a C-expert and maybe someone else find out, why the values above are multipart or integer.
spine 0.8.8a and stripping string-output
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Sat May 25, 2013 3:22 am
-
- Posts: 2
- Joined: Sat May 25, 2013 3:22 am
Re: spine 0.8.8a and stripping string-output
I found the solution:
http://forums.cacti.net/viewtopic.php?p=221474#p221474
I'm not alone
Please fix this in spine and many thanks to pinnieroom for the code.
http://forums.cacti.net/viewtopic.php?p=221474#p221474
I'm not alone
Please fix this in spine and many thanks to pinnieroom for the code.
Who is online
Users browsing this forum: No registered users and 5 guests