can we add two ip for device

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Cacti User
Posts: 52
Joined: Tue Aug 28, 2018 8:26 am

can we add two ip for device

#1 Post by neerajkappa » Thu Jan 31, 2019 12:08 am

can we add to ip in cacti for snmp graph because if one link get down
snmp stops polling while circuit is up with another wan link

so ho can we optimize this issue more efficiently.

Cacti Guru User
Posts: 2881
Joined: Sun Aug 27, 2017 12:05 am

Re: can we add two ip for device

#2 Post by netniV » Thu Jan 31, 2019 3:33 am

There is currently no method to associate a device with two different IP addresses within Cacti. One work around to that is try using DNS with a very short lease time of like 1 second to ensure it's expired as soon as it's queried. Then you would need a process that migrates the DNS from one to the other.

Another method is if you have a VPN tunnel, use the internal address.

The third. and most likely method, you setup the device on both IP addresses, but that would cause a lot of timeout notifications unless the device in question was disabled when not in use. I believe the Thresholds plugin is currently undergoing some improvements in that regard but I'm not sure it's production ready yet or not.

User avatar
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: can we add two ip for device

#3 Post by Osiris » Sat Feb 02, 2019 9:40 pm

There actually is, but it evil. If the device is snmp, you can override a number of fields. I would not do it though.
Before history, there was a paradise, now dust.

Post Reply