cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Getting the Alerts/Events from XMC via API

Getting the Alerts/Events from XMC via API

stefanrink
New Contributor

Hi,

We want the events/alerts from XMC to be shown on our Icinga/PHP NOC screen but we canā€™t seem to find any information on how to get the data from the API.

How do you get the Alerts and Events from XMC via the API?

 

9 REPLIES 9

M_Nees
Contributor III

Hi Stefan,

from your reply i understand that you wish that the XMC API should be improved to be more open and more complete (through all XMC modules) and much better documentated.

This is also welcome by all the other XMC API Users.

To achieve your goals please trigger feature request(s) through to your local pre-sales guys.
Otherwise Extreme says that the does not know such demand.

 

 

 

stefanrink
New Contributor

Or I should finally learn Python and do it on the host in Python and probably have a lot of headaches with every XMC update. haha šŸ™‚

I was just hoping the ā€˜Open APIā€™ would at least be alerts and events and the configuration is more of a nice to have.

Our 24/7 system knows who to notify if something goes wrong and the device is important enough to wake somebody up so it would be nice to have it read the Alerts and Events in XMC and not have make Icinga SNMP all the switches and make all those rules/services twice.

M_Nees
Contributor III

If you have concerns about lost UDP Trap/Syslog Packets - Maybe syslog can be send via TCP (TLS secured).

But i have not checked if that is possible by XMC and/or Check-MK.

stefanrink
New Contributor


Hi Stefan,

can you give me some tips how are you able to integrate XMC Status Information via API calls into higher monitor platform Icinga ?

BR,

Matthias

Hi Mathias,

 

Importing configuration items was easy, I get all devices from XMC via a graphql query in one PHP array, seek the items in memcached and Topdesk and update or create the assets. Another PHP script reads the Topdesk API and asks for all devices that need to be monitored and imports them into Icinga using predefined templates. That part is easy but there currently seems to be no way to get the Alarms/Events from XMC. 

If I could use the API to get all alarms and events I would import them into a Icinga services automaticly and use the 24/7 system we currently using. Iā€™d probably also make it send traps to Icinga but since we have pretty high drop rate in UDP sometimes, Iā€™m a bit reluctant in doing that alone. (also it makes for a lot of extra configuring on all events in XMC and Icinga, I prefer the automatic way)

 

 

 

GTM-P2G8KFN