Can Nagios maonitor Cisco IP sla latency figures ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Can Nagios maonitor Cisco IP sla latency figures ?

Post by vijilants »

Hi,

Can someone please advise on the following:

We mainly use Nagios to monitor Cisco routers and switches by polling them and SNMP Traps which are configured with IP SLA in order to monitor WAN latency between devices.

What would be very useful is if the Nagios application can periodically extract these latency figures and present them in graphical or whatever format.

Is this possible an if so can someone please guide me through the process of implementing it ?

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

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by scottwilkerson »

Is there a way to poll the SLA figures via SNMP?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by vijilants »

scottwilkerson wrote:Is there a way to poll the SLA figures via SNMP?
I guess there is as it would be a mib variable.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by scottwilkerson »

If you can find what OID to poll you can start polling it using the SNMP wizard.

This would then give you a graphical representation
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by vijilants »

scottwilkerson wrote:If you can find what OID to poll you can start polling it using the SNMP wizard.

This would then give you a graphical representation
Great.....This is what I have found....

[root@nms]# snmpwalk -v 2c -c xxxxxxxx 10.40.2.145 1.3.6.1.4.1.9.9.42.1.2.10.1.1.2
SNMPv2-SMI::enterprises.9.9.42.1.2.10.1.1.2 = Gauge32: 3

The number 3 is the counter in milliseconds.

So I then managed to configure this against a singe host and all works well.

However, I now need to deploy this across multiple hosts, so I created a service template with the above, assigned it a name IP SLA RTT SLA 1, and under Hosts on that page, I assigned a host on to the right hand column, saved and applied config.

However, when I go to services under that Host I do not see my IP SLA RTT SLA 1 appearing anywhere.

Can you please advise as to what I am missing ?

I want to use the template feature in order to roll this out across multiple routers in one hit.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by scottwilkerson »

You are close, what you want to create is a service, not just a template.

Then you can use the Bulk Host Cloning Wizard to replicate it across multiple hosts.

OR

You can create a service and then just add all the hosts to the configuration. They will appear separate in the front end UI
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by vijilants »

scottwilkerson wrote:You are close, what you want to create is a service, not just a template.

Then you can use the Bulk Host Cloning Wizard to replicate it across multiple hosts.

OR

You can create a service and then just add all the hosts to the configuration. They will appear separate in the front end UI
Thanks Scott !

OK...so if I create a Service I don't need the template ? From what I can see I can put all the parameters in to a new Service and it does not reference the template, but it works. I can then add the Hosts to the service in one hit (From left column to right.)

So if I am correct, what is the purpose of the template ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by scottwilkerson »

vijilants wrote:OK...so if I create a Service I don't need the template ? From what I can see I can put all the parameters in to a new Service and it does not reference the template, but it works. I can then add the Hosts to the service in one hit (From left column to right.)
that is correct
vijilants wrote: So if I am correct, what is the purpose of the template ?
Templates give you the ability to set many parameters for a check, that can be applied to a service, then you can apply the template to a service, AND OVERRIDE values on the service level.

For example, the services you are setting up now, maybe you want 2 different sets of contacts, you could create the template which includes all the settings you want with the exception of hosts and contacts. then when creating the service you just apply the template, then add hosts, and contacts and you're done.

This is a very simplistic example but demonstrates the power of the templates. And they can be stacked, where a template can use other templates, etc...

Here is a verbose document of what happens under the hood in Core
https://assets.nagios.com/downloads/nag ... tance.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by vijilants »

scottwilkerson wrote: Templates give you the ability to set many parameters for a check, that can be applied to a service, then you can apply the template to a service, AND OVERRIDE values on the service level.
Thanks.

So from the GUI how do I apply a template to a service ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Post by scottwilkerson »

Configure -> CCM -> Services -> Edit Service
Click Manage Templates
Select template
Close
Save
Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked