-
Filter monitored SNMP interfaces by ifAlias
I am trying out PandoraFMS Enterprise version.
I discover Cisco switches and routers via Discovery > Host&Devices > Network ScanI do not select any Module templates and run SNMP only discovery. Devices are discovered successfully and ifOperStatus, ifHCInOctets, ifHCOutOctets of ALL interfaces is monitored. But do not need that.
I need match such logic:
if ifAlias (1.3.6.1.2.1.31.1.1.1.18.X) contains string “monitor_me”, start monitoring ifOperStatus (1.3.6.1.2.1.2.2.1.8.X), and alert if it is down.
X – interface SNMP index from 1 to n.How can I achieve this?
With policies it seems I cannot do that, because I cannot find module which would be able to interact with more than one OID. And it seems that modules are static in nature and only can poll single OID of single interface.
During discovery something more clever and dynamic is done. There all interfaces and their names are discovered.
I wonder if it could be changed to what I need?