Page 1 of 1

Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Thu Jul 26, 2018 7:05 am
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

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Thu Jul 26, 2018 9:54 am
by scottwilkerson
Is there a way to poll the SLA figures via SNMP?

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Thu Jul 26, 2018 10:15 am
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.

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Thu Jul 26, 2018 10:25 am
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

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Fri Jul 27, 2018 4:19 am
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.

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Fri Jul 27, 2018 7:38 am
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

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Fri Jul 27, 2018 10:10 am
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 ?

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Fri Jul 27, 2018 10:26 am
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

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Mon Jul 30, 2018 8:29 am
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 ?

Re: Can Nagios maonitor Cisco IP sla latency figures ?

Posted: Mon Jul 30, 2018 9:06 am
by scottwilkerson
Configure -> CCM -> Services -> Edit Service
Click Manage Templates
Select template
Close
Save
Apply Configuration