Skip to content

Nagios/Shinken/Icinga check for all mounted partitions on Linux

License

Notifications You must be signed in to change notification settings

diogouchoas/check_disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_disk

  • Checks for all linux mounted partitions
  • Based on df
  • Performance data shows percentage used and MB total/used

Requirements

  • Bash v4
  • df

Example

$ ./check_disk.sh -w <warning> -c <critical>

Output

$ ./check_disk.sh -w 85 -c 90
Disk Usage OK -  /:37% Used  /boot:18% Used  |   /_pct=37%;80;90;0;100; /_used=33882MiB;;;;; /_total=98916MiB;;;;;  /boot_pct=18%;80;90;0;100; /boot_used=38MiB;;;;; /boot_total=236MiB;;;;;

About

Nagios/Shinken/Icinga check for all mounted partitions on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages