[icinga-users] Trying to use API

2018-02-12 Thread Jayapandian Ponraj
Hey, We are using icinga2-2.6.0 and facing an issue while adding hosts via api. The host addition is successful till we create hosts with a var used certain services. For example we have a service dependant on "assing where host.vars.remote_client" and when we create the host with vars.remote_clie

[icinga-users] Setting a default notes url

2018-02-10 Thread Jayapandian Ponraj
Hi I would like to set a default notes_url in service template and then override it per service based on the service_name or a custom attribute. For e.g. template Service "generic-service" { max_check_attempts = 3 check_interval = 5m retry_interval = 1m enable_perfdata = true *notes_url

Re: [icinga-users] Array of host objects

2017-12-21 Thread Jayapandian Ponraj
back if I get anything to add to this. On 21 December 2017 at 13:35, Michael Friedrich < michael.friedr...@icinga.com> wrote: > > > > On 21. Dec 2017, at 09:02, Joosten, Markus > wrote: > > > > Am 2017-12-21 04:20, schrieb Jayapandian Ponraj: > >> Th

Re: [icinga-users] Array of host objects

2017-12-20 Thread Jayapandian Ponraj
On 20-Dec-2017 8:55 PM, "Michael Friedrich" wrote: > On 20. Dec 2017, at 15:57, Jayapandian Ponraj wrote: > > Is it possible to assing an array of host objects to a service object ? > > In icinga1 we could add multiple hosts separated by commas. Is it still possib

[icinga-users] Array of host objects

2017-12-20 Thread Jayapandian Ponraj
Is it possible to assing an array of host objects to a service object ? In icinga1 we could add multiple hosts separated by commas. Is it still possible in icinga2? If not are there any alternatives ? Icinga1 Doc: host_name: This directive is used to specify the short name(s) of the host(

[icinga-users] Not able to use manually added files in PliginDir

2017-11-27 Thread Jayapandian Ponraj
I just setup a command like the following object CheckCommand "check_ls" { import "plugin-check-command" command = [ "/bin/ls", PluginDir ] } The resulting output has only the files fetched from the monitoring-plugins but the files which are directly added on the PluginDir directory is no

[icinga-users] Running arbitrary checks

2017-11-20 Thread Jayapandian Ponraj
Whats the best way to run arbitrary checks from arbitrary commands without actually defining a "check_command"? There are a couple of ways i can think of * use "by_ssh" and provide the arbitrary command as parameter.. * create a check command with "/bin/bash" and pass the command as parameter. Am

Re: [icinga-users] Should the clients listen on port 5665

2017-09-11 Thread Jayapandian Ponraj
The issue was unrelated to this. The error was CSRF error.. On 11 September 2017 at 18:05, Markus Frosch wrote: > On 31.08.2017 16:33, Jayapandian Ponraj wrote: > > I have set bind_host to localhost. > > I then checked and found that the checks are executed according to >

Re: [icinga-users] Should the clients listen on port 5665

2017-08-31 Thread Jayapandian Ponraj
27, Markus Frosch wrote: > On 30.08.2017 16:37, Antony Stone wrote: > > On Wednesday 30 August 2017 at 16:20:54, Jayapandian Ponraj wrote: > > > >> Hi > >> > >> Should the clients listen on port 5665, even if the connection > direction is > >>

[icinga-users] Should the clients listen on port 5665

2017-08-30 Thread Jayapandian Ponraj
Hi Should the clients listen on port 5665, even if the connection direction is "from client to master" ? ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

Re: [icinga-users] Icingaweb2 slows down with external auth

2017-08-28 Thread Jayapandian Ponraj
This happens as a result of this issue https://github.com/Icinga/icingaweb2/issues/2233 so the reloadCss is called without an if condition to check if the theme changed Can someone point me how to get the current theme... in Auth.php On 14 August 2017 at 10:51, Jayapandian Ponraj wrote: >

[icinga-users] Which objects varible has more precedence

2017-08-18 Thread Jayapandian Ponraj
Can someone point me to the documentation for finding wich objects's variable takes more precedence ? ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

Re: [icinga-users] Icinga2 + director + puppetdb module

2017-05-29 Thread Jayapandian Ponraj
Thanks for the response.. My reply inline... On 26 May 2017 at 17:32, Thomas Gelf wrote: > Hi, > > Director/PuppetDB module author here - so I might be biased ;-) > > Am 26.05.2017 um 13:19 schrieb Jayapandian Ponraj: > >> * setup 1: I see that the import of all nodes fr

[icinga-users] Icinga2 + director + puppetdb module

2017-05-26 Thread Jayapandian Ponraj
Hi I have a couple of questions with Icinga2 + director + puppetdb module combination * setup 1: I see that the import of all nodes from puppetdb (1K+) in our setup takes a huge amount of time and works only when php is given insane amount of memory(1G+). Is this normal ? has anyone tried it? *

Re: [icinga-users] Significance of command_endpoint attribute in host object

2017-04-10 Thread Jayapandian Ponraj
On 10 April 2017 at 19:06, Antony Stone wrote: > On Monday 10 April 2017 at 15:19:46, Jayapandian Ponraj wrote: > > > Hi > > > > Can someone explain the significance of command_endpoint attribute in the > > host object? > > It's the machine which runs the

[icinga-users] Significance of command_endpoint attribute in host object

2017-04-10 Thread Jayapandian Ponraj
Hi Can someone explain the significance of command_endpoint attribute in the host object? The command_endpoint in service object says where to executed the check but I can't find a use case for the same attribute in host object. As of now am using it like the following: apply service abc { app

[icinga-users] pushing config from client nodes to master icinga

2015-12-01 Thread Jayapandian Ponraj
Hi, I have been trying to setup an architecture where the configuration of the nodes/servers is in the servers themselves and then propagated to the master internally by icinga. I have a few questions in this regard. 1) Is there a way to auto accept the config from satellite nodes without running