Commit Graph

1051 Commits

Author SHA1 Message Date
Christian Birk 98a97026f4 Add "check_mysql_query" CheckCommand definition
fixes #12314

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-08 15:16:38 +02:00
Gunnar Beutner 1cd8a25ab2 Add the "exception" check command
refs #10075
2016-08-08 12:51:20 +02:00
Mirko Nardin 52f83ca7e6 Add the "-e" parameter for the SNMP check command
fixes #11359

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-05 14:50:44 +02:00
Dirk Goetz 03b8514606 Add a check command for check_breeze
Add a check command for check_flexlm
Add a check command for check_game

refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz a8b7bdc633 Add a check command for check_ide_smart
refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz c999badd14 Add a check command for check_file_age.
Add a deprecation note for check_ldaps to check_ldap.

refs #6225
2016-08-03 11:32:41 +02:00
Uwe Ebel b2ac05ad7d Make the minimum TLS protocol version configurable
The ApiListener accepts all TLS versions that the underlying
OpenSSL library supports. This patch give the ability to restrict
the connection to a minimum TLS version.

fixes #11292

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-03 07:46:50 +02:00
Michael Friedrich 19fb71ed7c Docs: Fix API permissions for status/query
fixes #12259
2016-07-29 17:00:36 +02:00
Markus Waldmüller 6d082e61ae Add check command definition for check_graphite
fixes #12256

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-29 11:38:57 +02:00
Gunnar Beutner ee75094128 Change how Array#reduce works
refs #12247
2016-07-29 11:09:46 +02:00
Gunnar Beutner a3815e4efd Add map/reduce and filter functionality for the Array class
fixes #12247
2016-07-29 10:48:15 +02:00
Simon Murray 84ea0065b2 Fix InfluxdbWriter Trailing Backslash
Backslashes escape spaces or commas (and evidently equals), given tags are
separated by commas, tag keys and values are separated by equals and tags
are separated from fields by a space we need to take action when these end
in a backslash e.g. 'C:\'.  Also discovered a bug whereby the metric tag was
missing out on escaping.

fixes #12227

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-29 06:51:33 +02:00
Michael Friedrich f2bacb2697 Docs: Improve yum CheckCommand
fixes #12204
2016-07-25 17:33:19 +02:00
Jo Goossens 1a85cfe427 ITL: Add missing parameters for (latest) mysql_health
fixes #12221

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-25 17:23:53 +02:00
Michael Friedrich 162931a1b4 Docs: Better explaination for zones.d and apply rule workaround
refs #12217
2016-07-25 15:38:50 +02:00
Michael Friedrich 3f9dfcb57a Docs: Add a note for three level clusters with CSR auto-signing
fixes #12219
2016-07-25 10:56:14 +02:00
Michael Friedrich 463beb9aa8 Fix incorrect documentation about apply rules in zones.d directories
Provides an example how it is done too.

fixes #12217
2016-07-25 10:56:14 +02:00
Manuel Reiter 77f59887c1 Add support for "-A" command line switch to CheckCommand "snmp-process"
Support for "-A" command line switch to CheckCommand "snmp-process" added in
command-plugins-manubulon.conf. Further details can be found in issue #12189.

fixes #12189

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-21 16:31:18 +02:00
Uwe Ebel 1ca8b293cb Make the cipher list configurable for TLS streams
fixes #11063

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-18 13:40:00 +02:00
Michael Friedrich b0e6eb0ca4 ITL: Fix thresholds and descriptions for iftraffic{,64}
refs #12135
2016-07-12 18:39:57 +02:00
Michael Friedrich 172b57e895 ITL: Add iftraffic64 and fix iftraffic CheckCommand plugin path
fixes #12135
2016-07-12 12:46:56 +02:00
Michael Friedrich f87f20e9ec DB IDO: Do not populate logentries table by default
Not required by Icinga Web 2 and therefore obsolete as default.

fixes #12106
2016-07-06 11:52:20 +02:00
Michael Friedrich 349ef5ac2c Docs: Add a note on API POST requests not triggering apply/group assign rules
fixes #12077
2016-07-05 13:22:14 +02:00
Michael Friedrich 208fd535d4 Docs: Fix 'Setting up plugins' section
Seems the markdown parser is pretty much
not liking those notes. Removed it on the snapshot
tree, works again.

fixes #12067
2016-06-28 17:48:08 +02:00
Jan Wagner 513da927f1 Fix typo in Manubulon CheckCommand documentation
fixes #12046
2016-06-27 10:05:20 +02:00
Michael Friedrich c688a94f8a API: Add missing downtime_depth attribute
fixes #12041
2016-06-25 17:32:12 +02:00
Michael Friedrich 3a1023a954 Docs: Add a note about cluster-zone log lag thresholds.
refs #11772
2016-06-24 11:27:49 +02:00
Michael Friedrich 1451a0e5ad Add lag thresholds to cluster-zone check
fixes #11772
2016-06-24 10:33:04 +02:00
Michael Friedrich 091274e417 Change DB IDO 'categories' attribute to Array notation
Example:
    categories = [ "DbCatProgramStatus", "DbCatState" ]

The old method with constants and OR is still supported but deprecated.

refs #11445
fixes #12024
2016-06-23 14:55:01 +02:00
Michael Friedrich 5961b05e13 Fix: Migration docs still show unsupported CHANGE_*MODATTR external commands
fixes #12029
2016-06-23 13:27:00 +02:00
Michael Friedrich 7077ca1a53 Add acknowledgement type to Graphite, InfluxDB, OpenTSDB metadata
fixes #12018
2016-06-23 13:04:23 +02:00
Michael Friedrich 6659b2e908 Docs: Fix URL formatting in Icinga 2 client chapter
refs #12027
2016-06-23 10:30:59 +02:00
Michael Friedrich f2edbc59cf Docs: Add a note about creating Zone/Endpoint objects with the API
fixes #12008
2016-06-22 09:55:51 +02:00
Lennart Betz ba24f7b912 Add check commands kdc and rbl
fixes #12006

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:21:18 +02:00
Michael Friedrich 85b8f5d085 Docs: Fix wrong URL for API examples
fixes #11991
2016-06-20 15:36:20 +02:00
Lennart Betz 05f13b8c6b Add check command for plugin check_apache_status
fixes #11970

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-20 08:16:19 +02:00
Lennart Betz 765e91dcaf ITL: Add more parameters for nscp-local check commands
nscp-local-cpu, -memory, -disk, -service and -counter

fixes #9264

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-17 15:07:42 +02:00
Michael Friedrich ff0c44d435 Update documentation for vim/nano syntax highlighting
fixes #8401
2016-06-17 14:16:17 +02:00
Markus Frosch af906e2b8b Update vim and nano syntax docs for Debian/Ubuntu
refs #8401
2016-06-17 13:07:39 +02:00
Dirk Goetz 916537b33a RPM: Add packages for syntax highlighting
refs #8401
2016-06-17 13:07:21 +02:00
Gunnar Beutner c99fb68c2d Implement support for getting a list of global variables from the API
fixes #11955
2016-06-16 08:38:15 +02:00
Gunnar Beutner 28dee2b79b Improve filter support for /v1/templates
refs #11941
2016-06-16 08:38:15 +02:00
Jan Wagner 5e3ea4720f ITL: Add option for ifName to Manubulon CheckCommand 'snmp_interface'
Recent Net-SNMP's snmpd daemon has changed behavior returning detailed
information about the network interfaces in the IF-MIB::ifDescr MIB.

There is a patch out there that is working around the issue (see also
https://bugs.debian.org/812837) by providing the behaviour via '-N'.

This path provides a way to make use of this workaround.

fixes #11931

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-15 18:02:36 +02:00
Gunnar Beutner ace6882b59 Implement support for retrieving a list of templates from the API
fixes #11941
2016-06-15 07:41:51 +02:00
Simon Murray 2e8c8809ea Add service metadata to InfluxDB Writer
Adds a new configuration variable in keeping with the graphite writer
which defaults to false to save network bandwidth.  All metrics currently
supported by graphite are now available to InfluxDB.  I added in some
formatting functions, to handle integers and booleans as we know and
control their types, and the supporting regexes in the sanity checker.

Updating to InfluxDB 0.13.X started giving 400 errors due to the missing
Host header in HTTP/1.1 requests.  HttpRequest has been updated to auto-
magically add the host and port to these requests if not explicitly
stated by the client code.

The exception code has been cleaned up to break out of the function
early if such a condition is raised, this avoids unnecessarily executing
code which will ultimately fail.

fixes #11912

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-08 13:23:52 +02:00
Simon Murray 899592c8ad Update InfluxDB line formatting
Fixes a couple issues to do with line formatting of influx DB data points.  All
keys and values need commas and white space escaping.  Values are also checked
for type.  If a numeric or scientific value is detected this is output as an
Influx floating point/scientific number.  Booleans are detected and output in
a canonical format.  All other values are strings, which have double quotes
escaped and the entire string is wrapped in double quotes.  The handling of
thresholds has changed before this becomes officially released.  These values
if available are passed to the accumulation function in a dictionary, said
dictionary builds a single data point with multiple fields, rather than the
existing 5 data points, thus saving bandwidth costs.

fixes #11904

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-08 11:01:23 +02:00
Gunnar Beutner 0eb0992d5e Fix custom notifications in a HA zone
fixes #9242
2016-06-07 12:44:12 +02:00
Jens Schanz 244bdd97aa Update documentation for the log_duration attribute
fixes #11905
2016-06-07 08:26:31 +02:00
Evgeni Golov 6e77c7e56f Docs: Fix formatting of client reload cli command
fixes #11903

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-06 14:02:59 +02:00
Claudio Kuenzler f125cdf595 ITL: Add CIM port parameter for esxi_hardware CheckCommand
fixes #11869

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-06 13:46:52 +02:00