GetServerStatus

Gets the status of all servers in the current server park, meaning the controller and all configured storage nodes

Status for each server includes:
- Hostname
- Load average
- Operating System
- Roles (controller/storage)
- Diskusage per mounted volume
- Service status (cron/stunnel/httpd/...)
- Packages (rpm's) and their version

Authentication Methods


  1. With AMS username and password
Input Parameter Type Description
Token* String
Output Parameter Type Description
Success Boolean

*=required

CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=GetServerStatus'
RESPONSE
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Servers>
        <Server>
            <Hostname>secure.example.com</Hostname>
            <Load>0.13</Load>
            <OperatingSystem>CentOS release 5.11 (Final)</OperatingSystem>
            <Roles>
                <Role>controller</Role>
                <Role>storage</Role>
            </Roles>
            <DiskUsage>
                <Disk>
                    <MountPoint>/</MountPoint>
                    <Size>19794665472</Size>
                    <Used>18104311808</Used>
                    <Percentage>97%</Percentage>
                </Disk>
                <Disk>
                    <MountPoint>/data2</MountPoint>
                    <Size>264220246016</Size>
                    <Used>25640701952</Used>
                    <Percentage>11%</Percentage>
                </Disk>
            </DiskUsage>
            <Services>
                <Service>
                    <Name>crond</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>httpd</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>memcached</Name>
                    <Status>false</Status>
                </Service>
                <Service>
                    <Name>mysql</Name>
                    <Status>false</Status>
                </Service>
                <Service>
                    <Name>ntpd</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>redis-server</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>stunnel</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>vaultd</Name>
                    <Status>false</Status>
                </Service>
            </Services>
            <Packages>
                <Package>
                    <Name>aventiv-php-utils</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-api-documentation</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-billing</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-ca</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cache-redis</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cfg</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-clientlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cryptlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>ctrller</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>ctrller-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>ctrller-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-dashboarddownloads</Name>
                    <Version>6.0.6.0</Version>
                    <Build>5124</Build>
                </Package>
                <Package>
                    <Name>nomadesk-db</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-download</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-download-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-download-HyperDrive</Name>
                    <Version>5.6.2.1</Version>
                    <Build>52255</Build>
                </Package>
                <Package>
                    <Name>nomadesk-download-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-installer-osx-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-installer-osx-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-installer-win-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-installer-win-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-keystore</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-log</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-partner</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-admin</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-api</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-branding</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-common</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-sp</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>storage</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>storage-HappyMonday</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>storage-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-vaultd</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>php-nomadesk</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>unison-hooks</Name>
                    <Version>1.0.3</Version>
                    <Build>34981</Build>
                </Package>
                <Package>
                    <Name>unison237-server-hooks</Name>
                    <Version>2.37.5</Version>
                    <Build>7130</Build>
                </Package>
                <Package>
                    <Name>unison240102-server-hooks</Name>
                    <Version>2.40.102</Version>
                    <Build>7095</Build>
                </Package>
                <Package>
                    <Name>unison24061-server-hooks</Name>
                    <Version>2.40.61</Version>
                    <Build>7130</Build>
                </Package>
                <Package>
                    <Name>unison248-server-hooks</Name>
                    <Version>2.48.3</Version>
                    <Build>11406</Build>
                </Package>
            </Packages>
        </Server>
        <Server>
            <Hostname>storage1.example.com</Hostname>
            <Load>0.29</Load>
            <OperatingSystem>CentOS release 6.8 (Final)</OperatingSystem>
            <Roles>
                <Role>storage</Role>
            </Roles>
            <DiskUsage>
                <Disk>
                    <MountPoint>/</MountPoint>
                    <Size>39540371456</Size>
                    <Used>12339224576</Used>
                    <Percentage>33%</Percentage>
                </Disk>
                <Disk>
                    <MountPoint>/data</MountPoint>
                    <Size>264086028288</Size>
                    <Used>174268674048</Used>
                    <Percentage>70%</Percentage>
                </Disk>
                <Disk>
                    <MountPoint>/data2</MountPoint>
                    <Size>211241947136</Size>
                    <Used>62124032</Used>
                    <Percentage>1%</Percentage>
                </Disk>
            </DiskUsage>
            <Services>
                <Service>
                    <Name>crond</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>httpd</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>memcached</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>ntpd</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>postgres</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>redis-server</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>stunnel</Name>
                    <Status>true</Status>
                </Service>
                <Service>
                    <Name>vaultd</Name>
                    <Status>true</Status>
                </Service>
            </Services>
            <Packages>
                <Package>
                    <Name>aventiv-php-utils</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-billing</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-ca</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cache-redis</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cfg</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-clientlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cryptlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-db</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-partner</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-admin</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-api</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-branding</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-common</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-sp</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406.el6</Build>
                </Package>
                <Package>
                    <Name>storage</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>storage-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406</Build>
                </Package>
                <Package>
                    <Name>nomadesk-vaultd</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406.el6</Build>
                </Package>
                <Package>
                    <Name>php-nomadesk</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11406.el6</Build>
                </Package>
                <Package>
                    <Name>unison-hooks</Name>
                    <Version>1.0.3</Version>
                    <Build>34981</Build>
                </Package>
                <Package>
                    <Name>unison237-server-hooks</Name>
                    <Version>2.37.5</Version>
                    <Build>7128.el6</Build>
                </Package>
                <Package>
                    <Name>unison240102-server-hooks</Name>
                    <Version>2.40.102</Version>
                    <Build>7095.el6</Build>
                </Package>
                <Package>
                    <Name>unison24061-server-hooks</Name>
                    <Version>2.40.61</Version>
                    <Build>7129.el6</Build>
                </Package>
                <Package>
                    <Name>unison248-server-hooks</Name>
                    <Version>2.48.3</Version>
                    <Build>11406.el6</Build>
                </Package>
            </Packages>
        </Server>
    </Servers>
</Response>