From: Sebastian Harl Date: Sun, 24 Jan 2010 12:20:43 +0000 (+0100) Subject: collectd{-perl,.conf}(5), {my,postgre}sql plugins: Fixed some typos. X-Git-Tag: collectd-4.8.4~30 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fb16e34624c30a30330031f1662a847442c41a69;p=collectd.git collectd{-perl,.conf}(5), {my,postgre}sql plugins: Fixed some typos. Thanks to lintian(1) for catching (some of) those! :-) --- diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index b8d72f06..85e7a8a7 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -163,7 +163,7 @@ and collectd: =item Config-Item -A config-item is one structure which keeps the informations provided in the +A config-item is one structure which keeps the information provided in the configuration file. The array of children keeps one entry for each configuration option. Each such entry is another config-item structure, which may nest further if nested blocks are used. diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index f7fb64b4..946270fa 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -112,7 +112,7 @@ a value higher than the number of plugins you've loaded is totally useless. =item B I Sets the hostname that identifies a host. If you omit this setting, the -hostname will be determinded using the L system call. +hostname will be determined using the L system call. =item B B @@ -443,7 +443,7 @@ The curl plugin uses the B (L) to read web pages and the match infrastructure (the same code used by the tail plugin) to use regular expressions with the received data. -The following example will read the current value of AMD stock from google's +The following example will read the current value of AMD stock from Google's finance page and dispatch the value to collectd. @@ -921,7 +921,7 @@ is set to B, all disks are collected B the ones matched. =item B I -The dns plugin uses B to capture dns traffic and analyses it. This +The dns plugin uses B to capture dns traffic and analyzes it. This option sets the interface that should be used. If this option is not set, or set to "any", the plugin will try to get packets from B interfaces. This may not work on certain platforms, such as MacEOSEX. @@ -1709,7 +1709,7 @@ Here are some examples to help you understand the above text more easily: =item B -The behaviour is the same as with all other similar plugins: If nothing is +The behavior is the same as with all other similar plugins: If nothing is selected at all, everything is collected. If some things are selected using the options described above, only these statistics are collected. If you set B to B, this behavior is inverted, i.Ee. the @@ -1721,7 +1721,7 @@ specified statistics will not be collected. The Network plugin sends data to a remote instance of collectd, receives data from a remote instance, or both at the same time. Data which has been received -from the network is usually not transmitted again, but this can be actived, see +from the network is usually not transmitted again, but this can be activated, see the B option below. The default IPv6 multicast group is C. The default IPv4 @@ -2007,7 +2007,7 @@ UDP-Port to connect to. Defaults to B<123>. =item B B|B -Sets wether or not to perform reverse lookups on peers. Since the name or +Sets whether or not to perform reverse lookups on peers. Since the name or IP-address may be used in a filename it is recommended to disable reverse lookups. The default is to do reverse lookups to preserve backwards compatibility, though. diff --git a/src/mysql.c b/src/mysql.c index 1048511c..30f5504a 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -397,7 +397,7 @@ static MYSQL *getconnection (mysql_database_t *db) } else { - INFO ("mysql plugin: Sucessfully connected to database %s " + INFO ("mysql plugin: Successfully connected to database %s " "at server %s (server version: %s, protocol version: %d)", (db->database != NULL) ? db->database : "", mysql_get_host_info (db->con), diff --git a/src/postgresql.c b/src/postgresql.c index d6dd0ba2..e6527b95 100644 --- a/src/postgresql.c +++ b/src/postgresql.c @@ -345,7 +345,7 @@ static int c_psql_exec_query (c_psql_database_t *db, udb_query_t *q) * `BAIL_OUT'. */ column_names[col] = PQfname (res, col); if (NULL == column_names[col]) { - log_err ("Failed to resolv name of column %i.", col); + log_err ("Failed to resolve name of column %i.", col); BAIL_OUT (-1); } } @@ -496,7 +496,7 @@ static int c_psql_init (void) server_host = PQhost (db->conn); server_version = PQserverVersion (db->conn); - log_info ("Sucessfully connected to database %s (user %s) " + log_info ("Successfully connected to database %s (user %s) " "at server %s%s%s (server version: %d.%d.%d, " "protocol version: %d, pid: %d)", PQdb (db->conn), PQuser (db->conn),