Pandora FMS community forums
Problem with a custom command. - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: General monitoring discussion (http://pandorafms.org/forum/forum-6.html)
+--- Thread: Problem with a custom command. (/thread-7974.html)



Problem with a custom command. - cleonardo89 - 04-08-2016

Hi everyone,
I installed a pandora FMS server in version 6 on Windows Server 2012 r2, I configure the agents and I want to establish the alerts.

I've install Blat in the server for send smtp mail, actually when I run this command in Windows console (cmd) I recieve the email without problems:
D:\PandoraFMS\Pandora_Server\blat\full\blat.exe -to <my_email> -subject Testing -body "Hola Mundo"

I create a new command in the Alert menu (I attach an image of my conf) but when the alert is fired (the alert process is correctly configured) nothing happens.

Could you help me please ?

Thank you


Re: Problem with a custom command. - enrique_m - 08-04-2016

Hi cleonardo89.

It seems there is a problem with the files locations in Windows for the alerts commands. Try adding the location of your file "blat.exe" in your system PATH and running the command:

blat.exe -to <my_email> -subject Testing -body "Hola Mundo"

Hope this can help you.

Kind regards,
Enrique.