Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with a custom command.
#1
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


Attached Files


.png   index.php.png (Size: 12.56 KB / Downloads: 85)
 Reply
#2
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.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnol├│gicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes