Comments (2)
I no longer have a ceph cluster at hand to test this check. How does the output look like on your system? Maybe you can provide same example data directly from the json API, so I can test with?
from check_pve.
Here are some examples (output from pvesh, Proxmox 6.4):
"health" : {
"checks" : {},
"status" : "HEALTH_OK"
},
"health" : {
"checks" : {
"POOL_SCRUB_FLAGS" : {
"detail" : [
{
"message" : "Pool foo has noscrub flag"
},
{
"message" : "Pool foo has nodeep-scrub flag"
}
],
"severity" : "HEALTH_OK",
"summary" : {
"message" : "Some pool(s) have the noscrub, nodeep-scrub flag(s) set"
}
}
},
"status" : "HEALTH_OK"
},
"health" : {
"checks" : {
"OSDMAP_FLAGS" : {
"detail" : [],
"severity" : "HEALTH_WARN",
"summary" : {
"message" : "nobackfill,norebalance,norecover flag(s) set"
}
},
"POOL_SCRUB_FLAGS" : {
"detail" : [
{
"message" : "Pool foo has noscrub flag"
},
{
"message" : "Pool foo has nodeep-scrub flag"
}
],
"severity" : "HEALTH_OK",
"summary" : {
"message" : "Some pool(s) have the noscrub, nodeep-scrub flag(s) set"
}
}
},
"status" : "HEALTH_WARN"
},
"health" : {
"checks" : {
"PG_DEGRADED" : {
"detail" : [
{
"message" : "pg 1.0 is stuck undersized for 123.456789, current state active+recovering+undersized+degraded+remapped, last acting [0,2]"
},
{
"message" : "pg 1.1 is stuck undersized for 123.456789, current state active+recovery_wait+undersized+degraded+remapped, last acting [1,2]"
}
],
"severity" : "HEALTH_WARN",
"summary" : {
"message" : "Degraded data redundancy: 12345/123456789 objects degraded (0.123%), 4 pgs degraded, 5 pgs undersized"
}
}
},
"status" : "HEALTH_WARN"
},
from check_pve.
Related Issues (20)
- Allow thresholds for CPU in vm check
- 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
- Performance data/units HOT 3
- 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
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.