---
title: "Mibmon - What is the Query Timeout setting in the MIB Monitor plugin?"
description: "The Query Timeout setting in the MIB Monitor plugin defines the time limit for network session queries before retrying. It is configurable with a minimum of 5 seconds and determines when the plugin initiates another query after a timeout."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004018945-geneos-mibmon-what-is-the-query-timeout-setting-in-the-mib-monitor-plugin/index.html"
---
The Query Timeout setting is the time the plugin will query again if a query had timed out.

The query timeout setting is configurable and the minimum value is 5 secs.
The timeout is the time limit for the network session to query entities in MIB.

While the time limit has not been reached, the valid session will open another query.
The interval for the next query relies on the network process response time.

**Below are the steps on how the query time limit is set.**

1. The timeout is first retrieved from the configuration parameter: queryTimeout
xml\_timeout = queryTimeout;

2. If configuration value is zero, timeout is set as half the sample interval.
if queryTimeout = 0
xml\_timeout = sampleInterval/2
else
xml\_timeout = queryTimeout;

3. If value is less than 5 sec, query timeout is set by default to 5 sec.
if queryTimeout < 5
xml\_timeout = 5

if (sampleInterval/2) < 5
xml\_timeout = 5

4. Set the network session query timeout as current time and the xml\_timeout
se\_timeout = curr\_system\_time + xml\_timeout

5. While current\_time is less than the time limit, session will open another query.


