Ad Widget

Collapse

Error: Type of received value...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lutek
    Junior Member
    • Mar 2012
    • 3

    #1

    Error: Type of received value...

    I'm using templates

    with Zabbix 1.8.10 (mysql) on debian 6.0.2 x64

    in agent config:
    UserParameter=mysql.Connections,/usr/bin/php /srv/scripts/ss_get_mysql_stats.php --host localhost --items bn | awk -F: '{if (NR!=1) { print $2 }}'

    script returns: 1487900

    in server log i got this error:
    item [HOST:mysql.Connections] became not supported: Type of received value [1487900] is not suitable for value type [Numeric (float)]

    item config in Zabbix attached.

    I tried a lot of changing in item config but without results.

    Is this bug or config mistake?
    Attached Files
  • lutek
    Junior Member
    • Mar 2012
    • 3

    #2
    tried also change return value in: 1487900.0000

    Comment

    • lockev3.0
      Junior Member
      • Jul 2012
      • 6

      #3
      Hi, exactly the same is happening to me and no one is answering my post (http://www.zabbix.com/forum/showthread.php?t=27132)

      As far as I know, me using the Apaloosa Mysql template, I'll tell you :

      Although everything seems to be working fine on agent's side, when server try to poll any item it gets, in my case, the path of the php script used at the agent instead of the data it returns ......do not kno why but that's the twisted point .

      In other words, If I poll from the server

      Code:
      zabbix_get -s <my_mysql_host> -k mysql.Aborted_clients
      I get exactly next return value:

      Code:
      /usr/local/share/zabbix/plugins/ss_get_mysql_stats.php

      However, any other item from any other templates, behaves as expected, returning the numeric value. For instance, If I issue from server :

      zabbix_get -s <my_mysql_host> -k vm.memory.size

      I get 16762970112.


      If I look thru the Configuration-->Template-->Mysql Template--->Items, all are active. However, If I go thru Configuration--->Hosts--->aplication---->Items, all the Mysql items show red/Not Supported with the expected Hint "Type of received value [Usr/local/share/...../ss_get_mysql_stats.php]" is not suitable. ..... Yeahhhhh I know !!! but why such strange literal value is being received ?¿?¿?¿?¿

      too many hours spent with it and yet aint' got a clue

      Comment

      • Davidus
        Senior Member
        • Dec 2010
        • 281

        #4
        I would try create brand new item
        Click image for larger version

Name:	Untitled-1 copy.jpg
Views:	1
Size:	50.9 KB
ID:	311847
        Last edited by Davidus; 17-07-2012, 09:00.

        Comment

        Working...