Linux Server Disk & Mem info

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Linux Server Disk & Mem info

Post 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 ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Linux Server Disk & Mem info

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Linux Server Disk & Mem info

Post 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%)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Linux Server Disk & Mem info

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked