-
PandoraFMS CLI – problems with blanks in the parameter
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
Sorry, there were no replies found.