How to Monitor VPN and MPLS for Juniper and cisco

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

How to Monitor VPN and MPLS for Juniper and cisco

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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>
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked