TECHZEN Zenoss User Community ARCHIVE  

Zenoss API

Subject: Zenoss API
Author: basem bakr
Posted: 2018-04-05 10:47

i have an issue when using the API !!

$ROUTER_ENDPOINT = "device_router"

$ROUTER_ACTION = "DeviceRouter"
$ROUTER_METHOD = "getDevices"

what does Router_endpoint refer to? 
and even if I want to get traffic and events from an access point or switch, what shall I configure?


------------------------------
basem bakr
------------------------------


Subject: RE: Zenoss API
Author: Jane Curry
Posted: 2018-04-06 02:51

Have a look at the wiki item here -  http://wiki.zenoss.org/Working_with_the_JSON_API  .
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss API
Author: basem bakr
Posted: 2018-04-10 06:47

Does that mean this API working only with Routers ??

------------------------------
basem bakr
------------------------------


Subject: RE: Zenoss API
Author: Jane Curry
Posted: 2018-04-11 04:05

There may be confusion over the word "router" here?  I cannot give you the exact technical definition but in the API a "router" is a piece of code that takes API calls and passes them to routines, generally in a "facade" (more code, typically more detailed).  So there is a device router, a process router, a zep router for accessing events,... and so on.

This use of "router" is not directly associated with devices that come from Cisco, Juniper etc and are used to build physical networks.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss API
Author: basem bakr
Posted: 2018-04-11 07:19

okay thank you 
i got your point

------------------------------
basem bakr
------------------------------


< Previous
Zenoss 4.2.5 - no longer sending emails
  Next
Zenoss 4.2.5 - wiping all the data to start over
>