My router has 3 interfaces: em0, em1, and ovpnc1. em0 is WAN, em1 is LAN, and ovpnc1 is VPN. Of the three interfaces, only one is static; em1. The other two dynamic. While my WAN interface is dynamic, it changes very infrequently. However, my VPN interface is restarted every morning, and, as such, the IP address assigned to ovpnc1 changes every morning.
My graph for ovpnc1 has been 10.200.0.162 since i set up cacti last year. Today, it's a different IP address but 10.200.0.162 continues to be displayed on the graph. Additionally, under "graph management" in console, graph name displays 10.200.0.162 as part of the name. Graph template has this for title:
Code:
|host_description| - Traffic - |query_ifIP| (|query_ifName|)
When I do a verbose query on SNMP - Interface Statistics for the device, the Data Query Debug Information output shows 5 IP addresses:
Code:
Found item [ifIP='0.0.0.0'] index: 1 [from regexp oid parse]
Found item [ifIP='VPN IP (hidden)'] index: 7 [from regexp oid parse]
Found item [ifIP='WAN IP (hidden)'] index: 1 [from regexp oid parse]
Found item [ifIP='127.0.0.1'] index: 4 [from regexp oid parse]
Found item [ifIP='192.168.4.254'] index: 2 [from regexp oid parse]
The current VPN IP address listed in the verbose output is my currently assigned IP address but that doesn't match the graph.
Is there something that I'm doing wrong? Any help appreciated.
Thanks