Welcome to the Pandora FMS Module Library

This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Operating Systems > Linux

Used inodes Linux

Author: mario_pulido Create in: 12/19/2012 Update in: 12/19/2012
Module type : Local module

Returns the percentage of free i­nodes of one partition

Module data

module_name Used inode /
module_type generic_data
module_exec df ­i | grep ­E "/$" | awk '{print $4}' | tr ­d “%\n”
module_max 100
module_min 0
module_description Percentage use of i­nodes

For Ubuntu:
module_exec df ­i | grep ­E "/$" | awk '{print $5}' | tr ­d “%\n”
For Suse:
module_exec df ­i | grep ­E “/$” | awk '{print $5}' | tr ­d “\n” | awk ­F “%” '{print $1}' | tr ­d