Data Source Index Type changes from ifName to ifIndex when monitored device reloads

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
jmasloske
Posts: 6
Joined: Fri Feb 04, 2022 9:21 am

Data Source Index Type changes from ifName to ifIndex when monitored device reloads

Post by jmasloske »

Cacti 1.2.17 running on RedHat 7.9. I am having an issue monitoring CloudGenix SD-WAN appliance interfaces for traffic and errors. When these devices reload (power cycled), the interfaces are automatically re-indexed on the device itself. For that reason we use "ifName" as the Data Source on the Index Type. I am having an issue on 1.2.17 that occurs when the CloudGenix device reloads after a code upgrade or downgrade. For some of these devices being monitored in Cacti, the Index Type remains set to ifName, but for others it changes in Cacti to ifIndex and Index Value changes to the old index ID (the one in use prior to the device rebooting) after the device reloads. This breaks my graph. I need Cacti to retain or hard set Index Type to ifName and not revert back to ifIndex when these devices reload. Why does this happen and how do I prevent it from occurring? This does not happen on Cacti 1.1.6. I catch the issue in the log file after it happens with invalid device response on the poller. I then have to go back to the Data Source and manually change Index Type back to ifName and Index Value to the interface name on the device. This fixes my issue until the device reloads and Cacti reverts the Index Type back to ifIndex.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest