Skip to content

Commit 3d6c471

Browse files
committed
fix storage scale
1 parent 947bbcb commit 3d6c471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# check_mk Plugin for Proxmox Backup Server
1+
# check_mk Extension for Proxmox Backup Server [![(inett GmbH)](https://www.inett.de/assets/images/icons/inett.x50.jpg)](https://www.inett.de/it-loesungen/checkmk)
22
[![release](https://github.com/inettgmbh/checkmk-proxmox_backup_server/actions/workflows/release.yml/badge.svg)](https://github.com/inettgmbh/checkmk-proxmox_backup_server/actions/workflows/release.yml)
33

44
This check_mk extension adds checks Proxmox Backup Server:

agent_based/proxmox_bs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ def proxmox_bs_checks(item, params, section):
180180
if (n == "proxmox-backup-client status") and (k == item):
181181
try:
182182
ds_status = json.loads(c)
183-
size_mb = int(ds_status["total"])/(1024**2)
184-
avail_mb = int(ds_status["avail"])/(1024**2)
183+
size_mb = int(ds_status["total"])
184+
avail_mb = int(ds_status["avail"])
185185

186186
yield from df.df_check_filesystem_single(
187187
value_store, item, size_mb, avail_mb,

0 commit comments

Comments
 (0)