Re: [opennms-devel] Getting node lists with status out of REST

2011-10-18 Thread Duncan Mackintosh
_ From: Duncan Mackintosh [dmackint...@cbnl.com] Sent: 05 September 2011 09:52 To: OpenNMS Code Development and Bugs Subject: Re: [opennms-devel] Getting node lists with status out of REST That sounds pretty good, it would suit my needs just fine and it's generic

Re: [opennms-devel] Getting node lists with status out of REST

2011-10-18 Thread Duncan Mackintosh
__ From: Duncan Mackintosh [dmackint...@cbnl.com] Sent: 05 September 2011 09:52 To: OpenNMS Code Development and Bugs Subject: Re: [opennms-devel] Getting node lists with status out of REST That sounds pretty good, it would suit my needs just fine and it's generic enough

Re: [opennms-devel] Getting node lists with status out of REST

2011-09-05 Thread Duncan Mackintosh
___ From: Craig Miskell [cr...@stroppykitten.com] Sent: 05 September 2011 00:16 To: OpenNMS Code Development and Bugs Subject: Re: [opennms-devel] Getting node lists with status out of REST Hi, Well, how about something like: /rest/availability?filter= That way it's not cluttering up the

Re: [opennms-devel] Getting node lists with status out of REST

2011-09-04 Thread Craig Miskell
uld get a bit messy trying to decipher the URLs though. As you say, it > could be that REST just isn't fit for that type of data set anyway. > > Duncan > > ________________ > From: Craig Miskell [cr...@stroppykitten.com] > Sent: 25 August 2011 20:59 > To:

Re: [opennms-devel] Getting node lists with status out of REST

2011-09-01 Thread Duncan Mackintosh
7;t fit for that type of data set anyway. Duncan From: Craig Miskell [cr...@stroppykitten.com] Sent: 25 August 2011 20:59 To: OpenNMS Code Development and Bugs Subject: Re: [opennms-devel] Getting node lists with status out of REST On 26/08/11 2:04 AM,

Re: [opennms-devel] Getting node lists with status out of REST

2011-08-25 Thread Craig Miskell
On 26/08/11 2:04 AM, Duncan Mackintosh wrote: > Cheers Craig, that's about what I was assuming was the case to be honest. > The hardest thing I've found to try and get out of REST was 'node availability > over last X days' - the db function that calculates this looks at sum(outages)/count(managed

Re: [opennms-devel] Getting node lists with status out of REST

2011-08-25 Thread Les Mikesell
On 8/25/2011 9:04 AM, Duncan Mackintosh wrote: > Cheers Craig, that's about what I was assuming was the case to be honest. The > hardest thing I've found to try and get out of REST was 'node availability > over last X days' - the db function that calculates this looks at > sum(outages)/count(man

Re: [opennms-devel] Getting node lists with status out of REST

2011-08-25 Thread Duncan Mackintosh
_ From: Craig Miskell [cr...@stroppykitten.com] Sent: 22 August 2011 21:12 To: OpenNMS Code Development and Bugs Subject: Re: [opennms-devel] Getting node lists with status out of REST On 23/08/11 4:32 AM, Duncan Mackintosh wrote: > I'm working on improving our internal geolocation n

Re: [opennms-devel] Getting node lists with status out of REST

2011-08-22 Thread Craig Miskell
On 23/08/11 4:32 AM, Duncan Mackintosh wrote: > I'm working on improving our internal geolocation node map (based on the > work Alex Bennee started) and trying to migrate it to use Hibernate > instead of direct SQL, starting with the REST api. > > Presently it doesn't seem at all easy to get "all

[opennms-devel] Getting node lists with status out of REST

2011-08-22 Thread Duncan Mackintosh
I'm working on improving our internal geolocation node map (based on the work Alex Bennee started) and trying to migrate it to use Hibernate instead of direct SQL, starting with the REST api. Presently it doesn't seem at all easy to get "all nodes, and for each node a list of alarms and recent