Can Nagios maonitor Cisco IP sla latency figures ?
Can Nagios maonitor Cisco IP sla latency figures ?
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
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 ?
Is there a way to poll the SLA figures via SNMP?
Re: Can Nagios maonitor Cisco IP sla latency figures ?
I guess there is as it would be a mib variable.scottwilkerson wrote:Is there a way to poll the SLA figures via SNMP?
-
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 ?
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
This would then give you a graphical representation
Re: Can Nagios maonitor Cisco IP sla latency figures ?
Great.....This is what I have found....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
[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 ?
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
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 ?
Thanks Scott !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
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 ?
that is correctvijilants 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.)
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.vijilants wrote: So if I am correct, what is the purpose of the template ?
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 ?
Thanks.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.
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 ?
Configure -> CCM -> Services -> Edit Service
Click Manage Templates
Select template
Close
Save
Apply Configuration
Click Manage Templates
Select template
Close
Save
Apply Configuration