Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD-Card - Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "" #10

Open
sciensys opened this issue Jul 11, 2024 · 0 comments

Comments

@sciensys
Copy link

sciensys commented Jul 11, 2024

NOT issues of the script or template.

But, if you get value like the following, when trying to get value from your SD-Card:

Value of type "string" is not suitable for value type "Numeric (unsigned)". Value ""

This means you get empty value, cause you do not have the device, described in raspberrypi.sh
To correct, you should get console at zabbix-agent side and check you device name,
perform the command:

df -P -B1

check your SD card path, for example you will see:

overlay 122808967168 181596160 116341682176 1% /

then replace device path everywhere, where process SD-Card path in raspberrypi.sh:

before: df -P -B1| grep /dev/root | tr -s " " | cut -d " " -f 4

after: df -P -B1| grep overlay | tr -s " " | cut -d " " -f 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant