Page 1 of 1
Linux Server Disk & Mem info
Posted: Fri Nov 15, 2013 7:06 am
by lafargeuser
In Linux Server, How do I get same status information as Window for Memory & Disk Usage :-
Windows
C:\ - total: 49.90 Gb - used: 25.21 Gb (51%) - free 24.69 Gb (49%
Linux
DISK OK - free space: / 102562 MB (94% inode=99%):
Is there any plugin available to get this done ?
Re: Linux Server Disk & Mem info
Posted: Fri Nov 15, 2013 11:42 am
by abrist
They are two different plugins, so their syntax and output format are not necessarily conforming to the same standard. What type of output format do you want the linux disk check to include?
Re: Linux Server Disk & Mem info
Posted: Mon Nov 18, 2013 2:53 am
by lafargeuser
I am looking I should get below format in return.
/ Disk Usage total: 49.90 Gb - used: 25.21 Gb (51%) - free 24.69 Gb (49%)
Re: Linux Server Disk & Mem info
Posted: Mon Nov 18, 2013 11:18 am
by abrist
check_disk would require a wrapper script to conform to that example. You may want to look at the other options on the exchange, or start working on a wrapper:
http://exchange.nagios.org/index.php?op ... check_disk