Start a Conversation

Unsolved

Closed

V

10 Posts

1431

April 26th, 2023 09:00

REST API: getting and filtering events

Hi,

I need to retrieve and filter events from a PowerScale.
I've read through the documentation and I came up with the following URL:

https://192.168.1.123:8080/platform/3/event/eventlists?severity=neq.information

It returns the full list of events, but it's not filtering. I want to exclude information events.
Any ideas?
Any help would be appreciated.

Moderator

 • 

7.1K Posts

April 27th, 2023 09:00

Hello vrbitman,

Here is a link to a kb that maybe of assistance. https://dell.to/3V9bxyh

10 Posts

April 28th, 2023 08:00

Hi Sam,

the KB is interesting but I'm not sure it's feasible. It seems to me that I would have to manually reconfigure notifications for every possible alert, which are numerous no doubt.
But even if I had the time to reconfigure all of them, I wouldn't know where to start because I don't have a list.

2 Intern

 • 

20.4K Posts

April 29th, 2023 15:00

https://192.168.1.123:8080/platform/12/event/eventlists?describe

You will see that you can only filter on event_instance and eventgroup_id.  So that leaves you with parsing in your code.

10 Posts

May 3rd, 2023 06:00

I see.. I'm not a programmer but a sysadmin so I'm not going that route either.
Does anyone know how to download the correct OID file so I can monitor it via SNMP?
When I log in and click to download it straight from the PowerScale system, I get page not found.
I've looked up the documentation but couldn't find anything helpful.
Thank you all very much so far.

Moderator

 • 

7.1K Posts

May 3rd, 2023 08:00

Hello vrbitman,

You should be able to download the mib file from oneFS GUI itself. Under cluster management -> general settings ->SNMP monitoring.

10 Posts

May 5th, 2023 01:00

Hi Sam,

when I try to do that I get error 403 Forbidden, even though I'm logged in as admin.

Moderator

 • 

7.1K Posts

May 5th, 2023 03:00

Hello vrbitman,

Try this link to download the mib files. https://dell.to/3HI0TZA

10 Posts

May 5th, 2023 06:00

Hi Sam,

that's PowerStore not PowerScale.

1 Rookie

 • 

1 Message

June 15th, 2023 02:00

Hi,
I think this could be something what you wanted:
'https://localhost:8080/platform/3/event/eventgroup-occurrences?severity=warning&severity=emergency&severity=critical'

Here can you find the MIB File :
/base/usr/local/share/snmp/mibs/ISILON-MIB.txt

10 Posts

July 21st, 2023 01:00

Thanks.
The filters in the URL do not work. If I go to "https://localhost:8080/platform/3/event/eventgroup-occurrences" I can see all the events, but if I add the filter I'm getting empty output.

For now I've downloaded the MIB file you suggested and have passed it on to my colleagues to see if that works.

No Events found!

Top