Prime Infrastructure 2 - API rate limit change?

Good day -
The Prime API is pretty sweet, and can give you JSON data back easily with a call like this:
https://prime/webacs/api/v1/data/Clients.json?.full=true
It is, however, limited to 100 results. We'd like to see more than that.
How do I change this rate limit for the API?

I have found that this command does work, but still limits to 1000. 
https://prime/webacs/api/v1/data/Clients.json?.maxResults=9999&.full=true
Now I get Tomcat a HTTP Status 503 error.  There's another setting I've not found yet.
My json results say "@count":"6980", suggesting I have that many clients in the database.

Similar Messages

  • Prime Infrastructure API add device

    I've been looking at the Prime Infrastructure 2.1 API at /webacs/api/v1/ on my PI instance but I can't seem to find a way to add devices using the API? Looking to write a script for our techs to run after the provisioning of a new device and would love a way to get it added to Prime. Any ideas?

    It isn't possible in Prime Infrastructure 2.1 to add devices via API, however, it now is possible with version 2.2. I've used it myself and I can confirm that it works.

  • Prime Infrastructure delegate specific config changes - wireless controller

    Hello,
    I have a customer that would like to delegate control for two items on a WLC to a sub-group within their organization.  They'd like to allow this group to change the PSK on a specific WLAN on their WLC 5508 and also add/remove/change mac addresses from the Mac Filter list whenever necessary. 
    They'd like to restrict the group to only be able to make these two specific changes and not be able to change anything else on the controller.  Is there a way in PI to restrict this group so that they can only make these changes? 
    I can see that in 2.0 I can require job approval which may work as some part of the restriction. 
    Any thoughts/ideas/help?

    add a new group (choose on of the user defined groups). Mark the options you want to have. (network configuration)
    Posted by WebUser Erik Boss from Cisco Support Community App

  • Cisco Prime Infrastructure API

    Hello,
    does Cisco PI provide an API to access its data? We have a list of ip addresses with correct timestamps and i want to know which user had the ip address in the corresponding timeframe. Is there any way to accomplish this?
    thanks for any response
    regards
    -andreas

    yes,you can access API documentation https:///webacs/api/v1  for detailed information.

  • QoS bandwidth rate limit don't work

    Hello
    Buy a router RV120W, and one of the reasons is limit of bandwidth (QoS). I set up a profile of 1-256 kbps limit, and apply it to the only VLAN that is configured, but does not work and can navigate using the full bandwidth of the internet connection. My firmware version is 1.0.2.6
    Screenshots attached
    thanks
    screenshots attached

    Struggling with a similar issue:
    the setup: internet adsl <--1mbs--> combined router/modem <--100mbs--> RV 120W
    Internet speed is 1mbs. I want to priotize voip calls (via port) and deprioritize one machine (doing downloads). rest of the network should have something in between.
    Firmware upgraded to 1.0.3.10
    I created the profiles bindings, then in QoS settings, selected Priority, Wan total bandwidth 1mbs, and distributed my profiles onto low/med/high (10/31/61).
    When what should be low is downloading, it gets the whole 1mbs and the other are dead slow.
    Changed to rate limit, changed the parameters, etc... no more luck.
    Can you please shed some light as how to configure this - in my case, the whole bw of wan is being used, and prioriization is not happening,
    Rgds

  • Prime Infrastructure 2.0 - Alert on Switch Config Change

    We are in the process of testing out Prime Infrastructure 2.0, is there a way to get an alert when a device's configuration has changed, and send out what has changed in email? I have scheduled Config Archiving for all of my devices, and i can see the config differences when a changes is made in the Prime GUI, but we currently use Kiwi CatTools to send out emails that show what devices had configuration changes and what those changes were, it would be nice if Prime would do that so we could do away with that service. I have looked through all of the reports but do not see anything.

    Hi,
    I know this feature is there is LMS ,where you can configure the AUTOMATED Action based on Syslogs to get an Alert for config change or any other changes ,however I do not see this option available in PI  2.0.
    Syslogs are not compltely supported in 2.0 but in PI 2.1 we should have the complete support for syslogs.
    Thanks-
    Afroz
    [Do rate the useful post]

  • Cisco Prime Infrastructure 2.2 API not working

    Just upgraded to PI 2.2. API got error of "Access is denied to prime Infrastructure". Even assigned the user with 'Super Users' and 'NBI credential, NBI read, NBI', we still got denied error.
    We use Perl to access API. Any sample code for authentication and authorization in Perl? Now even URL of https://prime.nm.nd.edu/webacs/api/v1/data got denied error.
    Thank you.

    PI 2.2 API changed authorization group for API access. We added "NBI Read" and "NBI Credential" to API user, and resolved the access issue.
    Cheers.

  • Cisco Prime Infrastructure 2.2 Rest API XML does not add LF

    I am using several scripts that dig the data from XML files created through Cisco Prime Infrastructure Rest API. It worked fine until 2.1. Now, with 2.2, seems Cisco stopped adding LF to each line and everything is 'one' line.
    Here is an example with 2.1, there is a LF to the end of each line:
    ?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <queryResponse type="AccessPointDetails" rootUrl="https://server/webacs/api/v1/data" requestUrl="https://server/webacs/api/v1/data/AccessPointDetails?type=contains(UnifiedAp)&amp;.full=true&amp;.maxResults=1000&amp;.firstResult=0" responseType="listEntityInstances" count="715" first="0" last="714">
        <entity url="https://server/webacs/api/v1/data/AccessPointDetails/1505569" type="AccessPointDetails" dtoType="accessPointDetailsDTO">
            <accessPointDetailsDTO id="1505569" displayName="1505569">
                <adminStatus>ENABLE</adminStatus>
                <apType>AP1240</apType>
                <cdpNeighbors>
                    <cdpNeighbor>
                        <capabilities>Switch IGMP </capabilities>
                        <duplex>Half Duplex</duplex>
                        <interfaceSpeed>100Mbps</interfaceSpeed>
                        <localPort>2</localPort>
                        <neighborIpAddress>10.1.1.1</neighborIpAddress>
                        <neighborName>switch</neighborName>
                        <neighborPort>FastEthernet0/1</neighborPort>
                        <platform>cisco WS-C3560-8PC</platform>
                    </cdpNeighbor>
    Now, with 2.2, there is not LF anywhere:
    ?xml version="1.0" encoding="UTF-8" standalone="yes"?><queryResponse type="AccessPointDetails" rootUrl="https://server/webacs/api/v1/data" requestUrl="https://server/webacs/api/v1/data/AccessPointDetails?type=contains(UnifiedAp&amp;.full=true&amp;.maxResults=1000&amp;.firstResult=0" responseType="listEntityInstances" count="715" first="0" last="714">
    <entity url="https://server/webacs/api/v1/data/AccessPointDetails/1505569" type="AccessPointDetails" dtoType="accessPointDetailsDTO">
    <accessPointDetailsDTO id="1505569" displayName="1505569"><adminStatus>ENABLE</adminStatus><apType>AP1240</apType><cdpNeighbors><cdpNeighbor>
    Does anyone know, is this intentional or a mistake? Or is there a way how I control this?
    I am reading on-line CPI Rest API docs, but seems cannot find anything.
    Thanks,
    Vlad

    PI 2.0 is in Beta mode for testing in closed group already. However it may still take some time to get released on CCO for FCS.
    I think it is expected to be released between aug-sep. BU has also started working on CPI 2.1, which you can see test uploads on CCO.
    For what does it have for customers?
    > As Cisco have a vision of one network Management software for both wired and wireless infrastructure, which started getting real partially with Cisco PI.
    As WCS got evolved to NCS and eventually to Cisco Prime Infrastructure, but it doesnt yet have full Management capability for wired infra., which is there with LMS.
    With CPI 2.x Cisco plans to blend entire LMS and WCS features together.
    -Thanks

  • Cisco Prime infrastructure Change severity Switches and hubs - link down alarm

    Hi, I want to change the severity of the link down alarm in the Cisco Prime Infrastructure 1.3, but in the menu Administration -> System Settings -> Severity Configuration i can not find the alarm. Some body knows where is it? o where i can change the severity of that alarm?
    Thanks in advanced.

    Hi Rollin and Daniel,
    the first test i did changing the severity was with a new installation, with no devices added and it worked, when i did it in a Prime infrastructure with devices added it didn´t work, well, for this Prime with devices i upgraded it with the patch for 1.3 version and now it works too, the alarms is ok as the alarm severity, this is the link for the patch:
    http://software.cisco.com/download/release.html?mdfid=284652876&flowid=38562&softwareid=284272933&release=1.3.0&relind=AVAILABLE&rellifecycle=&reltype=all
    i hope this helps,
    Regards,
    Milton Tizoc.

  • Prime Infrastructure - Automating the change "mac@ - AP name" with CSV file

    Hi,
    We are going to deploy a lot of new LAP. For each site our  customer will give us an excel file with the MAC @ of the AP and the  target name.
    I was wondering if it was possible to automate the  injection of this file "mac <-> ap name" and then apply the  predefined template with P.I ?
    If yes, could you explain how, as I am new to Prime Infrastructure.,The goal is to avoid to rename each AP individually on prime as there is a lot of AP to deploy.
    Many thanks in advance !
    Oliv.

    Hi Oliv:
    In the Classic View of Prime Infrastructure, under Configure > Access Points, there's a menu option for Import AP Config.  This uses a .csv file to match APs by the MAC address and make changes in bulk.  From the online help:
    Sample File Header:
    AP Name,Ethernet MAC,Location,Primary Controller,Secondary Controller,Tertiary Controller
    ap-1, 00:1c:58:74:8c:22, sjc-14-a, controller-4404-1, controller-4404-2, controller-4404-3
    The CSV file can contain following fields. AP Ethernet MAC Address is mandatory, Optional fields are           AP Name, Location, Primary Controller, Secondary Controller and Tertiary Controller.            
    Optional fields can be empty. AP Config Import will  ignore empty optional field values. However, if Primary Controller and  Secondary Controller entries are empty then Unified AP update is not  done
    Ethernet MAC: AP Ethernet MAC Address
    AP Name:AP Name
    Location:AP Location
    Primary Controller:Primary Controller Name
    Secondary Controller:Secondary Controller Name
    Tertiary Controller:Tertiary Controller Name

  • Change Interface availability threshold from Cisco Prime Infrastructure 2.0

    Dear Community,
    I’m working in Cisco Prime Infrastructure 2.0 and I’m having the following problem:
    I want to monitor the interfaces availability from all the devices of my network. But only makes sense send an email notification  for the most critical interfaces. I don´t want to receive an email notification every time anyone unplugs the network wire.
    How can I achieve this?
    I already tried to change the interface availability threshold from the Interface Health Threshold Template, but this one isn´t available to configure.
    The idea was to change the severity of the alarm so I could distinguish what type of alarm would send email notification.
    I also created a Custom SNMP Template that gets the ifOperStatus using the MIB IF-MIB. This also didn’t work because Prime Infrastructure doesn’t allow me to define thresholds to a Custom SNMP Template.
    Without threshold, no alarm, without no alarm, no email notification!
    Can you help?
    Regards,
    Daniel CJ

    Only on the HA pair which would be the secondary.
    High Availability (HA) RTU: If Cisco Prime Infrastructure is deployed in a high availability configuration with one primary and one secondary instance in an HA pair, then an HA RTU is required. You only need to purchase a single set of the regular licenses (for example, Base, Lifecycle, and so on) for the primary instance.
    Thanks,
    Scott
    Help out other by using the rating system and marking answered questions as "Answered"

  • Configuration Change Audit Report in Prime Infrastructure 2.1

    Is there any plan to implement a Configuration Change Audit report in future releases of Prime Infrastructure (ie. 2.2)?  When I go into the Reporting area and run a Change Audit report under the Compliance section it doesn't give me any information in regards to configuration changes, only inventory changes.  There are managers who would like the ability to receive an e-mailed report of configuration changes within a 24 hours period.  Currently the only way I can tell that you can get this information is by logging into Cisco Prime and going to Network Audit under Operation / Device Work Center.
    Thanks,
    Brian

    Configuration Change Management (with Baseline Compliance reporting) is projected for the next release after 2.2. As of now that's projected to be ca. April 2015.
    On a side note, last I heard, 2.2 should be out in the next couple of weeks.

  • URGENT---cisco prime infrastructure 1.2. change default theme

    hello guys,
    I wanted to ask you a question.
    I have installed in my company the cisco prime infrastructure 1.2.
    As you know, the lifecycle theme  has enough bugs, but these bugs are overtaken if we use the classic theme.
    I have several users working with cisco prime infrastructure 1.2, and i was wondering if it is possible to define classic theme as default for all people.
    thnks

    I would think if they logged in they can change their own preference. You only can change it from the account you logged in as.
    Sent from Cisco Technical Support iPhone App

  • Prime Infrastructure 2.0 Job Approval notifications?

    I have a question about notification for job approvers in Prime 2.0.  I'm trying to setup PI such that a restricted user can create a configuration change on a wireless controller and submit it for approval by the PI admin.
    The PI admin will likely not be logging in every day to check job approval status.   I can't see anywhere that notifies the admin via email that a job is waiting.  can this be done or am I missing something?
    -Tim

    Hi Tim,
    I don't think we have an email optiom to notify the ADMIN to approve the pending jobs ,however if you authorized any job then ONLY admin can approve to run the job.
    check the below link:
    http://www.cisco.com/en/US/docs/net_mgmt/prime/infrastructure/2.0/administrator/guide/config_server_settings.html#wp1081686
    Thanks-
    Afroz
    [Do rate the useful post]

  • Cisco Prime Infrastructure 2.0 - no traps/info are pushed from devices

    Good evening,
    I have setup Cisco Prime Infrastructure 2.0 and,  though I have added manually my 4 network cores as devices without any  problem, I can't get a single trap or a single SNMP information to be  pushed into my Cisco Prime Infra.
    Here is my SNMP config on my core :
    snmp-server user *edited* *edited* v3
    snmp-server  group *edited* v3 noauth notify  *tv.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF.FFFFFFFF0F
    snmp-server community *edited* RO
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps flowmon
    snmp-server enable traps transceiver all
    snmp-server enable traps call-home message-send-fail server-fail
    snmp-server enable traps tty
    snmp-server enable traps rf
    snmp-server enable traps memory
    snmp-server enable traps cpu_threshold
    snmp-server enable traps eigrp
    snmp-server enable traps ospf state-change
    snmp-server enable traps ospf errors
    snmp-server enable traps ospf retransmit
    snmp-server enable traps ospf lsa
    snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
    snmp-server enable traps ospf cisco-specific state-change shamlink interface
    snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
    snmp-server enable traps ospf cisco-specific errors
    snmp-server enable traps ospf cisco-specific retransmit
    snmp-server enable traps ospf cisco-specific lsa
    snmp-server enable traps flex-links status
    snmp-server enable traps fru-ctrl
    snmp-server enable traps entity
    snmp-server enable traps ethernet cfm cc mep-up mep-down cross-connect loop config
    snmp-server enable traps ethernet cfm crosscheck mep-missing mep-unknown service-up
    snmp-server enable traps ether-oam
    snmp-server enable traps aaa_server
    snmp-server enable traps flash insertion removal
    snmp-server enable traps l2tc threshold sys-threshold
    snmp-server enable traps power-ethernet police
    snmp-server enable traps rep
    snmp-server enable traps vswitch dual-active vsl
    snmp-server enable traps udld link-fail-rpt status-change
    snmp-server enable traps vtp
    snmp-server enable traps vlancreate
    snmp-server enable traps vlandelete
    snmp-server enable traps auth-framework sec-violation
    snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-vlan
    snmp-server enable traps envmon fan shutdown supply temperature status
    snmp-server enable traps entity-diag boot-up-fail hm-test-recover hm-thresh-reached scheduled-test-fail
    snmp-server enable traps port-security
    snmp-server enable traps ethernet evc status create delete
    snmp-server enable traps energywise
    snmp-server enable traps ipsla
    snmp-server enable traps vstack
    snmp-server enable traps bfd
    snmp-server enable traps bgp
    snmp-server enable traps bulkstat collection transfer
    snmp-server enable traps cef resource-failure peer-state-change peer-fib-state-change inconsistency
    snmp-server enable traps config-copy
    snmp-server enable traps config
    snmp-server enable traps config-ctid
    snmp-server enable traps event-manager
    snmp-server enable traps hsrp
    snmp-server enable traps ipmulticast
    snmp-server enable traps isis
    snmp-server enable traps msdp
    snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
    snmp-server enable traps bridge newroot topologychange
    snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
    snmp-server enable traps syslog
    snmp-server enable traps isakmp policy add
    snmp-server enable traps isakmp policy delete
    snmp-server enable traps isakmp tunnel start
    snmp-server enable traps isakmp tunnel stop
    snmp-server enable traps ipsec cryptomap add
    snmp-server enable traps ipsec cryptomap delete
    snmp-server enable traps ipsec cryptomap attach
    snmp-server enable traps ipsec cryptomap detach
    snmp-server enable traps ipsec tunnel start
    snmp-server enable traps ipsec tunnel stop
    snmp-server enable traps ipsec too-many-sas
    snmp-server enable traps errdisable
    snmp-server enable traps ethernet cfm alarm
    snmp-server enable traps vlan-membership
    snmp-server enable traps mac-notification change move threshold
    snmp-server enable traps vrfmib vrf-up vrf-down vnet-trunk-up vnet-trunk-down
    snmp-server host *ip-address-edited* version 3 noauth *edited*
    Basically all traps are enabled but absolutely nothing is showing up in my Prime Infra except that my 4 devices are "Reachable".
    Here is a show snmp on the same device :
    sh snmp
    Chassis: *S/N Edited*
    38554534 SNMP packets input
        0 Bad SNMP version errors
        14 Unknown community name
        0 Illegal operation for community name supplied
        0 Encoding errors
        38453185 Number of requested variables
        0 Number of altered variables
        17790703 Get-request PDUs
        20583581 Get-next PDUs
        0 Set-request PDUs
        0 Input queue packet drops (Maximum queue size 1000)
    38490708 SNMP packets output
        0 Too big errors (Maximum packet size 1500)
        0 No such name errors
        0 Bad values errors
        0 General errors
        38371069 Response PDUs
        13 Trap PDUs
    SNMP global trap: enabled
    SNMP agent enabled
    SNMP logging: enabled
        Logging to *edited*, 0/10, 13 sent, 0 dropped.
    Can anyone point out what is wrong or missing in my configuration? I can't seem to single it out myself.
    Thanks
    Jeremy

    Hi Jeremy,
    SNMP traps are shown in the events and alerts section of PI.
    SNMP config looks fine. Can  you run the SNMP debug (debug snmp packets ) .check the logs and see if the device is actually sending the TRAPS to the PI server.
    Thanks-
    Afroz
    [Do rate the useful post]
    ****Ratings Encourages Contributors ****

Maybe you are looking for

  • Disk Repair on a late 2007 Mac Book Pro

    I just ran a Disk Check on my Mac after the warped batery issue I had two days ago; it tells me to start up the machine from my Mac OS X installation disk and run Disk Utility to repair. I have cold feet insamuch as my Start Up disk is the old Tiger

  • Issue with WRT120N Firmware in NZ

    Hi guys. I'm residing in New Zealand and I've had the Wireless-N Home Router WRT120N for a year or so, I recently had trouble accessing the router and I am not able to reset the **bleep** thing to factory default settings so I can re-setup. I read t

  • [Stage3D]The ATF compress texture quality loss in some phone.

    Left picture is original. On the right is to use the ATF compress texture. I used the command png2atf.exe -c e -q 0 -n 0,0 -r -4 -i "in.png" -o "out.atf" The phone use android system 4.2.2 and CPU model is MT6592(GPU is "Mali 450 MP4").

  • Cutomization - Disable shortcut keys

    We are working in an enterprise environment, where our requiement is to give Customize Firefox to the users. Only Address Bar visible to the user. 1- Hide Menus. (Task Done) 2- Icon along the Address bar. (Task Done) 3- Disable all Shortcut keys. (Pa

  • Configurable products in CRM - Error ASSERTION_FAILED

    Hello Experts, I'm trying to use configurable products in CRM. To do this we have decided to replicate the configurable products from ERP to CRM. We were able to replicate the products into CRM, but when we try to use these in sales quotations we get