percona-monitoring-plugins
percona-monitoring-plugins copied to clipboard
support checking the snapshot age
Hi,
we have a need to verify that we do not have too old snapshots (people keep forgetting things, you know). To fix that, I have implemented an optional age check (in days).
Code is dependent on the new lvs call from #4, sorry :)
Greets
Thanks for this.
However, I noticed that lvs
on Ubuntu does not recognize role
and time
fields.
The package lvm2
2.02.66-4ubuntu7.4
.
Is there any workaround to make it working on both redhat and debian distros?
Hi,
meh, I only checked on RHEL6 and expected it to work on others too. Will have look and come back to you :)
Greets
Edit: Debian Wheezy (lvm2 2.02.95-8) does not support this either. Debian Jessie (lvm2 2.02.111-2.2) supports this just fine. Ubuntu version mentioned above is from Precise, 12.04 LTS.