Comments (5)
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.
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.
./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.
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.
Fixed with #52
from check_pve.
Related Issues (20)
- Setting of pve_unit useless? HOT 3
- Adding VM check to sample files? HOT 1
- Feature request - backup checks HOT 1
- invalid username or password error but curl works HOT 2
- nrpe Could not fetch data from API: HTTP error code was 500 HOT 2
- README HOT 1
- Swap check HOT 1
- Performance data/units HOT 3
- Ceph health messages HOT 2
- API: Access denied HOT 5
- [BUG] readme.md "necessary privileges" changed HOT 1
- Deprecation of distutils HOT 1
- Help for VMs Template configuration HOT 1
- Include checking for root volume status when checking vm's HOT 1
- VM and LXC status check should also include disk information. HOT 2
- Exception if cluster data doesn't contains key 'name' and not contains key 'vmid' HOT 1
- [BUG] Subscription informations are not available HOT 2
- backup check for single VM HOT 1
- Error thrown by python: type object 'datetime.datetime' has no attribute 'UTC' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_pve.