Ad Widget

Collapse

Snapshot or Freeze Zabbix 'Latest Data'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TiggyWiggler
    Junior Member
    • Feb 2021
    • 16

    #1

    Snapshot or Freeze Zabbix 'Latest Data'

    Hello all, I have been working on a network topology mapper for Zabbix with Zabbix connected to a custom network I have here in my home lab. The mapper works well but I am now planning to connect to our networks at work via a VPN to get bigger and more complex data to test the network topology mapper more fully.

    The issue is that I cannot really stay connected to the work networks permanently and I want to connect, get Zabbix to read all of the data it needs, and then freeze that data so that I can disconnect from the site VPN but continue to make API requests against Zabbix with the data that was available when I was connected to the network via VPN. Essentially I want to 'snap shot' the data that Zabbix retrieves and then stop it from updating the 'Latest Data' in the hosts.

    Can I achieve this by turning off the templates or discovery or something similar please? The Zabbix instance I am running is dedicated to this one project, so I can make 'server level' changes if required.

    thank you.
  • TiggyWiggler
    Junior Member
    • Feb 2021
    • 16

    #2
    For anyone else interested, the solution I implemented in the end was to read all applicable data out of Zabbix via the API, store the response in a text file, and then read that text file from my external application when I wanted the 'cached' data.

    Comment

    Working...