View Full Version : 1.1beta5 broke user parameters
navtek007
04-01-2006, 07:54
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
04-01-2006, 13:48
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.
navtek007
04-01-2006, 23:15
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?
navtek007
06-01-2006, 05:42
im still having an issue with this in case anyone has any other ideas?
cameronsto
06-01-2006, 16:26
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
navtek007
08-01-2006, 23:44
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?
navtek007
09-01-2006, 00:27
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?
navtek007
09-01-2006, 00:32
Yet another update. If i change the item type a character it works fine. but obviously this is no good.
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,
Might have been a false positive on the 64 bit integer data type - I'm switching back to character.
Any updates on a fix?
rvillaca
12-01-2006, 14:51
I'm having the same issue,
Any updates on that?
Thanks,
Rodrigo
navtek007
16-01-2006, 23:43
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
Sorry, no updates on this so far.
cameronsto
29-01-2006, 19:04
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
cameronsto
29-01-2006, 20:17
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
navtek007
06-03-2006, 02:56
Has this been fixed in beta 7?