Ad Widget

Collapse

Change separator for UserParameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sasha
    Zabbix developer
    • Sep 2007
    • 60

    #16
    Please use quotation marks.
    Example: UserParameter="key[*]","command $1,$2"
    ZABBIX Developer
    Riga, Latvia

    Comment

    • nelsonab
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2006
      • 1233

      #17
      Is this also fixed for remote commands, not just user parameters? That's what the original bug request was for. ie:
      command arg1,arg2,arg3
      RHCE, author of zbxapi
      Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
      Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

      Comment

      • Sasha
        Zabbix developer
        • Sep 2007
        • 60

        #18
        Yes, this is fixed for user parameters and remote commands.
        ZABBIX Developer
        Riga, Latvia

        Comment

        • nelsonab
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2006
          • 1233

          #19
          Originally posted by Sasha
          Yes, this is fixed for user parameters and remote commands.
          Yeah! I'll give it a try with the use case that broke it in the first place sometime. :-)
          RHCE, author of zbxapi
          Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
          Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

          Comment

          • BFGoodrich
            Junior Member
            • Nov 2005
            • 9

            #20
            Can you escape the " character

            Is there any way to escape the doube quote " itself? I have an mbean in tomcat 7 that specifies quotes be around the mbean name.

            full mbean ObjectName
            Catalina:type=GlobalRequestProcessor,name="http-bio-8080""

            Comment

            • BFGoodrich
              Junior Member
              • Nov 2005
              • 9

              #21
              Re:Can you escape the " character

              In response to myself, I misread the log, the typical escape charcter "\" works without issue.

              Comment

              Working...