Hello,
I have created new item, but it doesn't show within latest data.
This is how i tried to accomplish the task:
1. create new entry in /etc/zabbix/zabbix_agentd.conf:
UserParameter=time.test,curl -s http://url-to-time-service/TimeServi...iumTimeOffset| sed -n 's/.*\([0-9]\.[0-9]\+\).*/\1/p'
2. restart the zabbix agent
After that th server can get the value from the agent:
./zabbix_get -s 1.2.3.4 -k time.test
0.132227
3. Add new item to the host configuration:

it shows up on the list and is active:

The item was created few days ago, but unfortunatelly it does not shows up within latest data values for the specified host.
----
Zabbix Server:
- OS: CentOS release 5.6 (Final) (x86_64)
- mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
- zabbix server 1.8.5
----
Agent:
- OS: CentOS release 6.5 (Final) (x86_64)
- agent version: 1.8.9
I probably did something wrong, i cannot track the cause of it as i don't see any entry regarding this item in zabbix server log.
Thank You in advance for Your help!
I have created new item, but it doesn't show within latest data.
This is how i tried to accomplish the task:
1. create new entry in /etc/zabbix/zabbix_agentd.conf:
UserParameter=time.test,curl -s http://url-to-time-service/TimeServi...iumTimeOffset| sed -n 's/.*\([0-9]\.[0-9]\+\).*/\1/p'
2. restart the zabbix agent
After that th server can get the value from the agent:
./zabbix_get -s 1.2.3.4 -k time.test
0.132227
3. Add new item to the host configuration:

it shows up on the list and is active:

The item was created few days ago, but unfortunatelly it does not shows up within latest data values for the specified host.
----
Zabbix Server:
- OS: CentOS release 5.6 (Final) (x86_64)
- mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
- zabbix server 1.8.5
----
Agent:
- OS: CentOS release 6.5 (Final) (x86_64)
- agent version: 1.8.9
I probably did something wrong, i cannot track the cause of it as i don't see any entry regarding this item in zabbix server log.
Thank You in advance for Your help!
Comment