How to check the disk space on a AIX server in one command for multiple folder like - /home, /var, /dev, /usr / below is the example of what I have setup to just check /dev folder. This command is in my nrpe.cfg file.
command[check_dev]=/usr/local/nagios/libexec/check_disk -w 30% -c 5% -p /dev
How to check disk space on AIX
Re: How to check disk space on AIX
You can use the "check_disk" as such:
If you are using nagios plugins 2.0, you can even pass a "-n" flag to have a multi-line output.
Code: Select all
./check_disk -w 30% -c 5% -p /dev -w 30% -c 5% -p /home -w 30% -c 5% -p /var -w 30% -c 5% -p /dev -w 30% -c 5% -p /usrCode: Select all
./check_disk -w 30% -c 5% -p /dev -w 30% -c 5% -p /home -w 30% -c 5% -p /var -w 30% -c 5% -p /dev -w 30% -c 5% -p /usr -nBe sure to check out our Knowledgebase for helpful articles and solutions!