fail send notification to ms.teams

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

fail send notification to ms.teams

Post by sacom01 »

i have config send notification to ms.teams and run test in the command but getting error.
pls help this:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests-2.25.0-py3.6.egg/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3-1.26.2-py3.6.egg/urllib3/connectionpool.py", line 756, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.6/site-packages/urllib3-1.26.2-py3.6.egg/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='myhost.webhook.office.com', port=443): Max retries exceeded with url: /webhookb2/0ef240e6-b5c1-4337-8e61-wdegwwf@43a92d1d-98ce-4726-bec3-32955dbb6944/IncomingWebhook/wewfsger567587879/9294580b-a464-4115-af8f-24567892224 (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden',)))
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: fail send notification to ms.teams

Post by benjaminsmith »

HI @sacom01,

You're getting a 403 HTTP status error which means that the client understands the request but it did not authorize it. There's a permissions/authorization issue when connecting to the server.

I would reach out to your admin for ms teams at your company. I'm assuming you are using some kind fo API key to connect, you may need to check or configure the settings/credentials.

Let me know what you find out.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Re: fail send notification to ms.teams

Post by sacom01 »

it's work fine after do open port 443 between 2 servers.
thank you.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: fail send notification to ms.teams

Post by benjaminsmith »

Hi,

Good to hear that's working now!

We'll go ahead and close this out, but feel free to open another if you have any new questions.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked