Programming with the BGPmon.net Web Services API
Lately I have received quite some questions with regard to connecting BGPmon.net with existing monitoring software. As well as requests for making more data available for developers.
I'm happy to announce that these things should now be possible trough the BGPmon.net Web Services API. This API allows you to access your BGPmon.net alert as well as other features from your own program running anywhere on the Internet.
I will use the rest of this Blog to briefly explain how the API works and what it can be used for. More detailed information regarding the API and how to use this, can be found on the Web Services API page.
Web Services
The BGPmon.net API provide a number of Web services for developers. It allows you to query our database and let's you integrate this in your own software.
As we are using SOAP as the web services protocol. All the web services are described in a WSDL file, which can be found here.
Currently the following functions are available:
- getIPInfo()
- GetAlerts()
- GetAlertDetails()
- GetASname()
- GetASPrefixes()
- GetCountry()
4 comments
Why the complicated SOAP+WSDL instead of the much simpler and portable REST or XML-RPC ?
Hi Stephane,
The SOAP was a feature requested by two BGPmon users. SOAP *with* a WSDL is very easy.
I like REST a lot as well and if you or other developers/users are interested in a REST interface I will make that available as well.
If you are please let me know by sending an email or a comment on this blog.
Thanks,
Andree
Hi, http://www.bgpmon.net/bgpmon-nagios.pl no longer seems to be available – is there a current link?
Hi Mick,
Please see https://portal.bgpmon.net/bgpmonapi.php (account required) for API examples and API details / documentation.