Coder Social home page Coder Social logo

Comments (3)

cluther avatar cluther commented on August 19, 2024

I don't know what that float() error is, but above that I think the problem is that there's already a device in the system called 172.26.167.181 that is being managed by the same IP address. Zenoss is preventing you from adding the CloudFoundry instance because api.cloud.eden.klm.com resolves to that same IP.

Can you try removing the 172.26.167.181 device and adding the CloudFoundry again?

from zenpacks.zenoss.cloudfoundry.

ramonskie avatar ramonskie commented on August 19, 2024

when i removed the device and added the cloudfoundry account it worked :)

but i tried to add another account and it told me that i cannot add another instance with the same ip
so this means we can only check one account?

from zenpacks.zenoss.cloudfoundry.

cluther avatar cluther commented on August 19, 2024

This is Zenoss trying to be helpful and prevent us from adding the same device twice. Unfortunately it's quite unhelpful in this scenario. However, you may be able to workaround this on the back-end to monitor multiple accounts.

  1. Add the first account through the web interface as you've already done

  2. SSH into your Zenoss server

  3. Switch to the zenoss user: su - zenoss

  4. Run zendmd to enter the interactive shell

  5. Add further CloudFoundry accounts by running as many of the following as needed..

    acct1 = dmd.Devices.CloudFoundry.createInstance('name_of_acct1')
    acct1.setManageIp('x.x.x.x')
    acct1.setPerformanceMonitor('localhost')
    acct1.setZenProperty('zCloudFoundryTarget', 'http://api.vcap.me')
    acct1.setZenProperty('zCloudFoundryEmail', '[email protected]')
    acct1.setZenProperty('zCloudFoundryPassword', 'mypassword')
    commit()

Zenoss won't check for duplicate IP addresses through this back-end way of adding devices.

from zenpacks.zenoss.cloudfoundry.

Related Issues (3)

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.