I am using ESC to deploy a CSR VNF on openstack and creating metric on ESC for CPU load threshold check to scale up and scale down. I have attached my ESC deployment xml.
ESC shows in mona.log file that it is hitting OID: UCD-SNMP-MIB::laLoad (.188.8.131.52.4.1.2021.10.1.3.1) to get the CPU avg load for 1min from CSR.
this is from the logs: Threshold Value from Agent :udp:184.108.40.206//161forrule:rule-VM_OVERLOADED-austx-lab-dev-esc-01-vnf-info-csrscal8__929824d8-f97a-4979-bba1-d2fb8ac741c0__0 for .220.127.116.11.4.1.2021.10.1.3.1= 0.0
I checked on Cisco MIB locator tool that this OID which ESC is searching on CSR vnf is not supported by CSR1kv XE universal and also if I do snmpwalk from ESC server it says No such object exist, that's why it is returning 0.0 value always even though I see CPU load is higher.
[root@austx-lab-dev-esc-01 ~]# snmpwalk -v2c -c public 18.104.22.168:161 22.214.171.124.4.1.2021.10.1.3.1
UCD-SNMP-MIB::laLoad.1 = No Such Object available on this agent at this OID
The correct OID which ESC should search on CSR VNF is in CISCO-PROCESS-MIB (cpmCPUTotal1minRev):
[root@austx-lab-dev-esc-01 ~]# snmpwalk -v2c -c public 126.96.36.199:161 188.8.131.52.184.108.40.206.220.127.116.11.1.7