What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Monitoring MongoDB

Votes:

0

Hello!

We are running a cluster of MongoDB servers in our environment, and I am interested in monitoring the response time of an arbitrary query to make sure it stays within a normal range.

With a Microsoft SQL database, I can create a Microsoft SQL v2 sensor and look at the "Execution Time" and "Query Execution Time". Easy enough. How do I accomplish that with MongoDB?

I see there are no built in sensor types specifically built for MongoDB, but is there another way to do it? Has anyone done it before? Is there anything more or less pre-built that I can use?

Thanks in advance!

database mongodb query

Created on Jul 29, 2019 8:08:29 AM



3 Replies

Votes:

0

Hi there,

Thank you for your message.

We actually did have a Mongo DB Health Sensor. We had to deprecate the sensor, as the interface that was used to request the system health data was discontinued by the Mongo DB project.

Also I cannot provide an alternative for this sensor type, I'm afraid.

Thank you for your understanding!


Kind regards,
Andreas Günther
Tech Support, Paessler AG

[email protected]

Created on Jul 29, 2019 11:44:39 AM by  Andreas Günther [Paessler Support]



Votes:

0

Thanks for your reply!

Is it possible to create an EXE sensor, for example using powershell, and measuring query response time that way? How would one go about doing that?

Created on Jul 29, 2019 6:08:46 PM



Votes:

0

Hi there,

Yes that would be the way to go. Something like this maybe: http://www.mikefal.net/2015/03/24/auditing-sql-execution-times-with-powershell/

In combination with PRTG's EXE Script Sensor, please find more information within the following links: https://www.paessler.com/manuals/prtg/exe_script_sensor https://kb.paessler.com/en/topic/71356-guide-for-powershell-based-custom-sensors#reply-238210

Thank you for your understanding that we cannot support custom scripts.


Kind regards,
Andreas Günther
Tech Support, Paessler AG

[email protected]

Created on Jul 31, 2019 7:04:14 AM by  Andreas Günther [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.