Project

General

Profile

Bug #879

monitor calls to mn-daac not working

Added by Rob Nahf about 14 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
mn.Mercury
Target version:
Start date:
2010-10-07
Due date:
2010-10-16
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

/mn/monitor?operationType=read
/mn/monitor?operationType=create

return errors, but succeed with day parameter, like so:
/mn/monitor?day&operationType=read
/mn/monitor?day&operationType=create

History

#1 Updated by Rob Nahf about 14 years ago

script output: 500 internal server error

bash-3.2$ perl get_mn_health_stats.pl --host daacmn.dataone.utk.edu --verbose
http://daacmn.dataone.utk.edu/mn/monitor?operationType=read
500 Internal Server Error
http://daacmn.dataone.utk.edu/mn/monitor?operationType=create
5_00 Internal Server Error_
http://daacmn.dataone.utk.edu/mn/monitor?day&operationType=read
<?xml version="1.0" ?>2010-09-0832010-09-14332010-09-2134/ns1:monitorList
http://daacmn.dataone.utk.edu/mn/monitor?day&operationType=create
<?xml version="1.0" ?>2010-09-0822/ns1:monitorList
total_retrievals:-1 total_objects:-1 daily_retrievals:34 daily_objects:0
bash-3.2$

#2 Updated by Dave Vieglais about 14 years ago

  • Status changed from New to In Progress

Re-assigning to Roger.

#3 Updated by Roger Dahl about 14 years ago

  • Assignee changed from Roger Dahl to Rob Nahf
  • Milestone set to CCI-0.6
  • Target version deleted (CCI-0.5)

Rob, could you try it now. Check the REST docs for a slight alteration to the URL (/monitor -> /monitor/object and /monitor/event). Go ahead and close the ticket if it works.

#4 Updated by Matthew Jones about 14 years ago

  • Parent task set to #962

#5 Updated by Dave Vieglais about 14 years ago

  • Tracker changed from Bug to Task

#6 Updated by Rob Nahf about 14 years ago

  • Tracker changed from Task to Bug
  • Start date set to 2010-10-07
  • Parent task deleted (#962)

#7 Updated by Rob Nahf about 14 years ago

  • Target version set to Sprint-2010.40
  • Position changed from 1 to 41
  • Position set to 1

#8 Updated by Rob Nahf about 14 years ago

  • Assignee changed from Rob Nahf to Roger Dahl

3 of 4 calls I need to make work, but "/monitor/object?day" yield an error : 500 Internal Server Error. The new interface does not seem to be as specific, though. the /monitor/event call doesn't distinguish between reads, updates, and deletes, and creates. Is that what we want?

#9 Updated by Matthew Jones about 14 years ago

  • Target version changed from Sprint-2010.40 to Sprint-2010.41
  • Position deleted (48)
  • Position set to 4

#10 Updated by Roger Dahl about 14 years ago

  • Status changed from In Progress to Closed

3 of 4 calls I need to make work, but "/monitor/object?day" yield an error : 500 Internal Server Error.

-> fixed.

The new interface does not seem to be as specific, though. the /monitor/event call doesn't distinguish between reads, updates, and deletes, and creates. Is that what we want?

-> There's no change in the basic design there. You'll need to query one time for each event type, and filter on that type with "&event=". See REST_interface.html#get-monitor-event. For more fine grained information, I think the best way would be to get the logs directly via the /log/ collection and parse them.

#11 Updated by Dave Vieglais almost 12 years ago

  • Category changed from 299 to mn.Mercury
  • translation missing: en.field_remaining_hours set to 0.0
  • Milestone changed from CCI-0.6 to None
  • Due date set to 2010-10-16

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)