Giter Site home page Giter Site logo

Comments (8)

Tafkas avatar Tafkas commented on May 30, 2024

Do you have the development libraries installed on your system? What system are you using? For a Debian system (like Ubuntu), this would be

apt-get install libxml2-dev libxslt-dev

from fritzbox-munin.

Ang3er avatar Ang3er commented on May 30, 2024

Thank you very much, this tipp helped me very much. One further question: in wihich path do i find the scripts to copy them to munin. Thank you in advance. My system is running on debian jessie

from fritzbox-munin.

Tafkas avatar Tafkas commented on May 30, 2024

I am glad I could help.

I put the scripts into /usr/share/munin/plugins/fritzbox-munin and then created symbolic links in /etc/munin/plugins (e.g. fritzbox_cpu_temperature -> /usr/share/munin/plugins/fritzbox-munin/fritzbox_cpu_temperature.py)

from fritzbox-munin.

Ang3er avatar Ang3er commented on May 30, 2024

I tested some of the scripts and the results were different. Some classes import the class fritzbox_helper. The results when I run the script manual are Couldn't retrieve data ... I guess this is related to the imported class and the not establishing of the connection. The only parameters I have to define are my home IP Address of the fritzbox and the password is this correct?

from fritzbox-munin.

Tafkas avatar Tafkas commented on May 30, 2024

Yes, do you run the scripts as munin? The scripts get the credentials from

server = os.environ['fritzbox_ip']
password = os.environ['fritzbox_password']

which are set in
/etc/munin/plugin-conf.d/munin-node

from fritzbox-munin.

Ang3er avatar Ang3er commented on May 30, 2024

Yes I did unfortanatly: sudo -u munin python /etc/munin/plugins/fritzbox_cpu_temperature.py
Couldn't retrieve fritzbox cpu temperature (other scripts produce the same error, I guess this is the reason for not showing up in munin itself) The user of all (linked) scripts under plugins is root

Btw thank you very much for helping me in this case :)

from fritzbox-munin.

andreas-marti avatar andreas-marti commented on May 30, 2024

I know it's an old discussion here...when I try to install fritzconnection with pip install fritzconnection, my raspberry crashes after start building wheel for lxml...? R3+, stretch...any ideas?

from fritzbox-munin.

PTomalak avatar PTomalak commented on May 30, 2024

I know it's an old discussion here...when I try to install fritzconnection with pip install fritzconnection, my raspberry crashes after start building wheel for lxml...? R3+, stretch...any ideas?

Same issue for me, Raspberry Pi zero

pi@raspberrypi:~ $ sudo pip install fritzconnection
[...]
Running setup.py bdist_wheel for fritzconnection ... done
Stored in directory: /root/.cache/pip/wheels/6f/66/26/0667ca19d5c8d4ccf1b12a1c593ff056a40a364eabcdd93c7f
Running setup.py bdist_wheel for lxml ... -

at this moment it gets unresponsive and don't finalize

from fritzbox-munin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.