Quantcast
Viewing all articles
Browse latest Browse all 853

events and event details via RESTful

Hello all -

 

I have an snmptrap coming in from CA/Autosys that has the same OID for multiple failed jobs.

 

The job ID that has failed is buried in the event detail.

 

I am trying to dig up the various distinct Jobs that have failed by querying the event tables via JSON API (query and queryArchive in zep.py it seems)

 

However, the event detail that is return only appears to be the most recent info from the last snmptrap received. Any thoughts on how i can retrieve all the event details for say a particular device or OID snmptrap that was received?

 

Does the question make sense as stated?

 

 

eg . from zep.py (but use detailFormat=True) :

 

def query(self, limit=0, start=0, sort='lastTime', dir='desc', params=None, exclusion_filter=None, keys=None,page=None, archive=False, uid=None, detailFormat=False):

   

 

 

Regards,

 

Liam Carey


Viewing all articles
Browse latest Browse all 853

Trending Articles