# check_inodes

This plugin/program is used for validating the current Inodes usage of given path

## Requirements

There are no special requirements needed to run this Plugin except Python >= 3.5

## HowTo: Usage

The plugin is used as follows:

```sh
./check_inodes <mnt_path> <threshold_critical> <threshold_warning>
```

### Example

```sh
./check_inodes / 95 90
OK - Inodes usage is healthy: [/] usage 0%
```

## Monitoring States

There are four different monitoring states:

- CRITICAL
- WARNING
- UNKNOWN
- OK

### CRTITICAL

This state occurs if the threshold for CRITICAL was exceeded.

### WARNING

This state occurs if the threshold for WARNING was exceeded.

### UNKNOWN

This state should never occur but if so then there were provided invalid parameters to the script.

### OK

Inodes usage is healthy.