Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 8:10 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Add host device which works on vpn network
PostPosted: Mon Apr 01, 2019 12:41 pm 
Offline

Joined: Wed Jan 07, 2015 9:47 am
Posts: 27
hi guys,

i have a question about how to add hosts which are working on branch locations with VPN connections.

in my central network, there are cacti hosts and working properly. snmp settings are ok, iptables are ok on centos servers.

in branch offices we have same type of centos servers with same snmp and iptables settings, however cacti server cant ping these devices, so can not add as host device.

can you please describe what should i do step by step ?

branch offices use mikrotik routers, i can add mikrotik routers(they are also connected to center over VPN connection) as cacti hosts and cacti works well for them. branch office

centos servers are plugged to this mikrotik router, however

i was not able to add them to cacti server.


Last edited by harbinur on Tue Apr 02, 2019 7:59 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Add host device which works on vpn network
PostPosted: Mon Apr 01, 2019 8:51 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
Setup some NAT forwarding from the router to the internal branch devices so that you can query for the SNMP

_________________
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: Add host device which works on vpn network
PostPosted: Tue Apr 02, 2019 8:45 am 
Offline

Joined: Wed Jan 07, 2015 9:47 am
Posts: 27
Thanks for response.
In cacti, which IP address shall i use for branch server ?
i have added picture to describe things clearer.


Attachments:
scheme.png
scheme.png [ 15.52 KiB | Viewed 51 times ]
Top
 Profile  
 
 Post subject: Re: Add host device which works on vpn network
PostPosted: Wed Apr 03, 2019 2:11 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
If your VPN is NAT'ing (hiding) the branch network, you will need to setup ports that forward to the remote device and use SNMP Uptime only as the method of availability detection.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 16 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