ZABBIX Forums  
  #1  
Old 10-11-2017, 06:24
waydell47 waydell47 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 4
Unhappy Old values of an item

Hello,

I am doing snmp monitoring of the company printers, There is an item that does the snmp query and stores it and shows the page count.

I need to create a new item that shows me the value stored 7 days ago (old).

I tried this way by creating a new calculated item:

last ( "contpage"). last (7d)



Obs. contpage is the name of the item that does the snmp query

Thanks!!
Reply With Quote
  #2  
Old 10-11-2017, 10:59
Pitons Pitons is offline
Member
 
Join Date: Oct 2017
Posts: 49
Default

Hi,

You need to put coma before time period so it is using a time shift:
last (,7d)
Reply With Quote
  #3  
Old 10-11-2017, 13:38
waydell47 waydell47 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 4
Default

Quote:
Originally Posted by Pitons View Post
Hi,

You need to put coma before time period so it is using a time shift:
last (,7d)
Then it would look like this: last("contpage").last(,7d) ?

returned the unsupported message, is there any other way to get the retention history information for an item?

Reply With Quote
  #4  
Old 13-11-2017, 04:27
waydell47 waydell47 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 4
Default

No one here knows how I can show Zabbix historical data for an item?
Reply With Quote
  #5  
Old 13-11-2017, 12:42
Pitons Pitons is offline
Member
 
Join Date: Oct 2017
Posts: 49
Default

Hi,
Try this one:
Code:
last("contpage",,7d)
Reply With Quote
  #6  
Old 21-11-2017, 21:00
waydell47 waydell47 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 4
Smile

It worked, thanks for the help.
Reply With Quote
Reply

Tags
item, old values

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:10.