<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic serviceability XML for CUC 12.x? in Management</title>
    <link>https://community.cisco.com/t5/management/serviceability-xml-for-cuc-12-x/m-p/3992419#M3255</link>
    <description>&lt;P&gt;Are the various serviceability XML APIs available in CUC 12.x? I'm having a hard time getting a response from at least the perfmon APIs. Asking for the WSDL works:&lt;/P&gt;&lt;PRE&gt;curl -k -u 'user:pass' 'https://IPAddress:8443//perfmonservice2/services/PerfmonService?wsdl'&lt;/PRE&gt;&lt;P&gt;but trying to get a list of counters gives me a Server.Unauthorized:&lt;/P&gt;&lt;PRE&gt;curl -k -u 'user:pass' -X POST 'https://IPAddress:8443//perfmonservice2/services/PerfmonService' -H 'Content-Type: text/xml; charset=UTF-8' -H 'Accept: */*' -H 'SOAPAction: perfmonListCounter' -H 'Cache-Control: no-cache' -H 'Pragma: no-cache' -d '&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
  &amp;lt;soap:Body&amp;gt;
    &amp;lt;perfmonListCounter xmlns="http://schemas.cisco.com/ast/soap"&amp;gt;
      &amp;lt;Host&amp;gt;IPAddress&amp;lt;/Host&amp;gt;
        &amp;lt;/perfmonListCounter&amp;gt;
  &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;'

&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;soapenv:Fault xmlns:axis2ns57="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;faultcode&amp;gt;axis2ns57:Server.Unauthorized&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;Administrator is not authorized to access &amp;lt;/faultstring&amp;gt;&amp;lt;detail /&amp;gt;&amp;lt;/soapenv:Fault&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;&lt;P&gt;I'm using the correct credentials, since changing them results in a 401 instead.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 23:27:55 GMT</pubDate>
    <dc:creator>david.schlenk</dc:creator>
    <dc:date>2019-12-02T23:27:55Z</dc:date>
    <item>
      <title>serviceability XML for CUC 12.x?</title>
      <link>https://community.cisco.com/t5/management/serviceability-xml-for-cuc-12-x/m-p/3992419#M3255</link>
      <description>&lt;P&gt;Are the various serviceability XML APIs available in CUC 12.x? I'm having a hard time getting a response from at least the perfmon APIs. Asking for the WSDL works:&lt;/P&gt;&lt;PRE&gt;curl -k -u 'user:pass' 'https://IPAddress:8443//perfmonservice2/services/PerfmonService?wsdl'&lt;/PRE&gt;&lt;P&gt;but trying to get a list of counters gives me a Server.Unauthorized:&lt;/P&gt;&lt;PRE&gt;curl -k -u 'user:pass' -X POST 'https://IPAddress:8443//perfmonservice2/services/PerfmonService' -H 'Content-Type: text/xml; charset=UTF-8' -H 'Accept: */*' -H 'SOAPAction: perfmonListCounter' -H 'Cache-Control: no-cache' -H 'Pragma: no-cache' -d '&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
  &amp;lt;soap:Body&amp;gt;
    &amp;lt;perfmonListCounter xmlns="http://schemas.cisco.com/ast/soap"&amp;gt;
      &amp;lt;Host&amp;gt;IPAddress&amp;lt;/Host&amp;gt;
        &amp;lt;/perfmonListCounter&amp;gt;
  &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;'

&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;soapenv:Fault xmlns:axis2ns57="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;faultcode&amp;gt;axis2ns57:Server.Unauthorized&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;Administrator is not authorized to access &amp;lt;/faultstring&amp;gt;&amp;lt;detail /&amp;gt;&amp;lt;/soapenv:Fault&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;&lt;P&gt;I'm using the correct credentials, since changing them results in a 401 instead.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 23:27:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/serviceability-xml-for-cuc-12-x/m-p/3992419#M3255</guid>
      <dc:creator>david.schlenk</dc:creator>
      <dc:date>2019-12-02T23:27:55Z</dc:date>
    </item>
  </channel>
</rss>

