I have a situation where all my passive checks that rely on check_snmp_interfaces_cascade are not working for new hosts.
Taking a look at the plugin, I see it relies for config data on files held at: /usr/local/nagios/var/plugins/check_snmp_interfaces_cascade .. and if it does not find an entry for a given host, it throws up the error message 'INTERFACES UNKNOWN - Cannot read configuration data for <HOSTNAME>' ..
However, I am unable to see how these hostname files are being created, and why they are no longer working.
In my setup, I cloned the checks defined under host template 'SNMP - MIB II' .. so, I am applying a different template to the hosts. I am wondering if whatever generates the hostname config files is hardcoded to only work for that specific host template, and nothing else.
Within the plugin, there is provision to enabling debugging of certain hosts. I have enabled this for a number of hosts under the variable $trace_hostnames, but I cannot tell where the trace logs are written as nothing under /var/log/opsview displays this trace.
Please, can someone help me with additional information on how I can access tha trace files .. or confirm if the reason this is happening might be due to a requirement on a specific host template named 'SNMP - MIB II' ..
Thanks in advance ..