Is SNMP Monitoring possible in the Mendix Cloud?

2
Hi! Our client requires monitoring of several Mendix applications in their IT landscape that are hosted in the Mendix Cloud v3. The monitoring consists of performing health checks, measuring CPU/RAM usage etc, to ensure uptime, quality of services, etc. Their IT department uses reporting tools which read the Simple Network Monitoring Protocol (SNMP) values from the servers that they monitor. We want to monitoring on Mendix Cloud app nodes to this in two ways: 1. Reading SNMP values (like CPU usage, memory usage etc) from the Mendix apps in the Mendix Cloud. Is this possible in any way? 2. Sending pings to the Mendix app nodes as a health check. Is there any timing treshold that we have to take into account while pinging, so it won't be seen as intrusive or worse, an attack (as Mendix Cloud v3 is hosted on Amazon)? I.e. only ping once per minute? Previous suggestions about using SNMP4j and JMX for monitoring (see also http://www.snmp4j.org/ and http://www.andrejkoelewijn.com/blog/2013/11/18/monitoring-mendix-using-jmx/) refer to Mendix on-premise installations instead of the Mendix Cloud.
asked
4 answers
4

This is not supported in the mendix cloud, you cannot connect to your runtime other than by https. Mendix cloud v4 complicates this even more, as you may have multiple runtime instances. How are you going to address the correct runtime instance?

We do plan to provide support for new relic and similar tools on mendix cloud v4. If you are on v3, or do not want to use any of these tools, creating your own request handler providing relevant monitoring info is probably the easiest solution.

answered
1

Hi Jeff,

I'm not sure, but these are my (short) thoughts:

 

1.) Probably not, only if Mendix is willing to show this. Since there is no Cloud API for metrics, I doubt you can do this

2.) Are you sure pinging is the right way? Technically when your app is not running, you get an error page, so the ping will succeed, and your healthcheck will pass. A possible solution could be to create a custom errorpage, and create an account on uptimerobot, which can check for the keyword. If the keyword exists (ie the app is down) a notification is send. However, this is only if the app is down. For normal monitoring (ie CPU usage is high!) You'll need to check the MxCloud environment.

 

 

answered
0

I wonder if we can revive this conversation. I have the same need to monitor multiple Mendix applications. I would like to know not only the health of the runtime environment, but also receive information about critical errors which are happening in the application. I understand that there is Splunk and AppsDynamics available. Are there cheaper options? Did companies build their own monitoring solution? Maybe using Mendix?

answered
0

@Miroslav Samoylenko

We did a meetup talk about Mendix and Application Insights, this log analytic tool is able to send alerts based on customizable triggers. There is a mendix connector made by 2G available here.

answered