Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Bienvenido a la comunidad de Pandora FMS Forums Community support Advanced troubleshooting PandoraFMS CLI – problems with blanks in the parameter

  • PandoraFMS CLI – problems with blanks in the parameter

    Posted by gbr on diciembre 2, 2011 at 17:33

    Hello,

    I would like to auto-add for all new proc modules an alert with the help of a script.
    I think that the most upgrade/update independent way to do this, is to use the CLI to Pandora (see http://www.openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Anexo_CLI#–create_template_action). I’ve tested this, and it seems to work, but not if you have blanks on any of the parameters. A command example:
    perl /usr/share/pandora_server/util/pandora_manage.pl /usr/share/pandora_server/conf/pandora_server.conf –create_template_action ‘Jabber to Helpdesk’ ‘Critical condition’ ‘ParkingIQ PTZ right’ ‘VM_SRVCCT01’ doesn’t work due to spaces in action parameter and spaces in the module name. Is there a workaround? Are there better ways do achieve my goal? Does anybody has experiance with this?

    regards

    gbr replied 13 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.