Re: [icinga-users] mail notification not sent

2015-06-03 Thread Tejas Gadaria
Hi Markus and Daniel, It was not enclosed in "$" sign, I don't understand why it showed up with "$" sign in log. Also as newbie I am not aware on how to configure email notification for clients. I can post the snippet you want to analyze. I have setup smtp relay, but i am not getting any notifica

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Markus Joosten
Hi Tejas, please show us your icingaadmin user object, especially the part where you defined the email address. Icinga2 is telling you that it isn't able to send the mail, which is why you don't receive any: [2015-06-01 08:00:06 -0500] warning/PluginNotificationTask: Notification command for o

Re: [icinga-users] Example Config of icinga2

2015-06-03 Thread Michael Friedrich
Am 30.05.2015 um 13:48 schrieb Daniel Bossert: Hi all I'm relatively new to nagios & icinga2. I once had installed nagios and know more or less how to configure a host and parent relationships etc. However, I have many difficulties with icinga2. It is the new object oriented thing; which certai

Re: [icinga-users] icinga2 hotstandby setup

2015-06-03 Thread Michael Friedrich
Hi, Am 02.06.2015 um 18:02 schrieb Vijay Kakadiya: Thanks Michael. Active Active would work for me. But I am not able to get documentation. I am sending you hand drawn diagram. Please let me know your thoughts and also if you know any documents link that helps to achieve it. It would be great

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Michael Friedrich
Am 03.06.2015 um 09:10 schrieb Tejas Gadaria: Also as newbie I am not aware on how to configure email notification for clients. I can post the snippet you want to analyze. Still waiting for it. I suspect wrong configuration in the first place. Please add Host, Service, Notification, User (eith

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Tejas Gadaria
Hi Markus *object User "Tejas" { import "generic-user" enable_notifications = true states = [ OK, Warning, Critical ] types = [ Problem, Recovery ] display_name = "Tejas Gadaria" groups = [ "icingaadmins" ] email = "refond.g...@gmail.com "}* *object UserGroup "icingaadmins" { disp

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Michael Friedrich
Am 03.06.2015 um 10:49 schrieb Tejas Gadaria: Hi Markus object User "Tejas" { import "generic-user" enable_notifications = true states = [ OK, Warning, Critical ] types = [ Problem, Recovery ] display_name = "Tejas Gadaria" groups = [ "icingaadmins" ] email = "refond.g...@gmail.com

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Tejas Gadaria
Does icinga2 uses "sendmail" to send email notification? because I have setup SMTP relay on on postfix. Regards. Tejas On Wed, Jun 3, 2015 at 2:27 PM, Michael Friedrich < michael.friedr...@netways.de> wrote: > Am 03.06.2015 um 10:49 schrieb Tejas Gadaria: > > Hi Markus > > > > > > > > > > *ob

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Tejas Gadaria
Thanks everyone! I was using my mail id instead of USEREMAIL = "$user.email$" Problem resolved. Regards, Tejas On Wed, Jun 3, 2015 at 3:54 PM, Tejas Gadaria wrote: > Does icinga2 uses "sendmail" to send email notification? because I have > setup SMTP relay on on postfix. > > Regards. > Tejas

Re: [icinga-users] mail notification not sent

2015-06-03 Thread Michael Friedrich
Am 03.06.2015 um 12:24 schrieb Tejas Gadaria: Does icinga2 uses "sendmail" to send email notification? because I have setup SMTP relay on on postfix. icinga2 itself only calls the script mail-service-notification.sh located in /etc/icinga2/scripts by default (you'll configure that inside your

[icinga-users] service configuration error?

2015-06-03 Thread Nobuo Matsushita
Hi, I modified the service.conf to eliminate ssh check for IP address start with 10.10.53 as the follows: apply Service "ssh" { import "generic-service" check_command = "ssh" assign where (host.address || host.address6) && host.vars.os == "Linux" ignore where host.name == "localh