Cisco ASA 5550 VPN tunnels

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

Also getting this at the CLI:

[root@nagios /]# su nagios -c "/usr/local/nagios/libexec/check_bgp.pl -H 192.168.98.6 -C community -p 38.104.236.9"
bash: /usr/local/nagios/libexec/check_bgp.pl: /usr/bin/perl^M: bad interpreter: No such file or directory
[root@nagios /]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cisco ASA 5550 VPN tunnels

Post by scottwilkerson »

This can happen if you edited the file on a windows machine and now have windows line endings

Run

Code: Select all

yum install dos2unix -y
dos2unix /usr/local/nagios/libexec/check_bgp.pl
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

ok that was it, all is well on the BGP front, except.......

I had another that i wanted to monitor, so i copied the first, made the name and ip address changes.
It is going on the same router, but when i apply config, then look at the list, the new one says sync missed

Any ideas?

Thanks again, great help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cisco ASA 5550 VPN tunnels

Post by scottwilkerson »

When you copy one, you will keed to rename it to remove the () and you will also need to check the "active" box.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

I did rename it and the active box is checked.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

ok, i went back and looked at everything, I did miss the active box.
Sorry.

All is well, sort of
I have some bgp peers on vrf, they are like routers within routers, any ideas on how i would go about monitoring them?

Thanks again for all the help. it is really appreciated.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

the command to view the bgp summary for vrf is:

show ip bgp vrf (vrf instance name) summary
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cisco ASA 5550 VPN tunnels

Post by scottwilkerson »

benningtonr wrote:All is well, sort of
I have some bgp peers on vrf, they are like routers within routers, any ideas on how i would go about monitoring them?
Do these routers within routers have their own IP and SNMP setup?
You may be able to use the same plugin changing the host (IP) and community string
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Cisco ASA 5550 VPN tunnels

Post by benningtonr »

They use the same community name and ip address,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cisco ASA 5550 VPN tunnels

Post by scottwilkerson »

If it is the same SNMP server, then you likely just need to change the peer namr ($ARG2$ I believe) although I am not familiar with the hardware you are using.

You may need to try walking the snmp tree to see if you can find the data you need to monitor.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked