[Check_mk (english)] Livestatus - Query timeout

Hi guys.

All hosts --> Availability report.

I want a report for this year, 500 hosts.

Unhandled exception: 413: Maximum query time of 30 seconds exceeded!

How can i fix that? Can’t find the option.

This is for CRE 1.2.6p10

Thanks!!!

Isn’t 30 seconds the default timeout in the apache config file?
You could try increasing that to something like 120 and restart
apache and see if that has any effect.

···

On 12/27/2016 12:22 PM, Gerardo
Ferreyra wrote:

Hi guys.

All hosts → Availability report.

I want a report for this year, 500 hosts.

        Unhandled

exception: 413: Maximum query time of 30 seconds exceeded!

How can i fix that?� Can’t
find the option.

This is for CRE 1.2.6p10

Thanks!!!

_______________________________________________
checkmk-en mailing list

checkmk-en@lists.mathias-kettner.dehttp://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

I’m sorry, can you tell me where exactly? And which is the variable?

Thanks!

···

2016-12-27 14:26 GMT-03:00 Jam Mulch spammagnet10@gmail.com:

Isn’t 30 seconds the default timeout in the apache config file?

You could try increasing that to something like 120 and restart

apache and see if that has any effect.



  On 12/27/2016 12:22 PM, Gerardo

Ferreyra wrote:

Hi guys.

All hosts → Availability report.

I want a report for this year, 500 hosts.

        Unhandled

exception: 413: Maximum query time of 30 seconds exceeded!

How can i fix that? Can’t
find the option.

This is for CRE 1.2.6p10

Thanks!!!

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)

Which one? and where?

./omd/sites/prod/etc/check_mk/apache.conf

./omd/sites/prod/etc/dokuwiki/apache.conf

./omd/sites/prod/etc/pnp4nagios/apache.conf

./omd/sites/prod/etc/apache/apache.conf

./omd/sites/prod/etc/apache/apache-shared.conf

./omd/sites/prod/etc/apache/apache-own.conf

./omd/sites/prod/etc/nagios/apache.conf

./omd/sites/prod/etc/nagvis/apache.conf

./omd/sites/prod/etc/icinga/apache.conf

./omd/versions/1.2.6p10.cre/share/omd/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/check_mk/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/dokuwiki/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/pnp4nagios/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/apache/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/apache/apache-shared.conf

./omd/versions/1.2.6p10.cre/skel/etc/apache/apache-own.conf

./omd/versions/1.2.6p10.cre/skel/etc/nagios/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/nagvis/apache.conf

./omd/versions/1.2.6p10.cre/skel/etc/icinga/apache.conf

I tried setting query_timeout=0 on

./etc/mk-livestatus/nagios.cfg ?
./etc/nagios/nagios.cfg
./tmp/nagios/nagios.cfg

And restarting omd, but nothing changed.

Same error over and over.

Any help please?

···

2016-12-27 14:30 GMT-03:00 Gerardo Ferreyra raptorg83@gmail.com:

I’m sorry, can you tell me where exactly? And which is the variable?

Thanks!

2016-12-27 14:26 GMT-03:00 Jam Mulch spammagnet10@gmail.com:

Isn’t 30 seconds the default timeout in the apache config file?

You could try increasing that to something like 120 and restart

apache and see if that has any effect.



  On 12/27/2016 12:22 PM, Gerardo

Ferreyra wrote:

Hi guys.

All hosts → Availability report.

I want a report for this year, 500 hosts.

        Unhandled

exception: 413: Maximum query time of 30 seconds exceeded!

How can i fix that? Can’t
find the option.

This is for CRE 1.2.6p10

Thanks!!!

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)

Hi,

query timeout for livestatus can be changed in nagios.cfg. For more information look at:

http://mathias-kettner.com/checkmk_livestatus.html

and search for timeout and read part 17. timouts on the same site.

HTH

Philipp

···

2016-12-27 14:30 GMT-03:00 Gerardo Ferreyra raptorg83@gmail.com:

I’m sorry, can you tell me where exactly? And which is the variable?

Thanks!

2016-12-27 14:26 GMT-03:00 Jam Mulch spammagnet10@gmail.com:

Isn’t 30 seconds the default timeout in the apache config file?

You could try increasing that to something like 120 and restart

apache and see if that has any effect.
On 12/27/2016 12:22 PM, Gerardo Ferreyra wrote:

Hi guys.

All hosts → Availability report.

I want a report for this year, 500 hosts.

Unhandled exception: 413: Maximum query time of 30 seconds exceeded!

How can i fix that? Can’t find the option.

This is for CRE 1.2.6p10

Thanks!!!

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)