NagiosEnterprises / nrpe

NRPE Agent
GNU General Public License v2.0
259 stars 133 forks source link

Official Recommendation for Check All Disks #199

Open elspru opened 5 years ago

elspru commented 5 years ago

Hi, there are a plethora of different scripts for check all disks, many of those I tried have unusual dependencies, and there seems to be some debate where a check_all_disks is even a good idea, since it would be difficult to graph.

personally, I don' t really think it should be a difficult thing to do, like for instance parsing out the output of df for valid filesystems.

Though I know that checking individual disks would give me better graph output, if I had something that would check all the mounted disks, and return an error if any of them is critical, that could be good, in the off chance that something gets missed.

Or if someone adds a new system partition and it doesn't get added to the nagios monitoring.

like I have separate partitions for docker, and two different partitions for backups.

Anyways, so if you have a favorite check_all_disks script please mention it. Thanks in advance, Logan

ericloyd commented 5 years ago

BPI will do this. Make a single check for all disks and then a BPI check that groups them together such that if any of them are in a failure state, them the BPI group as a whole is on a failure state.