Page 1 of 1

How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 5:22 am
by siriideepak
Hi,

I need to monitor VPN and MPLS in juniper and cisco.
Juniper SSG140
Cisco 3750,4500

We tried this link
http://exchange.nagios.org/directory/Pl ... es/details
but unable to download. Will it work for us?

We need the exact link to download MPLS/VPN tunnel monitoring plugins.

Kindly guide me how to monitor this using NagiosXI and awaiting your reply on this asap.

Thanks in advance.
Regards,
Deepak.P

Re: How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 10:13 am
by scottwilkerson
It looks like the OID you are trying isn't present on this device

I was able to find a copy of the plugin you were looking for at
http://crichton.g-3.org/~greg/check_cisco_hsrp.sh.txt

This plugin looks like it is using OID's under
.1.3.6.1.4.1.9.9.106.1.2.1.1.11

Re: How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 11:22 am
by siriideepak
I have tried this plugin and but getting below issue. please let me know whether im trying correct.

http://exchange.nagios.org/directory/Pl ... es/details

I have tried above link but all syntax didnt worked.

[root@monitoring libexec]# ./check_cisco_hsrp.sh -H 192.168.104.1 -C '=snmpDGRO' -m state 5
Please provide all needed parameters
Usage:
check_cisco_hsrp.sh -H <HOSTNAME> -C <COMMUNITY> -m active|standby|state ip|ip|state standby-group-num

active: check if the Active Router got the correct <IP>
standby: check if the Active Router got the correct <IP>

state: check if a Router is in the correct State
[Possible States: 5 = Standby, 6 = Active (Cisco MIBs)]

standby-group-num: HSRP group assignment

Originally created by bohboh (myfreshthoughts.blogspot.com)

Updated to work with multiple Cisco routers running HSRP.
by Greg Gilmour <[email protected]> -or- <[email protected]>

[root@monitoring libexec]#

if its wrong, please give me a example. im also requested for Monitoring VPN, but didnt get the proper plugin. kindly help me on this too.

Regards,
Deepak.

Re: How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 2:09 pm
by scottwilkerson
I am not familiar with this script, but when I open it in a text editor I see something saying you need all 8 command line options, this could be due to modifications made by Greg Gilmour <[email protected]>, not really sure...

The usage isn't very clear but the layout of the file makes it look to me the format needs to be something like this

Code: Select all

./check_cisco_hsrp.sh -H 192.168.104.1 -C '=snmpDGRO' -m 5 <STATE_IP> <STANDBY_GROUP_NUMBER>

Re: How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 2:12 pm
by gm_rajkumar
didnt worked, i wanted to monitor the MPLS status please let me know if you've any suitable plugins or ./check_snmp command. i am not familiar in the oid details. could you please help me out on this.
Im using below hardwares.
Juniper SSG140
Cisco 3750,4500

Please let me know if you need further details..

Regards,
Deepak.

Re: How to Monitor VPN and MPLS for Juniper and cisco

Posted: Tue May 29, 2012 2:58 pm
by scottwilkerson
I don't know the OID's but I can give you some direction in finding them, 2 great resources for looking up OID are the following:

http://www.mibdepot.com
http://www.oidview.com/mibs/

You can usually get pretty close if not exact OID's you are looking for, sometimes you may have to try some snmpwalks from the given OID or one level up...