set default "limit result" [solved]

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
xenz
Posts: 2
Joined: Sun Jun 03, 2012 1:32 am

set default "limit result" [solved]

Post by xenz »

Greeting, I had upgraded our Nagios Core from 3.2.0 to 3.4.1, one thing I noticed when I choose Current Status > Services, now it has divided into couple pages with a selection to choose "limit results" to 50, 100, 250, 1000 and All, while with the old version it's all one page.

I have been looking through nagios.cfg and cgi.cfg or whatnot but was unable to find anywhere that I can set a default value of this "limit result"/view everything as single page. Wondered if anyone know if this is possible to set a default value for this view option ?

TIA
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: set default "limit result" [solved]

Post by agriffin »

Is this still an issue for you? I noticed that the subject line already said "[solved]" before your post was even approved, but nothing in the body of your post indicates that.
xenz
Posts: 2
Joined: Sun Jun 03, 2012 1:32 am

Re: set default "limit result" [solved]

Post by xenz »

Sorry agriffin, I found the solution myself and want to report back, but once I change the title to [solved] before I post my finding, the message has been hidden because I'm a n00b in here and post need to authorize first.

Back to the topic - it's my silly mistake - I was digging around with the old version of cgi.cfg. In the updated v3.4.1 /usr/local/nagios/etc/cgi.cfg, there is clearly marked section says DEFAULT PAGE LIMIT.

If you set the value result_limit=0, it will show all results.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: set default "limit result" [solved]

Post by agriffin »

Don't worry, it's not a problem. Anyway, I'm glad you fixed your issue.
Locked