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

Error on monitoring disk space #51

Open
Ch-Fr opened this issue Feb 26, 2016 · 6 comments
Open

Error on monitoring disk space #51

Ch-Fr opened this issue Feb 26, 2016 · 6 comments

Comments

@Ch-Fr
Copy link

Ch-Fr commented Feb 26, 2016

Hi,

just installed PMP on my RPi2 running latest Raspbian. The setup went smoothly but I get an error message in the logs plus an alarm on the PRTG server. The error message popping up is as follows:

02/26/2016 11:07:37 - ERROR - Ooops Something went wrong with 'mpdiskspace' sensor 3200. Error: invalid literal for int( ) with base 10: '1K-Bl\xc3\xb6cke'

Could you help me on this one?

@Volfo
Copy link

Volfo commented Mar 2, 2016

Hi,

I don't know if could help but following a fresh miniprobe install. on Debian 7.9, a similar error appears :
03/02/2016 09:51:11 - DEBUG - {u'sensorid': u'94314', u'kind': u'mpdiskspace', u'host': u'127.0.0.1'}
03/02/2016 09:51:11 - DEBUG - Spawning sensor mpdiskspace.
03/02/2016 09:51:11 - ERROR - Ooops Something went wrong with 'mpdiskspace' sensor 94314. Error: invalid literal for int() with base 10: 'fich.'

But my lacks of Python knowledge don't permit me to give more help.

@Volfo
Copy link

Volfo commented Jun 21, 2016

Hi,

It's dirty but it works, I modified "PythonMiniProbe/miniprobe/sensors/diskspace.py"
Don't know if could help but it works like that.
File attached :
diskspace.py.txt

@TBente
Copy link

TBente commented May 10, 2017

Is there any Clean Solution known? The above fix doesn't work.

Ooops Aaarrrghhh Something went wrong with 'mpdiskspace' sensor 2832. Error: invalid literal for int() with base 10: '1K-Bl\xc3\xb6cke'

@TBente
Copy link

TBente commented May 10, 2017

Ok...the Solution was giving attention to the "locale" If your System is in your own language, the Script fails because it can handle only "Filesystem" on line 87.

Regards.

@HotfixGuru
Copy link

#56

@HotfixGuru
Copy link

this should fix it

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

4 participants