Highlighted
2 Bronze

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

0 Kudos
Reply
3 Replies
Highlighted
4 Beryllium

Re: Free space on an Atmos Node

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

0 Kudos
Reply
Highlighted
2 Bronze

Re: Free space on an Atmos Node

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

0 Kudos
Reply
Highlighted
4 Beryllium

Re: Free space on an Atmos Node

Sounds good - glad you could get what you needed!

Karl

0 Kudos
Reply