Page 1 of 1

how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 5:59 am
by baber
hi

i have a problem i have added some host to my nagios monitoring but just have a problem i have take a pic from my problem and attached for example my localhost some sensors show on page 1 and one of them show on page 2

how can put all sensors for my localhost on one page



best regards
Babak

Re: how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 9:19 am
by bwallace
Sorry if stating the obvious, but have you tried increasing the value in the "Limit Results" drop down?

Re: how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 4:33 pm
by baber
so thanks
if i change that it won\t be fix for all time and every time and maybe that is temporary how can fix it for all times?

Re: how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 4:40 pm
by ssax
Edit this file:

Code: Select all

/usr/local/nagios/etc/cgi.cfg
Add this:

Code: Select all

result_limit=0
That will disable the limit, you can adjust it to another number if you'd like.

Thank you

Re: how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 4:56 pm
by rkennedy
@ssax has the easy answer.

You can also recompile Core, and change cgiutils.c, look for result_limit = 100; and change that to result_limit = 0;, then recompile. This will set the default to show _everything_, rather then 100.

Re: how can see all of my host sensor on one page

Posted: Wed Aug 03, 2016 11:10 pm
by baber
ssax wrote:Edit this file:

Code: Select all

/usr/local/nagios/etc/cgi.cfg
Add this:

Code: Select all

result_limit=0
That will disable the limit, you can adjust it to another number if you'd like.

Thank you

thanks

but i think you did not understand my question correctly 2 notice:

1 - i don't want show all hosts on one page
2 - for example if i have 30 host i want nagios show them complete means if my localhost put on page 1 show all localhost sensors on page 1 not show 3 of localhost sensors on page 1 and 2of sensors show on page 2

how can solve this problem ?

best regards
babak

Re: how can see all of my host sensor on one page

Posted: Thu Aug 04, 2016 9:21 am
by ssax
Unfortunately that functionality doesn't exist, you would need to modify the C code for the CGIs. You can create a feature request for it here if you'd like:

https://github.com/NagiosEnterprises/nagioscore

Thank you