Ad Widget

Collapse

monitor/graph ipaddr changes to interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • me2017
    Member
    • Apr 2017
    • 34

    #1

    monitor/graph ipaddr changes to interface

    I have a UserParameter that returns an ip address from a given interface. I'd like to use some method of tracking 1) the address itself, 2) how long that address was applied / when it changed.

    I've tried using the following in the Item configuration but no graph is being produced. Indeed, I didn't fully expect this to work.

    Type of information: Numeric (unsigned)
    Data type: Octal

    I realize this may be a bit unconventional and may not be within the realm of Zabbix's capabilities. If you have seen a visualization of something like this I'd like to know how it might be done (eg, various Grafana plugins, some other network monintoring tool, etc).
  • me2017
    Member
    • Apr 2017
    • 34

    #2
    I realize this may be an unconventional question but I'd appreciate comments with regards to ways to deal with this issue. Yes I have logs but I'd like to find a means of using other visualizations.

    Comment

    • kaspars.mednis
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2017
      • 349

      #3
      Hi,

      You can monitor the address itself as a char type item (because 127.0.0.1 is not an integer or octal , it is interpreted as a string value by Zabbix).

      Then you can create second calculated item with diff function:




      And use some trigger if diff function returns 1.
      You can graph this calculated item, there will be straight line with spikes from 0 to 1 on each IP address change.

      Regards,
      Kaspars

      Comment

      • me2017
        Member
        • Apr 2017
        • 34

        #4
        This is helpful, thank you. The method you've described will tell me WHEN (and IF) it changed, but it doesn't tell me what it CHANGED TO.

        I wonder if this is possible in Zabbix...

        Is there a means of providing some sort of visualization (a graph or other) that would reflect the following:

        Thu Jan 25 20:30:02 PST 2018, 184.66.191.2
        Thu Jan 25 21:30:01 PST 2018, 184.66.191.2
        Thu Jan 25 22:30:01 PST 2018, 184.66.190.45
        Thu Jan 25 23:30:02 PST 2018, 184.66.77.202
        Fri Jan 26 00:30:01 PST 2018, 184.66.77.202

        Comment

        Working...