Create check_diskinode_status.plx 

Purpose : To check the used disk space and used inode limit using df on path or mountpoint.
 It takes the mountpoint/path as the second argument.
 Usage : It accepts 3 arguments, warnings limit and critical limit
 If used %age is more than -w value it will give warning message
 If used %age is more that -c value it will give critical message

 Syntax : check_disk.plx [PathToCheck] -w [WarnLimit] -c [CritLimit]

 Reason for this : In some cases (e.g. virtuzoo container in my case),
 the default check_disk plugin comes with nagios doesnt work
 The df,mount,procfs dont show properly mounted
 device,filesystems,sizes. So I have to use df <path>/mountpoint
 to get the details which is fed into this plugin to get values.

# It also works on all unix/linux systems also.