nachtmaar
7eb6263dc1
Template messages in outcome block for textAnalyzer
2022-05-18 15:46:42 +02:00
Ethan Mosbaugh
30fb4e2108
Fix run collector text analyze file path mismatch
2022-05-16 23:33:23 +00:00
diamonwiggins
cccc9f23a1
adding new test case for ceph analyzers
2022-05-13 23:39:03 +00:00
diamonwiggins
ff4353817f
adding ceph health status messages to analyzer result
2022-05-13 22:27:19 +00:00
Diamon Wiggins
9898d3fbb2
Merge branch 'main' into diamonwiggins/sc-46879/hostcollectors-supportbundles
2022-05-13 10:11:56 -04:00
diamonwiggins
5ec3524bde
fixing host filesystem perf function for windows and darwin
2022-05-12 20:09:03 +00:00
diamonwiggins
a471ad5e74
fixing filepath for kernel modules test
2022-05-12 19:49:04 +00:00
diamonwiggins
7b30e283ea
fixing filepath for kernel modules test
2022-05-12 19:43:45 +00:00
diamonwiggins
8c62aadcfc
using subdirectory for all host collectors in support bundle
2022-05-12 16:46:24 +00:00
diamonwiggins
e7f2685ed8
fix output file for diskUsage collector
2022-05-12 04:20:24 +00:00
diamonwiggins
3b1ba08a6b
hardcoding system hostcollector filenames
2022-05-12 03:39:19 +00:00
diamonwiggins
17fe3db79f
adding host collectors to support bundles
2022-05-11 22:50:03 +00:00
Pavan Sokke Nagaraj
0f56baf4dc
fix cve and update uuid mod
2022-05-10 09:52:42 -04:00
Diamon Wiggins
9f527ee6a5
Merge branch 'main' into diamonwiggins/sc-44286/run-pod-spec
2022-05-06 11:08:15 -04:00
Ethan Mosbaugh
2c9a37a4f1
BoolOrString pollutes marshalling, does not respect omitempty ( #566 )
...
* BoolOrString pollutes marshalling, does not respect omitempty
* fix panic
2022-05-05 16:10:05 -07:00
Edgar Ochoa
7289134757
Add Mysql variables to collector ( #562 )
...
* Add Mysql variables to collector
* Cleanup row scanning and a few updates based on feedback
* Close db connection
* Move defer db.close
* Updates based on feedback
* Use vars in loop instead of struct
* Only pull parameters specified in collector config
Co-authored-by: Ethan Mosbaugh <ethan@replicated.com >
2022-05-04 10:42:37 -07:00
Jalaja Ganapathy
63362d32ee
Include osd disk usage ( #563 )
...
* Include osd disk usage
* add timeouts to ceph commands
* removed df, collect from host
2022-05-02 09:51:49 -07:00
diamonwiggins
6cdcb36127
change naming for runPod collector object
2022-05-02 03:12:07 +00:00
diamonwiggins
dfe5538132
remove podLabels from run function
2022-05-02 02:53:29 +00:00
diamonwiggins
42902405cd
adding new runpod collector and refactoring old run collector to use new code
2022-05-02 02:44:02 +00:00
diamonwiggins
2516924a92
moving imagepullsecret creation into non pod spec declaration
2022-04-19 20:41:28 +00:00
diamonwiggins
ce4165f69e
fixing typo
2022-04-19 20:29:28 +00:00
diamonwiggins
648f9b8d35
allow entire podspec to be passed in run collector
2022-04-19 16:25:59 +00:00
Ethan Mosbaugh
8d1a0f6d24
return ReadCloser
2022-04-01 14:22:44 -07:00
Ethan Mosbaugh
0cfd431274
Fix missing longhorn logs
2022-04-01 14:13:32 -07:00
Andrew Lavery
7eb1d5a5fb
better parse namespaces, and parse legacy list-of-pods storage format
2022-03-25 22:13:52 -04:00
Andrew Lavery
40cdc6805e
pods with containers that are not 'ready' are unhealthy
2022-03-25 21:36:22 -04:00
Pavan Sokke Nagaraj
3d7a255e32
update: add missing database collector code for func GetName() ( #553 )
2022-03-23 22:00:25 -04:00
Pavan Sokke Nagaraj
77a2475bd2
fix: return true when one of analyzers strict field is true ( #552 )
...
* fix: return true when one of analyzers is true
* fix: return true when one of analyzers is true
* update: add unit test
* update: log errors while processing analyzers
* fix: return parse error instead of logging
* fix: update err message
* fix: evaluate strict check err separately
2022-03-23 20:24:21 -04:00
Pavan Sokke Nagaraj
7bfb54360c
map strict flag to analyze result ( #551 )
...
* add util functions
* rename func HasStrictAnalyzersFailed
* map strict flag to analyze err result
2022-03-22 20:47:50 -04:00
diamonwiggins
2b774e16d7
adding serviceaccountname parameter to run collector
2022-03-03 06:12:42 +00:00
Salah Al Saleh
9d41d4a7be
Fix getting pod details for new support bundle formats ( #543 )
2022-03-01 15:55:47 -08:00
Pavan Sokke Nagaraj
e248ab0f97
Fix strict flag mapping ( #542 )
...
* add func BoolOrDefaultFalse and Bool
* use strict.BoolOrDefaultFalse
* Update pkg/multitype/boolstring.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update pkg/multitype/boolstring_test.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update pkg/multitype/boolstring_test.go
Co-authored-by: Andrew Lavery <laverya@umich.edu >
* Update boolstring_test.go
* remove duplicate test
* Update pkg/multitype/boolstring_test.go
Co-authored-by: garcialuis <garcialuisdev@gmail.com >
Co-authored-by: Andrew Lavery <laverya@umich.edu >
Co-authored-by: garcialuis <garcialuisdev@gmail.com >
2022-02-24 13:31:51 -05:00
Pavan Sokke Nagaraj
942234da80
Add strict flag to Analyzers and ResultAnalyzers ( #539 )
...
* add strict flag to Analyzer/AnalyzerMeta
and regenerate schemas and controller-gen code
* map analyzer strict to result
* Update stdout for human and json format
* fix review comment
* update interactive result
* update interactive results
* Update types.go
* Update upload_results.go
* print strict when only true
2022-02-23 15:07:51 -05:00
Craig O'Donnell
0a2ed01a46
improvement: added --output flag for preflight and support bundle ( #538 )
...
* improvement: added --output flag for preflight and support bundle
* improvement: added datetime to preflight default file name
2022-02-17 17:28:28 -05:00
Jeff Golden
a818417e8c
include atomic collector statuses ( #534 )
2022-02-10 11:27:13 -06:00
divolgin
3351c289ab
Add GVK to k8s objects in cluster-resources files
2022-02-04 01:31:07 +00:00
Salah Aldeen Al Saleh
6f0cf6550d
find total memory instead of available ( #525 )
2022-01-11 17:02:44 -08:00
Salah Aldeen Al Saleh
7425f583fc
Don't include any default host collectors ( #524 )
2022-01-10 16:19:56 -08:00
Andrew Lavery
8fc7d12e19
mark a number of fields as not being required
...
namespace/namepsaces in resource status analyzers, and the OS list in host package collectors
2022-01-06 23:54:19 +01:00
divolgin
007edd1181
Allow specifying namespaces when analyzing cluster resources
2021-12-17 21:47:06 +00:00
divolgin
3cedbe16a7
Organize test files by type and namespace
2021-12-17 19:23:54 +00:00
Salah Aldeen Al Saleh
4c72573936
os minor should default to 0 ( #513 )
2021-12-10 13:17:36 -08:00
Salah Aldeen Al Saleh
d1f341b8ed
host system packages collector/analyzer ( #506 )
...
* host system packages collector/analyzer
2021-12-10 12:05:21 -08:00
Ethan Mosbaugh
177f2da16d
Update github.com/containers/image/v5
2021-11-30 23:37:25 +00:00
Ethan Mosbaugh
59d50e7679
Fix go mod
2021-11-30 21:26:24 +00:00
Ethan Mosbaugh
fba0f97225
found not ound
2021-11-30 20:12:29 +00:00
Ethan Mosbaugh
4d0eaf471f
crd not storageClass
2021-11-30 20:12:09 +00:00
Salah Aldeen Al Saleh
c7c21e88fb
fix custom resources redaction file path ( #480 )
...
* fix custom resources redaction file path
2021-11-02 12:36:15 -07:00
divolgin
739ee666af
Allow text analyzer to not generate an error if no files match
2021-10-29 17:52:59 +00:00