Disk Utilization - AIX & Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Disk Utilization - AIX & Linux

Post by raamardhani7 »

Hi Team,

We are looking for the below requirement for linux and AIX servers.
We are getting the below output when we are running the below command:
Linux DIsk Usage:
/usr/local/nagios/libexec/check_nrpe -H uusrcpmca00.fossil.com -t 30 -c check_disk -a '-w 20% -c 10% -p / disk'
AIX Disk Usage:
/usr/local/nagios/libexec/check_nrpe -H dalcbiwp30.fossil.com -t 30 -c check_disk -n -a '-p -w 20% -c 10% /'

DISK OK - free space: / 99264 MB (38% inode=97%):

Could you please help us with the command that gives me the total disk size to be printed in output.
Example: DISK OK - free space: / 99264 MB (38% inode=97%) out of 50GB.

Thanks..
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Disk Utilization - AIX & Linux

Post by tgriep »

The check_disk plugin doesn't have an option to show the total disk space but I found this plugin on the Exchange site that may work for you.
https://exchange.nagios.org/directory/P ... nt/details
If not, search the site to find a plugin that will give you the desired output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Disk Utilization - AIX & Linux

Post by raamardhani7 »

tgriep wrote:The check_disk plugin doesn't have an option to show the total disk space but I found this plugin on the Exchange site that may work for you.
https://exchange.nagios.org/directory/P ... nt/details
If not, search the site to find a plugin that will give you the desired output.

Thanks a lot Tom,

We can close this thread. thanks again..
Locked