Git Product home page Git Product logo

env-load's People

Contributors

ctdk avatar dieterbe avatar woodsaj avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

env-load's Issues

errors while loading endpoints

env-load -auth admin:admin -orgs=120 load
2015/10/01 14:27:38 getting list of collectors to use
request to  http://admin:admin@localhost/api/collectors/ with body data {"Slug":null,"Name":null,"Tag":null,"Public":"true","OrgId":0,"Result":null}
[1]
>> creating user fake_user_1
request to  http://admin:admin@localhost/api/admin/users with body data {"email":"[email protected]","login":"fake_user_1","name":"fake_user_1","password":"fake_pass_1"}
>> creating endpoint fake_org_1_endpoint_1
request to  http://fake_user_1:fake_pass_1@localhost/api/endpoints with body data {"name":"fake_org_1_endpoint_1","tags":[],"monitors":[{"endpoint_id":0,"monitor_type_id":3,"collector_ids":[1],"collector_tags":[],"settings":[{"variable":"hostname","value":"localhost"}],"health_settings":{"num_collectors":2,"steps":1,"notifications":{"enabled":true,"addresses":""}},"frequency":10,"enabled":true},{"endpoint_id":0,"monitor_type_id":4,"collector_ids":[1],"collector_tags":[],"settings":[{"variable":"name","value":"localhost"},{"variable":"type","value":"A"},{"variable":"server","value":"8.8.8.8"},{"variable":"port","value":"53"},{"variable":"protocol","value":"udp"}],"health_settings":{"num_collectors":2,"steps":1,"notifications":{"enabled":true,"addresses":""}},"frequency":10,"enabled":true},{"endpoint_id":0,"monitor_type_id":1,"collector_ids":[1],"collector_tags":[],"settings":[{"variable":"host","value":"localhost"},{"variable":"port","value":"80"},{"variable":"path","value":"/"},{"variable":"method","value":"GET"},{"variable":"expectRegex","value":""},{"variable":"headers","value":"Accept-Encoding: gzip\nUser-Agent: raintank collector\n"}],"health_settings":{"num_collectors":2,"steps":1,"notifications":{"enabled":true,"addresses":""}},"frequency":10,"enabled":true}]}
response BODY [{"fieldNames":["EndpointId"],"classification":"RequiredError","message":"Required"},{"fieldNames":["EndpointId"],"classification":"RequiredError","message":"Required"},{"fieldNames":["EndpointId"],"classification":"RequiredError","message":"Required"}]
2015/10/01 14:27:38 422 status code 422

this used to work fine. but i think something changed wrt the endpoint validation, perhaps the multi-value validation stuff that @woodsaj built?

staggered loading

need to be gradually increase amount of orgs,
want to make load ops idempotent so that if you already have 5 and you ask for 10, it adds 5 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.