Capacity planning - warning critical level by default

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tdegroup
Posts: 3
Joined: Wed Apr 29, 2015 6:30 am

Capacity planning - warning critical level by default

Post by tdegroup »

Hello,

if i create a new capacity planning report for a large amount of hosts, i have to enable for every single chart the "warning" and "critical" value.
Is there a way to enable the warning and critical level by default?

Thank you,

Best regards
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Capacity planning - warning critical level by default

Post by rkennedy »

When you say 'enable' for every check, what are you refering to?

You should be able to use the bulk modification tool to do this, or by changing your check command to have a preset warning /critical value.
Former Nagios Employee
tdegroup
Posts: 3
Joined: Wed Apr 29, 2015 6:30 am

Re: Capacity planning - warning critical level by default

Post by tdegroup »

Hello,

no i mean:
if i open a capacity planning Report i have to click on "warning" and "critical" for each graph (like in my attachment).
Is there a way to enable the this by default? We have large amounts of hosts in the capacity planning report and we have to enable the "warning" and "critical" value for each graph.

Thank you,

Best regards
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Capacity planning - warning critical level by default

Post by tgriep »

What version of Nagios XI are you running? There was a feature added to XI 5.x.x to enable the Warning and Critical thresholds but it seems to not work for the Capacity Planning graphs.
I'll put in a Bug Fix for that.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tdegroup
Posts: 3
Joined: Wed Apr 29, 2015 6:30 am

Re: Capacity planning - warning critical level by default

Post by tdegroup »

thank you,

we use Nagios XI 5.2.3 Enterprise.


Best regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity planning - warning critical level by default

Post by lmiltchev »

The bug has been fixed (Bug Task ID 7514). You can wait until the next release of Nagios XI is out, or you can do the following:

1. Backup the "capacityreport.js.php" file.

Code: Select all

cp -p /usr/local/nagiosxi/html/includes/components/capacityplanning/includes/capacityreport.js.php /usr/local/nagiosxi/html/includes/components/capacityplanning/includes/capacityreport.js.php.backup
2. Download the file below:
capacityreport.js.php.zip
3. Unzip it and replace the "original" capacityreport.js.php file with the new one. Make sure the permissions are the same as the capacityreport.js.php.backup

4. Try showing/hiding the warning and critical line in reports by selecting "On"/"Off" from the "Warning/Critical Line Display" drop-down menu under "System Settings"

Admin -> System Settings -> Theme & Display

Let us know if this worked for you.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked