Get desktop application:
View/edit binary Protocol Buffers messages
BlacklistClient marks a client_id as invalid, forcing all Fleetspeak clients using it to rekey.
CreateBroadcast creates a FS broadcast, potentially sending a message to many machines in the fleet.
DeleteFile deletes a file from the Fleetspeak system.
DeletePendingMessages clears message queues for given clients.
DisableBroadcasts explicitly disables FS broadcasts.
FetchClientResourceUsageRecords returns all resource usage records for a single client with a given limit on the number of records.
GetMessageStatus retrieves the current status of a message.
Returns the number of pending messages for the given clients.
Returns the pending messages for given clients.
InsertMessage inserts a message into the Fleetspeak system to be processed by the server or delivered to a client. TODO: Have this method return the message that is written to the datastore (or at least the id).
KeepAlive does as little as possible.
ListActiveBroadcasts lists the currently active FS broadcasts.
If set, only return broadcasts with the given service_name.
ListClientContacts lists the contact history for a client.
ListClients lists the currently active FS clients.
If non-empty, restricts results to the listed client_ids. If empty, all clients known to the system will be listed.
StoreFile inserts a file into the Fleetspeak system.
StreamClientContacts lists the contact history for a client as a stream.
StreamClientIds lists the currently active FS clients as a stream.
A Broadcast is a template to build messages to send to a number of machines.
Used in: ,
8 byte id of the broadcast. Randomly generated if unset at creation time.
The source of the broadcast, must be a server side service.
The destination of the broadcast, must be a client side service. The client_id of the destination is ignored and overwritten with any client that is eligible to receive the broadcast. If unset, the broadcast will be addressed to a client service with the same name as the source.
The message type of the payload.
A client will only be sent this broadcast if it has been marked with all of the required labels. Note: All labels (installed+generated) are usually set by the "client" service.
A broadcast will stop being sent at this time.
The payload of the broadcast.
An optional group name that the broadcast gets categorized under. If set, this broadcast will replace older broadcasts with the same group, source, destination, and required labels on creation. This effectively causes clients to only receive the latest broadcast in the same group.
Next unused tag: 8
Used in:
Used in: ,
Represents client resource-usage data in the data-store. Next id: 15
Used in:
Name of the client service that resource usage is charged/attributed to e.g 'system' for the system Fleetspeak service, or the name of a daemon service as specified in its config.
When the resource-usage metrics were measured on the client.
When the resource usage record was written to the data-store.
If true, indicates that the process has terminated, and that this is the final resource-usage record for that process.
CPU-usage is in millis per second.
Describes a server's configuration. If unset, all values default to values reasonable for a unit test or small installation. Larger installations may need to tune these.
The collection of services that this server should include.
The approximate time to wait between checking for new broadcasts. If unset, a default of 1 minute is used.
A ServiceConfig describes how the server should configure a 'service', which is a module that sends and processes messages.
Used in:
The name that the service will be known as. Primary use is to address messages to the service. The service names 'server' and 'client' are reserved.
The name of the factory which will be used to generate the service.
The maximum number of simultaneous calls to the service's ProcessMessage method. If unset, defaults to 100.
Additional configuration information for the factory to use when setting up the service. The allowed type depends upon the factory.