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