Coder Social home page Coder Social logo

Comments (5)

nbuchwitz avatar nbuchwitz commented on August 21, 2024

Does this also happen, if you're using the token based Auth method? See Readme for an example. Token based Auth is recommended with never proxmox versions

from check_pve.

MrSingingClub avatar MrSingingClub commented on August 21, 2024

Yes, by two ways: I created an api token at the command line as given in your guide and in a second try from scratch where I tried by creating the api token in the gui. Result is the same.

from check_pve.

nbuchwitz avatar nbuchwitz commented on August 21, 2024

./check_pve.py -u 'nagios@pam' -p "" -k -e 10.10.7.9:8006/api2/json/ -m version -V 8.0.0

API endpoint must not contain any paths. Endpoint and port can be specified via cli args and from that the check script composes the complete url. E.g. ./check_pve.py -u 'nagios@pam' -p "<pass>" -k -e 10.10.7.9 -m version -V 8.0.0

from check_pve.

MrSingingClub avatar MrSingingClub commented on August 21, 2024

That solved it. Thank you very much.
Maybe it would be worth to mention this in the documentation part. This site always refers to an API_ENDPOINT. The official Proxmox API doc (https://pve.proxmox.com/wiki/Proxmox_VE_API) states under API URL the full path.
Additionally, as it seems this script here always adds the port. Luckily I am using the default port. Would not know what to do if I would use any other port.

from check_pve.

nbuchwitz avatar nbuchwitz commented on August 21, 2024

Fixed with #52

from check_pve.

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.