Ad Widget

Collapse

Value should be a JSON object. on Oracle Tablespace discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rivabem@msn.com
    Junior Member
    • Nov 2015
    • 2

    #1

    Value should be a JSON object. on Oracle Tablespace discovery

    Hello there,

    I'm with a problem with discovery oracle tablespaces. My zabbix server is 2.2.2
    and the zabbix_agent is 2.4.4

    the script return the following JSON text:

    [root@server zabbix]# zabbix_get -s192.168.200.230 -p 10050 -k"oracle.tbs.discovery[orcl]"
    {
    "data":[
    {"{#TBSNAME}":"DM_ARCHIVE"},
    {"{#TBSNAME}":"UNDOTBS1"},
    {"{#TBSNAME}":"SYSAUX"},
    {"{#TBSNAME}":"REPO_IND"},
    {"{#TBSNAME}":"SGR_TAB"},
    {"{#TBSNAME}":"REPO_TAB"},
    {"{#TBSNAME}":"SAG_IND"},
    {"{#TBSNAME}":"USERS"},
    {"{#TBSNAME}":"SYSTEM"},
    {"{#TBSNAME}":"DM"},
    {"{#TBSNAME}":"SGR_IND"},
    {"{#TBSNAME}":"SAG_TAB"}
    ]
    }

    I put this output in the JSONLint and it said it is a valid JSON.

    But at zabbix server I still receive the "Value should be a JSON object" message

    Any advice would be greatly appreciated.

    Thank you
    Rivabem
  • rivabem@msn.com
    Junior Member
    • Nov 2015
    • 2

    #2
    JSON format

    No one? please, any advice...

    Thank you
    Daniel

    Comment

    Working...