I've problem with correct definition and using of UserParameter.
I've defined in zabbix_agentd.conf a parameter:
UserParameter=dw.rpt_tbs_pcent_free,/etc/zabbix/externalscripts/rpt_tbs_pcent_free.sh
When I start above script it works:
[oracle@mis ~]$ /etc/zabbix/externalscripts/rpt_tbs_pcent_free.sh
49.59
[oracle@mis ~]$
When I ask deamon it replies:
[oracle@mis bin]$ ./zabbix_agentd -t dw.rpt_tbs_pcent_free
dw.rpt_tbs_pcent_free [t|49.59]
[oracle@mis bin]$
I added parameter (
Type: Zabbix agent
Key: dw.rpt_tbs_pcent_free
Type of information: Numeric (float)
Units: %
) and I tried to show it on a graph.
The graph legend says: no data.
Item configuration is changed to: Not supported.
I suppose that a problem may be effect of getting value as text [t|49.59]. Is it possible? Can I fix it?
TIA
--
k
I've defined in zabbix_agentd.conf a parameter:
UserParameter=dw.rpt_tbs_pcent_free,/etc/zabbix/externalscripts/rpt_tbs_pcent_free.sh
When I start above script it works:
[oracle@mis ~]$ /etc/zabbix/externalscripts/rpt_tbs_pcent_free.sh
49.59
[oracle@mis ~]$
When I ask deamon it replies:
[oracle@mis bin]$ ./zabbix_agentd -t dw.rpt_tbs_pcent_free
dw.rpt_tbs_pcent_free [t|49.59]
[oracle@mis bin]$
I added parameter (
Type: Zabbix agent
Key: dw.rpt_tbs_pcent_free
Type of information: Numeric (float)
Units: %
) and I tried to show it on a graph.
The graph legend says: no data.
Item configuration is changed to: Not supported.
I suppose that a problem may be effect of getting value as text [t|49.59]. Is it possible? Can I fix it?
TIA
--
k
Comment