New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Monitoring MongoDB

Votes:

0

Your Vote:

Up

Down

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 by  guan (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  guan (0) 1



Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.