Ad Widget

Collapse

1.1beta5 broke user parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • navtek007
    Senior Member
    • May 2005
    • 100

    #1

    1.1beta5 broke user parameters

    I have since upgraded from beta2 to beta5. Since then all my userparameter items are now unsupported. Has anyone else problems with this upgrade?

    Thanks in advanced.
  • matt_voss
    Junior Member
    • Dec 2005
    • 4

    #2
    some had to be adjusted

    Some userparameters had to be adjusted to fit the new syntax of param.info1 as opposed to param[info1]. I also had to adjust some that used awk or ". For example using awk '{print $ 9}' instead of awk '{print $9}' or using single quotes instead of double quotes.

    Also there appears to be something odd where it no longer excepts .22 and requires 0.22 [needs a padded zero for values less than one], or where it doesn't accept negative numbers any more. So I've setup xargs to append zeros, etc. to get around the problems. (it complains in the zabbix server log about "is not sutable" [yes it is not spelled correctly] )

    But yes you _can_ get them working after adjustment.

    By the way this should probably be in the beta section.
    Last edited by matt_voss; 04-01-2006, 14:51.

    Comment

    • navtek007
      Senior Member
      • May 2005
      • 100

      #3
      Using this as my UserParameter:

      UserParameter= vsi.queue, cscript //nologo C:\Progra~1\Zabbix\file_count.vbs

      In my server logs i am getting this error

      ] is not sutable for [vsi.queue@SERVERNAME]d value [14

      Keep in mind that this items is on a windows machine that just executes a scripe. any ideas?
      Last edited by navtek007; 05-01-2006, 00:18.

      Comment

      • navtek007
        Senior Member
        • May 2005
        • 100

        #4
        im still having an issue with this in case anyone has any other ideas?

        Comment

        • cameronsto
          Senior Member
          • Oct 2005
          • 148

          #5
          Do you have the debug level set to '4' in your agent config? If not, set it to 4 and recreate the issue again. Then post a couple lines from your log file so we can see the exact error message.

          -cameron

          Comment

          • navtek007
            Senior Member
            • May 2005
            • 100

            #6
            Ok here is some more info from my log files. I keep getting the following entry:

            [08-Jan-2006 12:21:23] Unable to create process " cscript //nologo C:\Progra~1\Zabbix\file_count.vbs": The system cannot find the file specified.

            Is it the space before the cscript?

            Comment

            • navtek007
              Senior Member
              • May 2005
              • 100

              #7
              I have fixed the issue in my last post from the agent by removing the space before the 'cscript'. However i still get a item not supported from the interface. Also from the logs on the server i still get the following error:

              ] is not sutable for [vsi.queue@NPNT1]d value [27

              So to me it looks like it is getting the value ok from teh client but it seems to append a [ to the value which makes the item fail.

              Any other ideas?

              Comment

              • navtek007
                Senior Member
                • May 2005
                • 100

                #8
                Yet another update. If i change the item type a character it works fine. but obviously this is no good.

                Comment

                • mpeide
                  Junior Member
                  • Jul 2005
                  • 21

                  #9
                  1.1beta5 broke UserParameters

                  I tried switching to my WIN32 userparameters to "character" data type and then they started working.

                  I then proceeded to try "Numeric(Integer 64 Bit)" and my WIN32 user parameters started working.

                  Cheers,

                  Comment

                  • mpeide
                    Junior Member
                    • Jul 2005
                    • 21

                    #10
                    1.1beta5 broke UserParameters

                    Might have been a false positive on the 64 bit integer data type - I'm switching back to character.

                    Any updates on a fix?

                    Comment

                    • rvillaca
                      Member
                      • Sep 2005
                      • 33

                      #11
                      Error

                      I'm having the same issue,

                      Any updates on that?

                      Thanks,

                      Rodrigo

                      Comment

                      • navtek007
                        Senior Member
                        • May 2005
                        • 100

                        #12
                        has anyone found a fix for this issue yet? Is it a known bug that will be fixed in the next release or just certain environments?

                        Thanks

                        Comment

                        • Alexei
                          Founder, CEO
                          Zabbix Certified Trainer
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Sep 2004
                          • 5654

                          #13
                          Sorry, no updates on this so far.
                          Alexei Vladishev
                          Creator of Zabbix, Product manager
                          New York | Tokyo | Riga
                          My Twitter

                          Comment

                          • cameronsto
                            Senior Member
                            • Oct 2005
                            • 148

                            #14
                            When I start up zabbix_agentd I see errors like below for all my custom parameters:
                            013964:20060129:131356 Can't add user specifed key "mysql[ping]". Incorrect key!
                            013964:20060129:131356 Can't add user specifed key "mysql[uptime]". Incorrect key!
                            013964:20060129:131356 Can't add user specifed key "mysql[threads]". Incorrect key!
                            ...
                            I changed the actions of these parameters from the default ones, but I'm not sure why they aren't working. Has anyone had similar errors?

                            -cameron

                            Comment

                            • cameronsto
                              Senior Member
                              • Oct 2005
                              • 148

                              #15
                              Figured it out from the other posts on the forum. Needed to change my UserParameter values from mysq[ping] to mysql.ping[*] and use that value in the Item in the web interface.

                              -cameron

                              Comment

                              Working...