beautypg.com

System status, Retrieving a system status entry – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 73

background image

Google Search Appliance: Administrative API Developer’s Guide: Protocol

73

System Status

Retrieve the system status for a search appliance using the systemStatus entry of the status feed.

Note: Health properties differ by versions of the search appliance.

Retrieving a System Status Entry

To get the current search appliance system status, send an authenticated GET request to the status
feed URL:

http://Search_Appliance:8000/feeds/status/systemStatus

The following result is an entry that includes current system status values for the search appliance:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/status/systemStatus
2008-12-09T23:53:14.288Z

href=’http://gsa:8000/feeds/status/systemStatus’/>

href=’http://gsa:8000/feeds/status/systemStatus’/>

systemStatus
0
0
0
0
0

Property

Description

cpuTemperature

Temperature of the CPU: 0 if okay, 1 if caution, 2 if critical.

diskCapacity

Remaining disk capacity of the search appliance: 0 if okay, 1 if caution, 2 if
critical.

machineHealth

Health of the internal system components: 0 if okay, 1 if caution, 2 if critical.

overallHealth

Overall health of the entire search appliance: 0 if okay, 1 if caution, 2 if
critical.

raidHealth

Health of the raid array: 0 if okay, 1 if caution, 2 if critical.