From 04c803243ad8bb4409267147d56d4a5cd81bde80 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 20 Nov 2015 15:57:16 +0100 Subject: [PATCH] Fix typos in the documentation fixes #10692 Signed-off-by: Gunnar Beutner --- doc/17-upgrading-icinga-2.md | 8 ++++---- doc/22-migrating-from-icinga-1x.md | 4 ++-- doc/3-monitoring-basics.md | 6 +++--- doc/4-configuring-icinga-2.md | 1 - doc/5-advanced-topics.md | 14 +++++++------- doc/7-icinga-template-library.md | 12 ++++++------ doc/8-cli-commands.md | 2 +- doc/9-icinga2-api.md | 2 +- 8 files changed, 24 insertions(+), 25 deletions(-) diff --git a/doc/17-upgrading-icinga-2.md b/doc/17-upgrading-icinga-2.md index c96745057..005d01f6c 100644 --- a/doc/17-upgrading-icinga-2.md +++ b/doc/17-upgrading-icinga-2.md @@ -12,7 +12,7 @@ If you're upgrading an existing Icinga 2 instance you should check the > > If there isn't an upgrade file for your current version available there's nothing to do. -Apply all database schema upgrade files incrementially. +Apply all database schema upgrade files incrementally. # mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/upgrade/.sql @@ -27,7 +27,7 @@ the *upgrade* directory: 2.0.2.sql 2.1.0.sql 2.2.0.sql 2.3.0.sql There are two new upgrade files called `2.1.0.sql`, `2.2.0.sql` and `2.3.0.sql` -which must be applied incrementially to your IDO database. +which must be applied incrementally to your IDO database. ## Upgrading the PostgreSQL database @@ -38,7 +38,7 @@ If you're updating an existing Icinga 2 instance you should check the > > If there isn't an upgrade file for your current version available there's nothing to do. -Apply all database schema upgrade files incrementially. +Apply all database schema upgrade files incrementally. # export PGPASSWORD=icinga # psql -U icinga -d icinga < /usr/share/icinga2-ido-pgsql/schema/upgrade/.sql @@ -53,4 +53,4 @@ the *upgrade* directory: 2.0.2.sql 2.1.0.sql 2.2.0.sql 2.3.0.sql There are two new upgrade files called `2.1.0.sql`, `2.2.0.sql` and `2.3.0.sql` -which must be applied incrementially to your IDO database. +which must be applied incrementally to your IDO database. diff --git a/doc/22-migrating-from-icinga-1x.md b/doc/22-migrating-from-icinga-1x.md index c6e742f44..aacfe2471 100644 --- a/doc/22-migrating-from-icinga-1x.md +++ b/doc/22-migrating-from-icinga-1x.md @@ -1184,7 +1184,7 @@ Icinga 2 doesn't support non-persistent comments. Unlike in Icinga 1.x there are three different command types in Icinga 2: `CheckCommand`, `NotificationCommand`, and `EventCommand`. -For example in Icinga 1.x it is possible to accidently use a notification +For example in Icinga 1.x it is possible to accidentally use a notification command as an event handler which might cause problems depending on which runtime macros are used in the notification command. @@ -1356,7 +1356,7 @@ is as follows: The flapping value is then compared to the low and high flapping thresholds. -The algorithm used in Icinga 2 does not store the past states but calculcates the flapping +The algorithm used in Icinga 2 does not store the past states but calculates the flapping threshold from a single value based on counters and half-life values. Icinga 2 compares the value with a single flapping threshold configuration attribute. diff --git a/doc/3-monitoring-basics.md b/doc/3-monitoring-basics.md index 6cad4c0f4..a39a8215f 100644 --- a/doc/3-monitoring-basics.md +++ b/doc/3-monitoring-basics.md @@ -672,7 +672,7 @@ with many interfaces (services). The following requirements/problems apply: * Each interface service check should be named with a prefix and a name defined in your host object (which could be generated from your CMDB, etc) * Each interface has its own vlan tag * Some interfaces have QoS enabled -* Additional attributes such as `display_name` or `notes, `notes_url` and `action_url` must be +* Additional attributes such as `display_name` or `notes`, `notes_url` and `action_url` must be dynamically generated @@ -810,7 +810,7 @@ inherited custom attributes: # icinga2 daemon -C # icinga2 object list --type Service --name *catalyst* -Object 'cisco-catalyst-6509-34!if-GigabitEthernet0/2' of type 'Service': + Object 'cisco-catalyst-6509-34!if-GigabitEthernet0/2' of type 'Service': ...... * vars % = modified in '/etc/icinga2/conf.d/iftraffic.conf', lines 59:3-59:26 @@ -969,7 +969,7 @@ to a group based on their attributes: } In this example all hosts with the `vars` attribute `mssql_port` -will be added as members to the host group `mssql`. However, all `*internal` +will be added as members to the host group `mssql`. However, all `\*internal` hosts or with the `test_server` attribute set to `true` are not added to this group. diff --git a/doc/4-configuring-icinga-2.md b/doc/4-configuring-icinga-2.md index a4635e420..998d73924 100644 --- a/doc/4-configuring-icinga-2.md +++ b/doc/4-configuring-icinga-2.md @@ -382,7 +382,6 @@ The idea is simple: Your host in [hosts.conf](4-configuring-icinga-2.md#hosts-co Remember the example from [hosts.conf](4-configuring-icinga-2.md#hosts-conf): ... - /* Define disks and attributes for service apply rules in `services.conf`. */ vars.disks["disk"] = { /* No parameters. */ diff --git a/doc/5-advanced-topics.md b/doc/5-advanced-topics.md index eefa3fad4..fc08c563d 100644 --- a/doc/5-advanced-topics.md +++ b/doc/5-advanced-topics.md @@ -6,7 +6,7 @@ can safely skip over things you're not interested in. ## Downtimes Downtimes can be scheduled for planned server maintenance or -any other targetted service outage you are aware of in advance. +any other targeted service outage you are aware of in advance. Downtimes will suppress any notifications, and may trigger other downtimes too. If the downtime was set by accident, or the duration @@ -66,7 +66,7 @@ This is optional when scheduling a downtime. If there is already a downtime scheduled for a future maintenance, the current downtime can be triggered by that downtime. This renders useful if you have scheduled a host downtime and are now scheduling a child host's downtime getting triggered by the parent -downtime on NOT-OK state change. +downtime on `NOT-OK` state change. ### Recurring Downtimes @@ -98,7 +98,7 @@ Example: Comments can be added at runtime and are persistent over restarts. You can add useful information for others on repeating incidents (for example "last time syslog at 100% cpu on 17.10.2013 due to stale nfs mount") which -is primarly accessible using web interfaces. +is primarily accessible using web interfaces. Adding and deleting comment actions are possible through the external command pipe provided with the `ExternalCommandListener` configuration. The caller must @@ -140,7 +140,7 @@ configuration attributes for `Notification` and `User` objects. > **Note** > -> If you are familar with Icinga 1.x - these time period definitions +> If you are familiar with Icinga 1.x - these time period definitions > are called `legacy timeperiods` in Icinga 2. > > An Icinga 2 legacy timeperiod requires the `ITL` provided template @@ -234,10 +234,10 @@ inside the `icinga2.log` file depending in your log severity ### Use Functions in Command Arguments set_if The `set_if` attribute inside the command arguments definition in the -[CheckCommand object definition](6-object-types.md#objecttype-checkcommand) is primarly used to +[CheckCommand object definition](6-object-types.md#objecttype-checkcommand) is primarily used to evaluate whether the command parameter should be set or not. -By default you can evaluate runtime macros for their existance, and if the result is not an empty +By default you can evaluate runtime macros for their existence, and if the result is not an empty string the command parameter is passed. This becomes fairly complicated when want to evaluate multiple conditions and attributes. @@ -489,7 +489,7 @@ If the freshness checks are invalid, a new check is executed defined by the ## Check Flapping The flapping algorithm used in Icinga 2 does not store the past states but -calculcates the flapping threshold from a single value based on counters and +calculates the flapping threshold from a single value based on counters and half-life values. Icinga 2 compares the value with a single flapping threshold configuration attribute named `flapping_threshold`. diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 588617ac0..b3227a865 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -223,7 +223,7 @@ disk_local | **Optional.** Only check local filesystems. May be true disk_stat_remote_fs | **Optional.** Only check local filesystems against thresholds. Yet call stat on remote filesystems to test if they are accessible (e.g. to detect Stale NFS Handles). Myy be true or false disk_mountpoint | **Optional.** Display the mountpoint instead of the partition. May be true or false. disk_megabytes | **Optional.** Same as --units MB. May be true or false. -disk_all | **Optional.** Explicitly select all paths. This is equivalent to -R '.*'. May be true or false. +disk_all | **Optional.** Explicitly select all paths. This is equivalent to -R '.\*'. May be true or false. disk_eregi_path | **Optional.** Case insensitive regular expression for path/partition (may be repeated). disk_ereg_path | **Optional.** Regular expression for path or partition (may be repeated). disk_ignore_eregi_path | **Optional.** Regular expression to ignore selected path/partition (case insensitive) (may be repeated). @@ -510,7 +510,7 @@ Name | Description ----------------|-------------- ldap_address | **Optional.** Host name, IP Address, or unix socket (must be an absolute path). Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise. ldap_port | **Optional.** Port number. Defaults to 389. -ldap_attr | **Optional.** LDAP attribute to search for (default: "(objectclass=*)" +ldap_attr | **Optional.** LDAP attribute to search for (default: "(objectclass=\*)" ldap_base | **Required.** LDAP base (eg. ou=myunit,o=myorg,c=at). ldap_bind | **Optional.** LDAP bind DN (if required). ldap_pass | **Optional.** LDAP password (if required). @@ -1514,7 +1514,7 @@ snmp_authprotocol | **Optional.** SNMP version 3 authentication protocol. snmp_privpass | **Required.** SNMP version 3 priv password. No value defined as default.. snmp_warn | **Optional.** The warning threshold. snmp_crit | **Optional.** The critical threshold. -snmp_process_name | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".*". +snmp_process_name | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".\*". snmp_perf | **Optional.** Enable perfdata values. Defaults to true. snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds. @@ -1758,7 +1758,7 @@ ipmi_config_file | **Optional.** Path to the FreeIPMI configurat ipmi_username | **Optional.** The IPMI username. ipmi_password | **Optional.** The IPMI password. ipmi_privilege_level | **Optional.** The IPMI privilege level of the IPMI user. -ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate"). +ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.\* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate"). ipmi_sensor_type | **Optional.** Limit sensors to query based on IPMI sensor type. Examples for IPMI sensor types are 'Fan', 'Temperature' and 'Voltage'. ipmi_exclude_sensor_id | **Optional.** Exclude sensor matching ipmi_sensor_id. ipmi_sensor_id | **Optional.** Include sensor matching ipmi_sensor_id. @@ -2058,8 +2058,8 @@ Name | Description mem_used | **Optional.** Tell the plugin to check for used memory in opposite of **mem_free**. Must specify one of these as true. mem_free | **Optional.** Tell the plugin to check for free memory in opposite of **mem_used**. Must specify one of these as true. mem_cache | **Optional.** If set to true plugin will count cache as free memory. Defaults to false. -mem_warning | **Required.** Specifiy the warning threshold as number interpreted as percent. -mem_critical | **Required.** Specifiy the critical threshold as number interpreted as percent. +mem_warning | **Required.** Specify the warning threshold as number interpreted as percent. +mem_critical | **Required.** Specify the critical threshold as number interpreted as percent. #### running_kernel diff --git a/doc/8-cli-commands.md b/doc/8-cli-commands.md index 0ec471bfd..e17b419cf 100644 --- a/doc/8-cli-commands.md +++ b/doc/8-cli-commands.md @@ -628,7 +628,7 @@ Or manually passing the `-C` argument: > > `# icinga2 daemon -C` -If you encouter errors during configuration validation, please make sure +If you encounter errors during configuration validation, please make sure to read the [troubleshooting](16-troubleshooting.md#troubleshooting) chapter. You can also use the [CLI command](8-cli-commands.md#cli-command-object) `icinga2 object list` diff --git a/doc/9-icinga2-api.md b/doc/9-icinga2-api.md index bbbfbf931..d8ce9211f 100644 --- a/doc/9-icinga2-api.md +++ b/doc/9-icinga2-api.md @@ -211,7 +211,7 @@ Available permissions for specific URL endpoints: events/<type> | /v1/events | No console | /v1/console | No -The required actions or types can be replaced by using a wildcard match ("*"). +The required actions or types can be replaced by using a wildcard match ("\*"). ### Parameters -- 2.40.0