Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6227

global script numeric parameters have non-numeric symbols silently discarded

XMLWordPrintable

      if an invalid global script request is sent where some id (node, script, host) has extra non-numeric symbols added, they are silently discarded and the command executed as if those symbols were not present at all. bad

      14917:20130207:150120.498 Trapper got [

      {"request":"command","nodeid":0,"scriptid":"1aaaa","hostid":"10093"}

      ] len 68
      14917:20130207:150120.498 In node_process_command()
      14917:20130207:150120.498 In execute_script() scriptid:1 hostid:10093
      14917:20130207:150120.498 query [txnlev:0] [select host,name from hosts where hostid=10093]
      14917:20130207:150120.499 In zbx_execute_script()
      14917:20130207:150120.499 In DBget_script_by_scriptid()
      14917:20130207:150120.499 query [txnlev:0] [select type,execute_on,command,groupid from scripts where scriptid=1]

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: