Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Feb 21, 2019 3:11 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: can we add two ip for device
PostPosted: Thu Jan 31, 2019 12:08 am 
Offline

Joined: Tue Aug 28, 2018 8:26 am
Posts: 43
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.


Top
 Profile  
 
 Post subject: Re: can we add two ip for device
PostPosted: Thu Jan 31, 2019 3:33 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2073
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: can we add two ip for device
PostPosted: Sat Feb 02, 2019 9:40 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 744
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group