My switch can check if there is an SFP connector present in its ports and their respective link status. I want to display this information in Cacti graphs for each interface of my switch. The switch gives output in this format:
some_oid.1 = Description of port
some_oid.2 = Port Mac Addr
some_oid.3 = UP/DOWN (for Link)
some_oid.4 = YES/NO (for SFP connector)
I configured Cacti to get this information for all ports via a PHP script, but I don't know how to modify the graph template to display this information.
Screenshot of my desired result: