Hi team,
I am integrating NagioXI with Slack. I have followed below document to integrate nagiosxi with slack.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Every thing is fine, but i need to call slack through proxy, and problem is here.
we usually config nagios.pl file like this
my $opt_domain = "foo.slack.com";
i setup a proxy to call foo.slack.com through foo.slack.local:8088, it worked
but when i config nagios.pl
my $opt_domain = "foo.slack.local:8088";
then i use check command, slack say it cant connect to "foo.slack.local:8088"
is that nagios not support proxy port, or im missing anything?
i really need ur help.
thks all!
Problem in integration Slack with proxy
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem in integration Slack with proxy
looking at the nagios.pl it makes the call to
when you tested the proxy was it using https:// ?
How is the proxy setup? Does the nagios user on the XI server have access?
Code: Select all
my $req = POST("https://${opt_domain}/services/hooks/nagios?token=${opt_token}", \%event);
How is the proxy setup? Does the nagios user on the XI server have access?