Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


VPN Tunnel monitoring
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Leeroy



Joined: 18 Jan 2008
Posts: 14
Location: Paris, France

PostPosted: Wed Jan 30, 2008 9:43 am    Post subject: Reply with quote

I solved my issue. In fact the time to execute was long because more than 200 tunnels exist on the host. So i execute the script on the other side of the tunnel where there is 1 or 2 tunnels.

Also, i've another issue. After an ipsec (lan to lan) tunnel fails and comes up, cacti / snmpd (i don't know which exactly) isn't able to recover information. This appears only on ASA whiches haves 2 tunnels. It seems that snmp can't find mib value.
The result of lan2lan_cisco.pl execution is tx:0 / rx:0 or "request error: No response from remote host 'xxx.xxx.xxx.xxx' at lan2lan_cisco.pl line 124."
Back to top
Setarcos
Cacti User


Joined: 13 Dec 2004
Posts: 145
Location: San Jose, CA

PostPosted: Tue May 06, 2008 7:38 pm    Post subject: Reply with quote

Hi Folks,

I hacked up the original script, and created an indexed script query to simplify adding peers. If you are interested, check out the thread here.
Back to top
cgi_itdeusto



Joined: 17 Jun 2010
Posts: 2

PostPosted: Thu Jun 17, 2010 1:49 am    Post subject: Reply with quote

Sorry for my English. This script worked fine and it's just what I needed but I have a problem. Suddenly one day left to paint the graphics. I have not made any software change. Running the script returns me the following error:

"request error: A loop Was detected with the table on the remote host at / var/www/cacti/scripts/query_lan2lan_cisco.pl line 246"

Does anyone know how to fix? I think it is related to the router does not increase the OID and may be solved with the option "Non Increasing" Net:: SNMP but I do not know how to activate it. Anybody can help me?

Thank you very much
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group