Sehr geehrte Damen und Herren, in der Zeit vom 21.09.2015 bis einschließlich 02.10.2015 befinde ich mich nicht im Büro.
Beachten Sie bitte, dass Ihre EMail nicht automatisch weitergeleitet wird. In dringenden Fällen wenden Sie sich bitte an unsere Hotline, 0203-378530, oder an Herrn Hesselmann (hesselm...@opm-computer.de). Mit freundlichen Grüßen Ronny Bär OPM EDV Service GmbH Send icinga-users mailing list submissions to icinga-users@lists.icinga.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.icinga.org/mailman/listinfo/icinga-users or, via email, send a message with subject or body 'help' to icinga-users-requ...@lists.icinga.org You can reach the person managing the list at icinga-users-ow...@lists.icinga.org When replying, please edit your Subject line so it is more specific than "Re: Contents of icinga-users digest..." Today's Topics: 1. Downtime applying for one range but not the other. (Henti Smith) 2. Monitoring SSL server (Ron Clark) 3. Re: Monitoring SSL server (Michael Friedrich) 4. Re: Icinga2 - how to display services from an existing Icinga1 server (Paul C) ---------------------------------------------------------------------- Message: 1 Date: Mon, 21 Sep 2015 12:50:50 +0200 From: Henti Smith <he...@geekware.co.za> To: "Icinga User's Corner" <icinga-users@lists.icinga.org> Subject: [icinga-users] Downtime applying for one range but not the other. Message-ID: <CAC_HdUpcyWbVUJG69AQ+9opUTJ4Xo7Eb=udzf80aqfh-tnq...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi there, We have a server that checks backups to ensure they are valid. The process runs every Tuesday and Thursday from 11:00 till around 21:00. Normally load on the server is low so we set the load monitoring accordingly, but during validation the load spikes. To mitigate the notifications I put downtime in place : apply ScheduledDowntime "vldb-valid" to Service { author = "operations" comment = "Scheduled downtime for verilend backup validation" ranges = { monday = "11:00-21:00" //tuesday = "00:00-11:00" thursday = "11:00-21:00" //friday = "00:00-11:00" } assign where host.name == "prd-qua-uk-vldbvalid.domain.com" && match("load", service.name) } >From what I can see this is valid and should work. The problem is the monday range is not applied. On Mondays the load spikes and I get notifications. The objects looks fine as well: Object 'prd-qua-uk-vldbvalid.domain.com!load!vldb-valid' of type 'ScheduledDowntime': % declared in '/etc/icinga2/conf.d/downtimes.conf', lines 22:1-22:47 * __name = "prd-qua-uk-vldbvalid.domain.com!load!vldb-valid" * author = "operations" % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 23:3-23:23 * comment = "Scheduled downtime for verilend backup validation" % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 24:3-24:63 * duration = 0 * fixed = true * host_name = "prd-qua-uk-vldbvalid.domain.com" % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 22:1-22:47 * name = "vldb-valid" * ranges % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 26:3-31:3 * monday = "11:00-21:00" * thursday = "11:00-21:00" * service_name = "load" % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 22:1-22:47 * templates = [ "vldb-valid" ] % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 22:1-22:47 * type = "ScheduledDowntime" * vars = null * zone = "prd-qua-uk-vldbvalid.domain.com" % = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 22:1-22:47 Can anybody see what I might be missing ? Regards Henti -- -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20150921/f35ccf44/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 21 Sep 2015 14:50:59 +0000 (UTC) From: Ron Clark <ronj_cl...@yahoo.com> To: Icinga User's Corner <icinga-users@lists.icinga.org> Subject: [icinga-users] Monitoring SSL server Message-ID: <686820027.931048.1442847059871.javamail.ya...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" All,? I am trying to monitor a server that is an ssl/https server, that is running Splunk. Here is my conf file: object Host "server9" {? address = "10.11.80.109"? groups = [ "splunk-search-heads" ] ? check_command = "hostalive"? check_command = "ssh"} object CheckCommand "check_http" {? import "plugin-check-command" ? command = [ PluginDir + "/check_http" ] ? arguments = {? ? "-H" = "$http_vhost$"? ? "-I" = "$http_address$"? ? "-u" = "$http_uri$"? ? "-p" = "$http_port$"? ? "-S" = {? ? ? set_if = "$http_ssl$"? ? }? ? "--sni" = {? ? ? set_if = "$http_sni$"? ? }? ? "-a" = {? ? ? value = "$http_auth_pair$"? ? ? description = "Username:password on sites with basic authentication"? ? }? ? "--no-body" = {? ? ? set_if = "$http_ignore_body$"? ? }? ? "-r" = "$http_expect_body_regex$"? ? "-w" = "$http_warn_time$"? ? "-c" = "$http_critical_time$"? ? "-e" = "$http_expect$"? } ? vars.http_address = "$address$"? vars.http_ssl = true? vars.http_sni = false} Ping and ssh are working, however this SSL part is not. Can anyone tell me if I am missing something in my config?? Thank you in advance! Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20150921/b7f7a044/attachment-0001.html> ------------------------------ Message: 3 Date: Mon, 21 Sep 2015 14:58:03 +0000 From: Michael Friedrich <michael.friedr...@netways.de> To: "icinga-users@lists.icinga.org" <icinga-users@lists.icinga.org> Subject: Re: [icinga-users] Monitoring SSL server Message-ID: <7fbc0a46-1e87-4c0e-9942-b6416a0f2...@netways.de> Content-Type: text/plain; charset="utf-8" > On 21 Sep 2015, at 16:50, Ron Clark <ronj_cl...@yahoo.com> wrote: > > All, > > I am trying to monitor a server that is an ssl/https server, that is running > Splunk. Here is my conf file: > > object Host "server9" { > address = "10.11.80.109" > groups = [ "splunk-search-heads" ] > > check_command = "hostalive" > check_command = ?ssh" That?s not correct - that way you?ll override your check_command to ?ssh?. Is that what you want for your host?s check command? I?d rather define additional services, like ?ssh? and ?http?. > } > > object CheckCommand "check_http? { Why don?t you use the ?http? CheckCommand provided already by the Icinga 2 ITL? http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/plugin-check-commands#plugin-check-command-http There?s a sample configuration inside the conf.d/services.conf file already for http. You?d probably want to add ?vars.http_ssl = true? inside your service object for ?https? checks then. Kind regards, Michael > import "plugin-check-command" > > command = [ PluginDir + "/check_http" ] > > arguments = { > "-H" = "$http_vhost$" > "-I" = "$http_address$" > "-u" = "$http_uri$" > "-p" = "$http_port$" > "-S" = { > set_if = "$http_ssl$" > } > "--sni" = { > set_if = "$http_sni$" > } > "-a" = { > value = "$http_auth_pair$" > description = "Username:password on sites with basic authentication" > } > "--no-body" = { > set_if = "$http_ignore_body$" > } > "-r" = "$http_expect_body_regex$" > "-w" = "$http_warn_time$" > "-c" = "$http_critical_time$" > "-e" = "$http_expect$" > } > > vars.http_address = "$address$" > vars.http_ssl = true > vars.http_sni = false > } > > > > Ping and ssh are working, however this SSL part is not. Can anyone tell me if > I am missing something in my config? > > Thank you in advance! > > Ron > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users --? Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | michael.friedr...@netways.de ** OSBConf 2015 - September - osbconf.org ** ** OSMC 2015 - November - netways.de/osmc ** ------------------------------ Message: 4 Date: Mon, 21 Sep 2015 16:01:07 -0400 From: Paul C <pkci...@gmail.com> To: "Icinga User's Corner" <icinga-users@lists.icinga.org> Subject: Re: [icinga-users] Icinga2 - how to display services from an existing Icinga1 server Message-ID: <CAADjSE3OZHJx_LLs=ndy19i936+xrbkgs2xflclic530dy+...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I will try the migration approach since we recently got the needed network access to set up another icinga2 server and replace the Icinga1 server. I did experiment with the migration script about 6 months ago but did not try to fix the generated files at that time. Thanks for the heads up. On Thu, Sep 17, 2015 at 1:17 PM, Jo Rhett <jrh...@netconsonance.com> wrote: > Check out https://github.com/Icinga/icinga2-migration > > It?s not the cleanest conversion and generates some funky names, but we > converted a nagios server with roughly 10k customized queries and I only > had to spent maybe 2 hours hacking the output from migration to get the > tests online. There are two issues to be aware of: > > 1. host definitions that are !negative matches get parsed wrong, see > https://dev.icinga.org/issues/9776 > > 2. if you were passing multiple arguments in as a single input string, it > won?t work and you?ll have to separate those to distinct arguments > https://lists.icinga.org/pipermail/icinga-users/2014-May/008241.html > > As stated above, I was able to convert a large site with many custom tests > to work properly under Icinga in small number of hours. Those two hints > will save you most of the time I lost going sideways ;) What you will have > isn?t pretty, but it gets Icinga stood up and allows to you iterate > refactoring to take advantage of Icinga2?s features. > > On Sep 16, 2015, at 6:37 AM, Paul C <pkci...@gmail.com> wrote: > > Icinga2 is proving very flexible with sattelite servers but we have an old > Icinga1 server with lots of customizations that would take a lot of effort > to migrate to Icinga2. Is there a way to push Icinga 1 status file to > icinga2 and it will magically display all the hosts and services? There > are several thousand service definitions on the old box and a firewall > prevents Icinga2 to connect to Icinga1 (but Icinga1 can connect to > Icinga2). > > Thanks, > Paul > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > -- > Jo Rhett > Net Consonance : net philanthropy to improve open source and > internet projects. > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20150921/b89ce74e/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users ------------------------------ End of icinga-users Digest, Vol 21, Issue 39 ******************************************** _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users