Ad Widget

Collapse

Calculated Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nabberuk
    Member
    • May 2010
    • 82

    #1

    Calculated Items

    I have Zabbix pulling in SNMP data from around 30 mfds regarding printing statistics. These are based in schools and i'm thinking how i can report on how much is printed in a term (between 2 dates).

    So each year there would be a Spring 1, Spring 2, Summer 1, Summer 2, Autumn 1, Autumn 2 all with their own start/end date.

    So we are currently in Spring 2 which runs from 27th Feb to 31st March.

    Is there a way to calculate this?
    Last edited by nabberuk; 16-03-2023, 11:41.
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    What data item do you have for each device? If you have an item that has pages printed per interval, you could use the API to pull history for that interval just add up the items. If you have total page count, you could still use the API, but you probably have to watch for the page counter to get reset.

    Another option might be dependent items and put the date filter in a javascript preprocess.

    Comment

    Working...