Template - custom variables / different amount of interfaces
Posted: Sun Sep 15, 2013 4:32 pm
Hi guys.
I am planing my nagios environment and I have some specific situations that I need to monitor only specific interfaces via snmp, and those interfaces vary per host in quantity and identifiers.
Basically, since there are many hosts, I think in creating a template with custom variables for ifIndex and snmp community. Then, applying that template in each host I create, specifying the custom variables per host.
The problem I see in this setup is that I want to monitor only 3 interfaces in a specific host (e.g. ifindex 1, 10 and 20), only 2 in another host (e.g. ifindex 3 and 12) and so on. I could not see a good way to do this.
There are some hosts with more than 50 interfaces that I am supposed to monitor and a single interface for some others.
How can I set up this situation using templates with different amount of interfaces?
Thanks in advance
I am planing my nagios environment and I have some specific situations that I need to monitor only specific interfaces via snmp, and those interfaces vary per host in quantity and identifiers.
Basically, since there are many hosts, I think in creating a template with custom variables for ifIndex and snmp community. Then, applying that template in each host I create, specifying the custom variables per host.
The problem I see in this setup is that I want to monitor only 3 interfaces in a specific host (e.g. ifindex 1, 10 and 20), only 2 in another host (e.g. ifindex 3 and 12) and so on. I could not see a good way to do this.
There are some hosts with more than 50 interfaces that I am supposed to monitor and a single interface for some others.
How can I set up this situation using templates with different amount of interfaces?
Thanks in advance