Reply
Highlighted
L1 Bithead
Posts: 7
Registered: ‎08-19-2015
Accepted Solution

API to trigger MineMeld Miner refresh

Is anyone aware of a way to remotely trigger a Minemeld Miner refresh.

 

Does MineMeld have it's own API?

 

I'm familiar with using PA API and Dynamic Address Groups for instant addititions of IPs. This is for a usecase where EDLs are used and we'd like to trigger MineMeld and then PA refreshes. I can refresh the PA EDL via API; however, I'm not sure how to trigger a refresh on the MineMeld Miner.

 

As a workarround for now, I may just adjust the Miner prototype update frequency to something small. No more than a few minutes and then just delay the PA refresh until outside the Miner refresh interval I go with.

 

With all of that said, I'm curious whether MineMeld has it's own API wherein I can trigger events such as a miner refresh remotely.

L4 Transporter
Posts: 213
Registered: ‎11-15-2012

Re: API to trigger MineMeld Miner refresh

Hi @PA-User,

 

yes MineMeld does have its own API.

 

To trigger a miner refresh you can use the following entryPoint

 

<MineMeld URL>/status/<nodename>/hup
L1 Bithead
Posts: 7
Registered: ‎08-19-2015

Re: API to trigger MineMeld Miner refresh

[ Edited ]

xhoms,

 

Thanks! Getting closer.

 

Looks like that works well once authenticated; however, is there a way to generate an API key to trigger these from a remote scripting platform?

L4 Transporter
Posts: 213
Registered: ‎11-15-2012

Re: API to trigger MineMeld Miner refresh

I'm afraid MineMeld's API only supports basic auth at this time. You know you can create additional system accounts, right?

 

L1 Bithead
Posts: 7
Registered: ‎08-19-2015

Re: API to trigger MineMeld Miner refresh

Yep,

 

Not a problem, I'll setup an API account and include the crediantials in my curl request. This is certainly workable. Thanks for all your help!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!