can we add two ip for device

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

Moderators: Developers, Moderators

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

can we add two ip for device

Post by neerajkappa »

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.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: can we add two ip for device

Post by netniV »

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.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: can we add two ip for device

Post by Osiris »

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

Who is online

Users browsing this forum: No registered users and 0 guests