Thanks to visit codestin.com
Credit goes to support.nectus5.com

< Back to Methods

Get Status of Linux Servers (GetLinuxServersStatus)

(Nectus Version: 1.69.7)

Get current status of Linux Servers:
- ipv4_address,
- hostname,
- agent_port,
- operating_system,
- number_of_processors,
- number_of_logical_processors,
- last_update_timestamp,
- uptime_seconds,
- group_name,
- cpu_utilization,
- total_ram_mbytes,
- used_ram_mbytes,
- used_ram_percentage,
- status {
0 = Down
1 = Up
2 = Not Monitored
3 = Unknown
4 = Under Maintenance
}
- disks: array of disks data:
    {
      - disk_name,
      - total_size_gbytes,
      - used_space_gbytes,
      - used_space_percentage
    },

If no parameters is defined, then method returns list of all Linux Servers.

URL

https://{ServerName}/linux/restAPI/getLinuxServersStatus

ServerName is the FQDN of the server where Nectus is deployed.

Method

GET

Request Parameters

Header

Header should contain an authorization token.

Parameter Description Type Required Default Value
token Authorization token 1 1

Payload/Data Parameters

Parameter Description Type Required Default Value
ipv4_address IPv4 Address of Linux Server (when you need only one server) String Optional (empty)
ipv4_addresses Array of IPv4 Addresses of Linux Servers (for several servers) Array Optional (empty)

Response Parameters

For list of common errors, kindly refer to section Response and Error Codes.

Usage Example