NetXMS Support Forum

English Support => General Support => Topic started by: gmonk63 on November 09, 2022, 02:45:04 AM

Title: Notification channel driver for MQTT
Post by: gmonk63 on November 09, 2022, 02:45:04 AM
Looked in the docs and did not see any information on setting up the driver. Is there any other documentation on setting this up ?  I am assuming we can now publish to a mqtt topic which is somthing I have been waiting for. 
Title: Re: Notification channel driver for MQTT
Post by: Filipp Sudanov on November 09, 2022, 05:40:04 PM
Looking at /src/ncdrivers/mqtt/mqtt.cpp, the following parameters should be in channel congit:

/MQTT/Hostname
/MQTT/Port
/MQTT/Login
/MQTT/Password



When sending, recipient becomes the topic and message body becomes the value.


Pls update, if this works for you

Title: Re: Notification channel driver for MQTT
Post by: gmonk63 on November 09, 2022, 10:54:41 PM
the following worked for me  all published messages did go to the recipient as a topic 
Hostname = x.x.x.x
Port = 1883
Login = ""
Password = ""
Title: Re: Notification channel driver for MQTT
Post by: Filipp Sudanov on November 10, 2022, 05:29:57 PM
Great, thanks for the update. Documentation is now updated.