Difference between revisions of "The json information API"

From BubbaWiki
Jump to navigation Jump to search
(total_space added)
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
vgs
vgs
mds
mds
fstab</pre>  
fstab
free_space (gives free space for home and system partitions, respectively, in bytes)
total_space
</pre>  
All of these are available with user level authentication ('admin' not required).
All of these are available with user level authentication ('admin' not required).

Latest revision as of 15:40, 4 June 2012

There is a json-based information interface from where applications (such as the firefox "bubbamon" tool) can get information automatically.
This is valid from B3 version 2.4.1 and onwards.

http://b3/admin/ajax_status/?
..where ? can be:
uptime
hardware
version
printers
disks (note: the 'size' field is in 512 Byte blocks)
vgs
mds
fstab
free_space (gives free space for home and system partitions, respectively, in bytes)
total_space

All of these are available with user level authentication ('admin' not required).