Closed dingus9 closed 10 years ago
I feel in this case what is wanted is raxmon-checks-get
, raxmon-alarms-get
and raxmon-entities-get
. can't believe those don't exist yet actually.
I can rework it into new commands... I'll do that tonight
That'd be great, though I'm sad you have to do that. I wish I could just merge this PR.
I didn't spend too much time on it really
Reasoning
I am seeing more users with enough entries to make listing --details quite long. Adding a --id flag allows me to list all objects, pick one and then list the details for that object. It also pairs nicely with the update and delete methods.
I felt adding the id field was better than providing a new command raxmon-object-get.
Example usage: raxmon-checks-list --user USERNAME --api-key ***\ --entity-id enXXXXXXXX --id chXXXXXXXX