Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Conversation

@neoloc
Copy link

@neoloc neoloc commented Feb 19, 2016

I have a very small glusterfs volume used to store configuration data between a group of hosts.

This change allows the -w and -c values to be floats. /usr/bin/bc will round the float to 3 numbers behind the decimal point.

e.g.
root@node1:~# /usr/lib/nagios/plugins/check_glusterfs -v config -n 2 -w .500 -c .250
OK: 2 bricks; free space .952GB

@Rohlik
Copy link

Rohlik commented Feb 7, 2018

Nice work! This is what I looking for.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants