Skip to main content

Hi all !

Centreon 23.04.2 / On premise / Debian 11.

I’ve added a script to get notifications in Google Chat but i can’t configure it correctly.

The script : /usr/lib/centreon/plugins/gchat_notify.sh

If i run the script drom command line (root user or standard user) it work perfectly.

I’ve added a new notification command :

If i click here i receive a empty notification :

 Next, i’ve created a new contact user :

And i’ve added this user to the notification host template (and to the host notificatio to test) :

When the host is down, i don’nt receive any notification but a can see in the logs that the command is executed :

 

Can you explain me where my configuration is wrong ?

Thank’s a lot,

 

JC

Hi !

Problem Solved.

The script : https://github.com/drwestt/Nagios2GoogleChat

My initial command configuration : 

The correct command configuration : 

 


Hi @JCLOPEZ, Thanks for sharing this, I'm sure it will help someone! Cheers,


Reply