Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PandoraFMS CLI - problems with blanks in the parameter
#1
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...ate_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
 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