item.getのlastvalueの値について

お世話になります。
APIのitem.getで取得できるlastvalueの値ですが、どのテーブルのデータなのでしょうか?
history_uintのデータとの認識でしたが、下記のようにitem.getのlastvalueと異なっており
質問させていただいています。
バージョンは2.2.9です。

■history_uintテーブル
mysql> select itemid,from_unixtime(clock),value from history_uint where itemid=25177;
+--------+----------------------+-------+
| itemid | from_unixtime(clock) | value |
+--------+----------------------+-------+
| 25177 | 2016-08-25 18:22:39 | 1 |
+--------+----------------------+-------+

■item.get(lastvalueは下から2番目です)
Array
(
[0] => stdClass Object
(
[itemid] => 25177
[type] => 2
[snmp_community] =>
[snmp_oid] =>
[hostid] => 10187
[delay] => 0
[history] => 999
[trends] => 365
[status] => 0
[value_type] => 3
[trapper_hosts] =>
[units] =>
[multiplier] => 0
[delta] => 0
[snmpv3_securityname] =>
[snmpv3_securitylevel] => 0
[snmpv3_authpassphrase] =>
[snmpv3_privpassphrase] =>
[formula] => 1
[error] =>
[lastlogsize] => 0
[logtimefmt] =>
[templateid] => 0
[valuemapid] => 0
[delay_flex] =>
[params] =>
[ipmi_sensor] =>
[data_type] => 0
[authtype] => 0
[username] =>
[password] =>
[publickey] =>
[privatekey] =>
[mtime] => 0
[flags] => 0
[filter] =>
[interfaceid] => 0
[port] =>
[description] =>
[inventory_link] => 0
[lifetime] => 30
[snmpv3_authprotocol] => 0
[snmpv3_privprotocol] => 0
[state] => 0
[snmpv3_contextname] =>
[lastclock] => 0
[lastns] => 0
[lastvalue] => 0
[prevvalue] => 0
)

)
※アイテム名は消しています。

コメント表示オプション

お好みのコメント表示方法を選び「設定の保存」をクリックすると変更が反映されます。
ユーザー TNK の写真

マニュアルにlastvalueは、ZBX_HISTORY_PERIODで指定している期間
での値を返すと書かれています。
https://www.zabbix.com/documentation/2.2/manual/api/reference/item/object

デフォルトのZBX_HISTORY_PERIODの値は、24時間ですので、

 2016-08-25 18:22:39

ですと、24時間よりも前の値になるでしょうから、item.getで得ら
れる結果には含まれないと思います。
lastclockの値も0になっているので、期間内の該当するレコードが
history_uintテーブル上に無かったのではないでしょうか?

ご確認ください。

ユーザー a5243227 の写真

ご回答ありがとうございます。
ZBX_HISTORY_PERIODの値に依存するとのこと承知しました。

> lastclockの値も0になっているので、期間内の該当するレコードが
> history_uintテーブル上に無かったのではないでしょうか?
⇒はい、期間内のレコードは存在しません。
 上記の1件だけです。