Hi,

those are just CheckCommand configuration definitions, you still need the 
plugin scripts.

Kind regards,
Michael

> On 12 Apr 2016, at 15:16, Romaneev Vasily <enter...@yandex.ru> wrote:
>
> Hi, Michael!
>
> Is there any additional perfomance, when using internal manubulon checks, 
> rather than call it with Check Command ?
> Now we have some problem:
> we have 300 hosts and 1CPU server for icinga2.
> We run 3 snmp checks (disk usage, inodes, load average) and 1 http check with 
> parsing response for each host.
>
> This couple of check create big load average and icinga2 can't handle 
> requests in time.
>
> As a temporary solution - we increase check interval.
>
> What is the right direction to fix this:
> * Send results via API
> * Use internal checks, they would be faster. why ?
> * don't check 300 hosts http request, use http-pool
> * just upgrade your server to more CPU. Is there any example - how many 
> checks and how many CPU have the server.
>
>
>
>
>
>
> 12.04.2016, 15:51, "Michael Friedrich" <michael.friedr...@netways.de>:
>> Hi,
>>
>> btw - if you are using the manubulon-snmp check plugins, there are 
>> additional CheckCommand definitions available directly from Icinga 2.
>>
>> http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/plugin-check-commands#snmp-manubulon-plugin-check-commands
>>
>> So you do not necessarily need to create your own CheckCommand definitions :)
>>
>> Kind regards,
>> Michael
>>
>>>  On 12 Apr 2016, at 14:49, Romaneev Vasily <enter...@yandex.ru> wrote:
>>>
>>>  I choose snmp-based checks for agentless checks.
>>>
>>>  Some examples from my config:
>>>  Create check commands - set some default variables
>>>
>>>  object CheckCommand "check_snmp_storage" {
>>>       import "plugin-check-command"
>>>
>>>         command = [ PluginDir + "/check_snmp_storage" ]
>>>         arguments = {
>>>             "-H" = "$address$",
>>>             "-l" = "$snmpv3user$",
>>>             "-x" = "$snmpv3pass$",
>>>             "-m" = "$snmp_disk$",
>>>             "-q" = "$diskType$",
>>>             "-r" = {
>>>                 set_if = "$disk_not_regexp$"
>>>                 description = "Do not use regexp on Disk mountpoint"
>>>             }
>>>             "-w" = "$snmp_disk_w$"
>>>             "-c" = "$snmp_disk_c$"
>>>             "-f" = "$snmp_disk_perf_data$"
>>>             "-R" = "$reserved_root_space$"
>>>         }
>>>             vars.snmpv3user = "snmpv3login"
>>>             vars.snmpv3pass = "snmpv3password"
>>>             vars.snmp_disk = "/"
>>>             vars.diskType = "FixedDisk"
>>>             vars.disk_not_regexp = false
>>>             vars.snmp_disk_perf_data = true
>>>             vars.reserved_root_space = 5
>>>             vars.snmp_disk_w = "90%"
>>>             vars.snmp_disk_c = "95%"
>>>  }
>>>
>>>  Next i apply Service to a hosts:
>>>  apply Service "check_snmp_storage" {
>>>     import "generic-service"
>>>     check_command = "check_snmp_storage"
>>>     check_interval = 1800 /* 10 min*/
>>>     retry_interval = 1800
>>>     max_check_attempts = 2
>>>     #ignore where host.name
>>>     assign where host.name
>>>     assign where host.name == "next-test.com"
>>>     vars.notification["slack_major_storage"] = { devops_channel = [ 
>>> "icingaadmins" ] } /*some notification handlers*/
>>>     vars.notification["slack_service_storage"] = { devops_channel = [ 
>>> "icingaadmins" ] } /*some notification handlers*/
>>>  }
>>>
>>>  12.04.2016, 13:48, "Meti, Shantala (NFV BU)" <shantala.m...@hpe.com>:
>>>>  Thanks.
>>>>
>>>>  How default services like disk, ssh etc works in agentless icinga2.
>>>>
>>>>  I have two VMs where in one VM icinga2 is running and another VM is a 
>>>> spare VM. Icinga2 VM monitors spare VM disk utilization, VM2 (spare VM) is 
>>>> not having any agent running.
>>>>  I am able to monitor spare VM disk utilization without installing nay 
>>>> agent in it. Please can anyone explains how exactly this logics works 
>>>> internally.
>>>>
>>>>  Regards
>>>>  Shantala
>>>>
>>>>  -----Original Message-----
>>>>  From: icinga-users [mailto:icinga-users-boun...@lists.icinga.org] On 
>>>> Behalf Of Romaneev Vasily
>>>>  Sent: Thursday, April 07, 2016 3:04 PM
>>>>  To: Icinga User's Corner <icinga-users@lists.icinga.org>
>>>>  Subject: Re: [icinga-users] How disk monitoring works in icinga2
>>>>
>>>>  
>>>> http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-remote-systems
>>>>  12.4. Agent-based Checks for Linux/Unix
>>>>  The agent runs as daemon and communicates with the master requesting a 
>>>> check being executed or local stored information (SNMP OID). The Icinga 2 
>>>> client continues to execute checks when the connection dies, and does not 
>>>> need the master as check scheduler like the other listed agents.
>>>>  * Icinga 2 Client
>>>>  * SSH
>>>>  * SNMP
>>>>  * NRPE
>>>>
>>>>  Also you can send check results via API.
>>>>  I select snmp-based checks.
>>>>  And now i'm planning on replace snmp with sending results via API.
>>>>
>>>>  07.04.2016, 10:40, "Meti, Shantala (NFV BU)" <shantala.m...@hpe.com>:
>>>>>   Hi,
>>>>>
>>>>>   Please can anyone share the link or explain how disk monitoring of 
>>>>> remote server works in icinga2 for Ubuntu/linux.
>>>>>
>>>>>   Thanks & Regards
>>>>>
>>>>>   Shantala
>>>>>
>>>>>   ,
>>>>>
>>>>>   _______________________________________________
>>>>>   icinga-users mailing list
>>>>>   icinga-users@lists.icinga.org
>>>>>   https://lists.icinga.org/mailman/listinfo/icinga-users
>>>>
>>>>  ------
>>>>   Романеев Василий
>>>>  Мобильный: +7-987-636-62-67
>>>>  skype romaneev
>>>>  _______________________________________________
>>>>  icinga-users mailing list
>>>>  icinga-users@lists.icinga.org
>>>>  https://lists.icinga.org/mailman/listinfo/icinga-users
>>>>  _______________________________________________
>>>>  icinga-users mailing list
>>>>  icinga-users@lists.icinga.org
>>>>  https://lists.icinga.org/mailman/listinfo/icinga-users
>>>
>>>  ------
>>>  Романеев Василий
>>>  Мобильный: +7-987-636-62-67
>>>  skype romaneev
>>>  _______________________________________________
>>>  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
>> CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>> http://www.netways.de | michael.friedr...@netways.de
>>
>> ** OSDC 2016 - April - netways.de/osdc **
>> ** OSBConf 2016 - September - osbconf.org **
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.icinga.org
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>
> ------
> Романеев Василий
> Мобильный: +7-987-636-62-67
> skype romaneev
> _______________________________________________
> 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
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to