Unsolved
This post is more than 5 years old
11 Posts
0
1053
Free space on an Atmos Node
Hi,
I am trying to write a script using perl to report on the free space on an RMG.
I have got the script working to get details from the Atmos but.
The api RMG Info (Sys Management API guide page 27 to 29) is only returning the following.
rmg, name, local time etc etc no space information
The Node Info is returning the total space on the node but not the used space.
When you login to the managemetn gui and look at the system dashboard you get the information.
Is there an API i can use to get the info in the system dashboard?
Regards
Shaji
umichklewis
1.2K Posts
0
February 14th, 2014 12:00
You'll want to look at a different set of REST commands. Node info returns the full capacity of drives in each node. What you're more interested in would be the Maui Storage Service (MAUISS) used capacity.
If you look in the Ganglia tool, you'll be able to see it per node, per disk, etc. I'm trying to find a way to get to those details, too.
In the meantime, you might try page 198 and use the filesystem list command. You can list each node and get the used capacity of each disk.
Let us know if that helps!
Karl
ShaiNair
11 Posts
0
February 20th, 2014 02:00
Hi,
I have used perl and use WWW::Mechanize module to browse /maui_admin/maui_dashboard.
Then used a lot of search and replace and split commands to get what i need.
I managed to get the total and used capacity.
Regards
Shaji
umichklewis
1.2K Posts
0
February 20th, 2014 13:00
Sounds good - glad you could get what you needed!
Karl