GetServerStatus

Gets the status of the server

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

Authentication Methods


  1. With IP Address
Input Parameter Type Description
Token* String
Output Parameter Type Description
Success Boolean

*=required

CURL EXAMPLE
curl -v 'https://storage.nomadesk.com/ctrller/api.php?Task=GetServerStatus'
RESPONSE
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Servers>
        <Server>
            <Hostname>storage.example.com</Hostname>
            <Load>0</Load>
            <OperatingSystem>CentOS release 6.8 (Final)</OperatingSystem>
            <DiskUsage>
                <Disk>
                    <MountPoint>/</MountPoint>
                    <Size>39540371456</Size>
                    <Used>12498853888</Used>
                    <Percentage>34%</Percentage>
                </Disk>
                <Disk>
                    <MountPoint>/data</MountPoint>
                    <Size>264086028288</Size>
                    <Used>174686576640</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>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-billing</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-ca</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cache-redis</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cfg</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-clientlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-cryptlib-php</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-db</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-my-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-partner</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-admin</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-api</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-branding</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-server-common</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-sp</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453.el6</Build>
                </Package>
                <Package>
                    <Name>storage</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>storage-NMD</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453</Build>
                </Package>
                <Package>
                    <Name>nomadesk-vaultd</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453.el6</Build>
                </Package>
                <Package>
                    <Name>php-nomadesk</Name>
                    <Version>7.0.1.0</Version>
                    <Build>11453.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>11453.el6</Build>
                </Package>
            </Packages>
        </Server>
    </Servers>
</Response>