Skip to content

Feature Request: query storage uses for all storage #67

@og900aero

Description

@og900aero

It would be nice if you could request the use of all disk space at once. This would allow you to see the data of all disks in one place.
Example

./check_pve.py -k --username monitoring@pve --password xxxxxxxxxxx --api-endpoint 172.16.1.3 -m storage -n pve01 -w 80 -c 90

And Icinga show:

OK - Usage of storage 'local-zfs' is 14.76%
WARNING - Usage of storage 'ha-pool' is 65.09%
OK - Usage of storage 'local' is 12.11%
OK - Usage of storage 'ssd' is 41.41%

./check_pve.py -k --username monitoring@pve --password xxxxxxxxxxx --api-endpoint 172.16.1.3 -m storage -n pve01 -w 80 -c 90 --ignore-disk local,local-zfs

WARNING - Usage of storage 'ha-pool' is 65.09%
OK - Usage of storage 'ssd' is 41.41%

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions