# Nginx sending notification

**URL:** <https://www.ruby-forum.com/t/nginx-sending-notification/242873>\
**Category:** NGINX\
**Created:** [August 4, 2015, 1:57pm UTC](https://www.ruby-forum.com/t/nginx-sending-notification/242873 "2015-08-04T13:57:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [August 4, 2015, 1:57pm UTC](https://www.ruby-forum.com/t/nginx-sending-notification/242873/1 "2015-08-04T13:57:55Z")

</div>

Hi,  
I want to send a notification from Nginx to another remote server when  
the  
health of any configured upstream server changes. Is there any module  
available for this. I was able to get that working through “salt” , but  
I  
need something better,

Any suggestions??

Regards, Santos

Posted at Nginx Forum:

> **[Nginx sending notification](https://forum.nginx.org/read.php?2,260738,260738#msg-260738)**
>
> Hi, I want to send a notification from Nginx to another remote server when the health of any configured upstream server changes. Is there any module available for this. I was able to get that working through "salt" , but I need something...

---

<div class="post-metadata">

**Author:** ![nginxsantos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nginxsantos](https://www.ruby-forum.com/u/nginxsantos)\
**Post date:** [August 4, 2015, 2:38pm UTC](https://www.ruby-forum.com/t/nginx-sending-notification/242873/2 "2015-08-04T14:38:14Z")

</div>

What about Lua? I could image something with Lua-\>fastcgi sending a GET  
to  
another server via simple tcp with status information the other nginx  
server  
can act upon.

Posted at Nginx Forum:

> **[Re: Nginx sending notification](https://forum.nginx.org/read.php?2,260738,260739#msg-260739)**
>
> Hi, I want to send a notification from Nginx to another remote server when the health of any configured upstream server changes. Is there any module available for this. I was able to get that working through "salt" , but I need something...

---

<div class="post-metadata">

**Author:** ![nginxsantos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nginxsantos](https://www.ruby-forum.com/u/nginxsantos)\
**Post date:** [August 12, 2015, 8:45am UTC](https://www.ruby-forum.com/t/nginx-sending-notification/242873/3 "2015-08-12T08:45:18Z")

</div>

Is there a way I can do a HTTP POST from inside Nginx?

Posted at Nginx Forum:

> **[Re: Nginx sending notification](https://forum.nginx.org/read.php?2,260738,260947#msg-260947)**
>
> Hi, I want to send a notification from Nginx to another remote server when the health of any configured upstream server changes. Is there any module available for this. I was able to get that working through "salt" , but I need something...
