From 8d45a9a8200223f198a71668939cc27a16511cee Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 30 Sep 2014 05:49:33 -0700 Subject: [PATCH] sysdbql(7): Updated documentation for the LIST command. --- doc/sysdbql.7.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/sysdbql.7.txt b/doc/sysdbql.7.txt index 88fb41b..7e5945e 100644 --- a/doc/sysdbql.7.txt +++ b/doc/sysdbql.7.txt @@ -10,6 +10,7 @@ SYNOPSIS -------- LIST hosts; + LIST services; FETCH host 'some.host.name'; @@ -30,11 +31,13 @@ QUERY COMMANDS Each command is terminated by a semicolon. The following commands are available to retrieve information from SysDB: -*LIST* hosts [*FILTER* '']:: -Retrieve a sorted (by name) list of all hosts currently stored in SysDB. The -return value is a list of hosts where each host specification includes its -name, the timestamp of the last update of the object known to SysDB and an -approximation of the interval with which the host was updated. If a filter +*LIST* hosts|services|metrics [*FILTER* '']:: +Retrieve a sorted (by name) list of all hosts currently stored in SysDB along +with their services or metrics if requested. The return value is a list of +hosts where each host specification includes its name, the timestamp of the +last update of the object known to SysDB and an approximation of the interval +with which the host was updated. When listing services or metrics, the +respective objects will be included for each host as well. If a filter condition is specified, only objects matching that filter will be included in the reply. See the section "FILTER clause" for more details about how to specify the search and filter conditions. -- 2.30.2