08-26-2020 10:09 AM
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?
09-09-2020 04:58 PM
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.
09-09-2020 04:38 PM
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.
09-09-2020 04:19 PM
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.
09-09-2020 02:19 PM
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)