I am currently using Postman to test permission and codes for CUCM 14 perfmonservice request. I will eventually move them to Zabbix.
I sometime get 200 OK and sometime get 403 forbidden. I haven't found a pattern to it. The account I am using has all the access control groups to rule out permission error but eventually will set up a separate account with just the needed permissions for Zabbix.
In RTMT, I see the successful ones in the audit log but not the 403 ones.
What can I do to have consistent 200 OK responce?
Also, this happens on one of my computers. Another computer with the same credentials and codes will just get 403 consistently.
Code:
<!--Perfmon API - perfmonCollectCounterData - Request-->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:perfmonCollectCounterData>
<soap:Host>[My CUCM hostname]</soap:Host>
<soap:Object>Cisco CallManager</soap:Object>
</soap:perfmonCollectCounterData>
</soapenv:Body>
</soapenv:Envelope>