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
Describe the bug
A clear and concise description of what the bug is.
SPINE 1.2.24 unable to automatically remove alpha characters on SNMP values with the combination of alpha numeric characters
For example:
SNMP get results to value of ">5.00"
Spine does not remove the ">" instead resulting to -nan.
This works after using cmd.php instead
Expected behavior
A clear and concise description of what you expected to happen.
Expected result is that spine should be able to log the value of "5.00" instead of non.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
OS: CentOs8
Version : Kernel 4.18.0-395.3.1el8.x86_64
Compiling (please complete the following information):
compiler: gcc 8.5.0-17.el8
autoconf: autoconf 2.69-29.el8
glibc: 2.28-220
source: Cacti
Note: you can find glibc version by running ldd --version
Note: if source is github, please include last commit reference
Additional context
Add any other context about the problem here including logs and command line output
The text was updated successfully, but these errors were encountered:
I just checked the code and guess what, it was never supported in spine. I think it's an easy fix though.
TheWitness
changed the title
SPINE 1.2.24 - problems with SNMP values with Alpanumeric characters
Function strip_alpha() does not strip non-numeric leading characters
Jul 29, 2023
netniV
changed the title
Function strip_alpha() does not strip non-numeric leading characters
Padding is not always removed from the start of non-numeric strings
Sep 4, 2023
Describe the bug
A clear and concise description of what the bug is.
SPINE 1.2.24 unable to automatically remove alpha characters on SNMP values with the combination of alpha numeric characters
For example:
SNMP get results to value of ">5.00"
Spine does not remove the ">" instead resulting to -nan.
This works after using cmd.php instead
Expected behavior
A clear and concise description of what you expected to happen.
Expected result is that spine should be able to log the value of "5.00" instead of non.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
Compiling (please complete the following information):
Note: you can find glibc version by running
ldd --version
Note: if source is github, please include last commit reference
Additional context
Add any other context about the problem here including logs and command line output
The text was updated successfully, but these errors were encountered: