Hello Guest

Author Topic: Problem with a custom command.  (Read 1289 times)

0 Members and 1 Guest are viewing this topic.

Offline cleonardo89

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Problem with a custom command.
« on: April 08, 2016, 03:44:43 PM »
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

Offline enrique_m

  • Administrator
  • Sr. Member
  • *****
  • Posts: 137
  • Karma: 3
    • View Profile
Re: Problem with a custom command.
« Reply #1 on: August 04, 2016, 01:07:47 AM »
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.