Comments (3)
There's another issue with the performance data I forgot to mention: The max
value is put in the min
column, I suggest adding a min
value where appropriate (e.g. 0
for memory/swap/storage).
from check_pve.
Good catch! I created a first draft of a solution here: https://github.com/nbuchwitz/check_pve/tree/fix/performance-data-units.
This way we keep the existing numbers (not the unit) as default and allow the user for custom units with the option `--unit``
Looking forward for your feedback!
from check_pve.
Dear Nicolai,
Thank you for your wonderful check plugin for Proxmox.
I use latest version of check_pve.py: Version: 1.2.2
I faced an issue with warning and critical values of storage checking.
Help says:
-w THRESHOLD_WARNING, --warning THRESHOLD_WARNING
Warning threshold for check value. Mutiple thresholds with name:value,name:value
-c THRESHOLD_CRITICAL, --critical THRESHOLD_CRITICAL
Critical threshold for check value Mutiple thresholds with name:value,name:value
When I run check command without name:value,name:value threshold formula, I get WARNING and CRITICAL exit codes:
# ./check_pve.py -u monitoring@pve -p nagios -e 172.26.73.22 -k -m storage -n pve2 --name ceph_hdd -w 20 -c 25 --unit GB
CRITICAL - Usage of storage 'ceph_hdd' is 74.79 %|usage=74.79%;20.0;25.0;0; used=12568.69GB;20.0;25.0;0;16804.76
But when I run check command with name:value,name:value thresholds, usage warning and critical thresholds do not working:
# ./check_pve.py -u monitoring@pve -p nagios -e 172.26.73.22 -k -m storage -n pve2 --name ceph_hdd -w usage:20,used:0 -c usage:25,used:0 --unit GB
OK - Usage of storage 'ceph_hdd' is 74.87 %|usage=74.87%;20.0;25.0;0; used=12578.57GB;0.0;0.0;0;16799.66
What can be wrong?
thank you,
Gabor
from check_pve.
Related Issues (20)
- UNKNOWN - Could not connect to PVE API: Certificate validation failed HOT 2
- Monitor HA groups
- problem "no implicit conversion of String into Integer (TypeError) HOT 1
- 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
- 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
- [BUG] Invalid usernameor password upon connection HOT 5
- 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
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.