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."
VPN Tunnel monitoring
Moderators: Developers, Moderators
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.
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.
-
- Posts: 2
- Joined: Thu Jun 17, 2010 1:39 am
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
"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
Re: VPN Tunnel monitoring
I was using this template with the lan2lan_cisco.pl script without problem but since I updated perl to v5.12.2, the script just return this error :
Does someone have the same problem ? I suppose this is juste a perl problem but my knowledge in perl is quite limited ...
Code: Select all
defined(%hash) is deprecated at /var/www/stats/htdocs/cacti/scripts/lan2lan_cisco.pl line 124.
(Maybe you should just omit the defined()?)
request error: The argument "1.3.6.1.4.1.9.9.171.1.2.3.1.7." is unknown at /var/www/stats/htdocs/cacti/scripts/lan2lan_cisco.pl line 124.
Who is online
Users browsing this forum: No registered users and 4 guests