We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b6d63e + 6107486 commit 6faad30Copy full SHA for 6faad30
1 file changed
health-check.sh
@@ -176,8 +176,9 @@ collect_from_all_hosts "ip route show default" "default_route"
176
collect_from_all_hosts "cat /etc/os-release" "linux_distribution"
177
collect_from_all_hosts "last reboot" "reboot_history"
178
collect_from_all_hosts "systemctl status winbind" "winbind_status"
179
-collect_from_all_hosts "apt list --upgradable" "updates"
180
-
+if [[ -f /etc/debian_version ]]; then
+ collect_from_all_hosts "apt list --upgradable" "updates"
181
+fi
182
ceph -s > "$out_dir/ceph_status.txt" 2>/dev/null
183
184
collect_from_all_hosts '
0 commit comments