TECHZEN Zenoss User Community ARCHIVE  

Zenoss Perl API and 5.1.1

Subject: Zenoss Perl API and 5.1.1
Author: Martin
Posted: 2016-03-23 09:00

Hi All,

in the past i used the Zenoss Perl module to connect to Zenoss 4, get all active devices and perform a configuration backup. Since i'm now moved to Zenoss 5.1.1 i'm no longer able to connect to the Zenoss API. I get the error message "Unable to login to Zenoss with provided credentials". Anyone else who tried to connect via the Perl module

Thank you.



Subject: I'm not familiar with the
Author: Andrew Kirch
Posted: 2016-03-24 10:59

I'm not familiar with the perl module you speak of, but Zenoss 5 has an updated API, so there may be compatibility issues there.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: I think that's the cause of
Author: Martin
Posted: 2016-03-29 01:22

I think that's the cause of the problem. Is there any documentation available on how to get all devices for a device class from command line



Subject: Maziggy,
Author: [Not Specified]
Posted: 2016-04-21 13:02

Maziggy,

It's possible to do via a API call or a DMD script. Which would you prefer

ZenMaster Shane William Scott (Hackman238)

CTO

GoVanguard Inc.

sscott@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Yes, in the meantime i
Author: Martin
Posted: 2016-04-22 01:51

Yes, in the meantime i changed my scripts to get a device list via DMD script. So for now this is fine for me.



< Previous
What is "modeling"?
  Next
Struggling to get Zenoss Core to start
>