<?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 Re: Perfmon CPU in Management</title>
    <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284971#M3594</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="user-badges-list"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Enthusiast lia-component-message-view-widget-author-username"&gt;&lt;A id="link_46" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.cisco.com/t5/user/viewprofilepage/user-id/319201" target="_self"&gt;&lt;SPAN class=""&gt;BjoernMartin&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for the reply,&lt;BR /&gt;I added the sleep time of 15 seconds in python script...even tried re running fetch session after 15-20 seconds . But Did not seem to work.&lt;BR /&gt;&lt;BR /&gt;However when I compared the response you shared and one I got from our try&lt;BR /&gt;The &lt;STRONG&gt;CStatus&lt;/STRONG&gt; obtained in the fetch session data =&lt;STRONG&gt;2&lt;/STRONG&gt; (documentation says it should be 0/1)&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Not sure of the reason for Cstatus =2.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I think I am missing some requirement for the perfMon :&lt;BR /&gt;The application user has the Service Monitoring Access Control group and has SOAP services in running state as per document here :&amp;nbsp;&lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/site/sxml/learn/getting-started/perfmon/" target="_blank" rel="noopener"&gt;https://d1nmyq4gcgsfi5.cloudfront.net/site/sxml/learn/getting-started/perfmon/&lt;/A&gt;&lt;BR /&gt;Could there be any other role /service we should add which I might be missing?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;EDIT : After creating the session, I tried creating&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;PerfmonBinding and now it is returning the proper values.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Enthusiast lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 10:42:22 GMT</pubDate>
    <dc:creator>AMB14</dc:creator>
    <dc:date>2021-02-03T10:42:22Z</dc:date>
    <item>
      <title>Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520648#M1513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a development project where I am querying the PerfMon Processor object to get statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sucessfully querying hundreds of different stats using the python client we have developed however when I query Proccessor (ie CPU NOT process) counters they are always 0....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: "% CPU Time"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: IOwait Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: Idle Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: Irq Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: Nice Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: Softirq Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: Steal Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: System Percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perfmon_counter: User Percentage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are the counters i an querying...i am getting results...they are not Null/None, they are just integer 0....always...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the _Total Instance is always 0 as well as the invidividual CPU instances (named 0, 1 etc respectively)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im testing on a 9.x and 10.x call manager.&amp;nbsp; Im sure they arent always 0, one of the call managers im using to test is quite busy...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i query individual processors via snmp, we get data but that doesnt give you wait time and id much rather use serviceability/xml api&amp;nbsp; for everything..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 18:45:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520648#M1513</guid>
      <dc:creator>doug syer</dc:creator>
      <dc:date>2015-11-12T18:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520649#M1514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you are using the 'session' mechanism (open -&amp;gt; add counter -&amp;gt; collect), as the service requires multiple data points to calculate some stats (like percentages.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 18:51:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520649#M1514</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-11-12T18:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520650#M1515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, i am using the open-&amp;gt; add-&amp;gt;collect, close mechanism but im not persisting the sessions across polls yet.&amp;nbsp; i was planning on adding that once i verified all the data was good but it looks like I need to do that now.&amp;nbsp; i have the session id caching mechanism im place just need to finish the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try that and re post with results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know which object/counters require the session to persist?&amp;nbsp; if that is the case, should I throw out the data for % based stats for the first poll since it will always be 0? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 19:18:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520650#M1515</guid>
      <dc:creator>doug syer</dc:creator>
      <dc:date>2015-11-12T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520651#M1516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of a deterministic way to find out ahead of time, though I can't think of any off the top besides percentages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignoring the first poll would right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 19:22:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520651#M1516</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-11-12T19:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520652#M1517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the session key fixed this by the way although the cms we monitor were also upgraded at some point but im using the sessions instead of creating and closing on every poll and the data looks good.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 13:01:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520652#M1517</guid>
      <dc:creator>doug syer</dc:creator>
      <dc:date>2016-04-19T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520653#M1518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know how does it calculate CPU Utilization in session mechanism ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Prama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 07:40:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520653#M1518</guid>
      <dc:creator>pramam</dc:creator>
      <dc:date>2017-04-02T07:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520654#M1519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The object you are pulling from has instances, this can be seen by using the following URL:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked" title="https://cucm/ast/AstIsapi.dll?PerfmonListObject"&gt;https://X.X.X.X/ast/AstIsapi.dll?PerfmonListObject&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Object Name="Processor" HasInstances="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="% CPU Time"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="IOwait Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="Idle Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="Irq Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="Nice Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="Softirq Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="Steal Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="System Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Counter Name="User Percentage"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Object&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that being said, how are you adding your instanced counters? They should look something like&lt;/P&gt;&lt;P&gt;\\x.x.x.x\object(instancename)\countername&lt;/P&gt;&lt;P&gt;You can gather the instance names via the perfmonListCounter and perfmonListInstance mechanisms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 17:41:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/3520654#M1519</guid>
      <dc:creator>Cole.Aten</dc:creator>
      <dc:date>2017-04-06T17:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4069506#M3376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the problem too with PerfMon Processor object.&lt;BR /&gt;How do I solve the problem? API logging looks good.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 07:47:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4069506#M3376</guid>
      <dc:creator>BjoernMartin</dc:creator>
      <dc:date>2020-04-20T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284933#M3592</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We are trying the same method of opening a session [fetch sessionId]-&amp;gt; adding a counter (with instance name) to the sessionId --&amp;gt; and fetch session.&lt;BR /&gt;&lt;BR /&gt;But we are still getting the value as 0 and Cstatus =2 (which is not ideal)&lt;BR /&gt;Attaching the payload and response from Postman.&lt;BR /&gt;&lt;BR /&gt;Can you have a look and let me know what am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 07:39:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284933#M3592</guid>
      <dc:creator>AMB14</dc:creator>
      <dc:date>2021-02-03T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284950#M3593</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;at first glance, your request looks good.&lt;BR /&gt;I think the waiting time between "perfmonAddCounter" and "perfmonCollectSessionData" is too low.&lt;BR /&gt;I built a waiting time of 15 seconds into my Python Script and it works for CUCM, IMP, CUxN and UCCX.&lt;BR /&gt;I've still attached my payload content. I hope it's helpful?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 08:26:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284950#M3593</guid>
      <dc:creator>BjoernMartin</dc:creator>
      <dc:date>2021-02-03T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon CPU</title>
      <link>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284971#M3594</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="user-badges-list"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Enthusiast lia-component-message-view-widget-author-username"&gt;&lt;A id="link_46" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.cisco.com/t5/user/viewprofilepage/user-id/319201" target="_self"&gt;&lt;SPAN class=""&gt;BjoernMartin&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for the reply,&lt;BR /&gt;I added the sleep time of 15 seconds in python script...even tried re running fetch session after 15-20 seconds . But Did not seem to work.&lt;BR /&gt;&lt;BR /&gt;However when I compared the response you shared and one I got from our try&lt;BR /&gt;The &lt;STRONG&gt;CStatus&lt;/STRONG&gt; obtained in the fetch session data =&lt;STRONG&gt;2&lt;/STRONG&gt; (documentation says it should be 0/1)&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Not sure of the reason for Cstatus =2.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I think I am missing some requirement for the perfMon :&lt;BR /&gt;The application user has the Service Monitoring Access Control group and has SOAP services in running state as per document here :&amp;nbsp;&lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/site/sxml/learn/getting-started/perfmon/" target="_blank" rel="noopener"&gt;https://d1nmyq4gcgsfi5.cloudfront.net/site/sxml/learn/getting-started/perfmon/&lt;/A&gt;&lt;BR /&gt;Could there be any other role /service we should add which I might be missing?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;EDIT : After creating the session, I tried creating&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;PerfmonBinding and now it is returning the proper values.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Enthusiast lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 10:42:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/perfmon-cpu/m-p/4284971#M3594</guid>
      <dc:creator>AMB14</dc:creator>
      <dc:date>2021-02-03T10:42:22Z</dc:date>
    </item>
  </channel>
</rss>

