On 21.05.2014 18:06, Niranjan Babu Bommu wrote:
Hi, I'm having difficult time to setup pagerduty in incinga2, can any one please help me out on this. I followed these instructions. http://www.pagerduty.com/docs/guides/icinga-integration-guide/
That's written for Icinga 1.x as there is no official final release of Icinga 2 yet. But soon, Beta is up for next.
Creating a notification, a user (and group) as well as notification commands is presumingly easy following the Icinga 2 documentation.
The pagerduty script uses environment variables, but does not tell which ones are required and which are not. You should ask them about it and modify your notification command setting the required environment variables.
Icinga 2 does not export everything into the environment unlike Icinga 1.x does. But rather allows you to define which variable is exported and which macro value should be fetched.
best regards, Michael -- DI (FH) Michael Friedrich [email protected] || icinga open source monitoring https://twitter.com/dnsmichi || lead core developer [email protected] || https://www.icinga.org/team irc.freenode.net/icinga || dnsmichi _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
