Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

MangoES System': Captured value is not numeric: For input string: "Disk Percent Used: ##########RAM############"


  • After upgrading from 2.7.10 to 2.8.4 our customer is getting the following NONE level event every 20-30s.

    MangoES System': Captured value is not numeric: For input string: "Disk Percent Used: ##########RAM############"
    

    /opt/info/systemInfo.txt contains the following

    ##########CPU############
    CPU UserSpace Load: 2.2
    CPU Kernel Load: 1.9
    CPU Total Load: 4.1
    CPU Temp: 50.0
    ########DISK##########
    Disk Name: /dev/mmcblk0p2 /dev/mmcblk0p1
    Disk Total Size: Disk Space Used: Disk Space Left: Disk Percent Used: ##########RAM############
    Physical Memory Total: 2023
    Physical Memory Used: 1836
    Physical Memory Free: 187
    Swap Memory Total: 0
    Swap Memory Used: 0
    Swap Memory Free: 0
    ########SYSTEMTIME############
    SystemTime: Fri Dec  9 09:50:05 PST 2016
    #######UPTIME######
    UpTime:  09:50:05 up 233 days, 15:20,  1 user,  load average: 0.40, 0.48, 1.34
    
    mango@mangoES2147:/usr/sbin/systemInfo$uname -p
    unknown
    mango@mangoES2147:/usr/sbin/systemInfo$df -m
    Filesystem     1M-blocks  Used Available Use% Mounted on
    /dev/mmcblk0p2      7082  5169      1574  77% /
    udev                  10     0        10   0% /dev
    tmpfs                405    42       363  11% /run
    tmpfs               1012     0      1012   0% /dev/shm
    tmpfs                  5     1         5   1% /run/lock
    tmpfs               1012     0      1012   0% /sys/fs/cgroup
    /dev/mmcblk0p1       129    12       117  10% /boot
    tmpfs                203     0       203   0% /run/user/1000
    

    I edited /usr/sbin/systemInfo/diskInfo to include the line

    DiskInfo="/dev/mmcblk0p2"
    

    and it is happy now. I am pretty sure it didn't work before but I don't think there were any events generated in 2.7.10 from the error so I didn't care. This was a mangoES v2 I think.

    mango@mangoES2147:/usr/sbin/systemInfo$uname -a
    Linux mangoES2147 3.8.13.30 #1 SMP PREEMPT Wed Mar 4 17:26:56 BRT 2015 armv7l GNU/Linux
    

  • Hi Craig,

    Thanks for sharing!

    Those systemInfo files were affected by a patch in the MangoES Configuration module. I suspect that is what changed during the upgrade.


  • I just ran into a very similar issue but it was happening before the latest upgrade, I'm sorry I don't know what versions. Now the system is being bombarded by errors say
    Value is no numeric: For input string: "1.5G"


  • Hi psysak,

    That's odd. Can you cat /opt/info/systemInfo.txt? What's the regex for the point generating the errors?

    The disk info section should be generated from /usr/sbin/systemInfo/diskInfo and should all be df -m commands.


  • I'll try to check tomorrow when I'm back there