Hi,
We recently upgraded from Nagios XI version 5.2.9 to 5.5.9 on our test server.
Previously we were able to see warning and critical line in the performance graphs.
Right now in version 5.5.9 we are not seeing that.
please advice, how to enable them.
performance graphs not showing warning and critical lines
performance graphs not showing warning and critical lines
You do not have the required permissions to view the files attached to this post.
Re: performance graphs not showing warning and critical line
The warning and critical values have been removed from the "popup" after XI 5.3. Also, the warning and critical lines would show on the graph only if you had one datasource. If you had multiple datasources, the line wouldn't show at all.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: performance graphs not showing warning and critical line
what is multiple datasources?
Here is how we are running the check.
root@hadcrdtnagios01:~# /usr/local/nagios/libexec/check_nrpe -H HQBISQL80N1 -c CheckMEM -a ShowAll type=physical MaxWarn=95% MaxCrit=97%
OK: physical: Total: 31.994GB - Used: 29.516GB (92%) - Free: 2.479GB (7%)|'physical'=29.51562GB;30.39445;31.03433;0;31.99416 'physical %'=92%;95;97;0;100
root@hadcrdtnagios01:~#
this is a windows server running NSClient++
here is the graph for it.
Here is how we are running the check.
root@hadcrdtnagios01:~# /usr/local/nagios/libexec/check_nrpe -H HQBISQL80N1 -c CheckMEM -a ShowAll type=physical MaxWarn=95% MaxCrit=97%
OK: physical: Total: 31.994GB - Used: 29.516GB (92%) - Free: 2.479GB (7%)|'physical'=29.51562GB;30.39445;31.03433;0;31.99416 'physical %'=92%;95;97;0;100
root@hadcrdtnagios01:~#
this is a windows server running NSClient++
here is the graph for it.
You do not have the required permissions to view the files attached to this post.
Re: performance graphs not showing warning and critical line
Well, you have two datasources in this check - 'physical' and 'physical %'.
Here's an example of a check with one datasource in the output:
You can see both in the graph.OK: physical: Total: 31.994GB - Used: 29.516GB (92%) - Free: 2.479GB (7%)|'physical'=29.51562GB;30.39445;31.03433;0;31.99416 'physical %'=92%;95;97;0;100
Here's an example of a check with one datasource in the output:
You can see the warning and critical lines on the graph./usr/local/nagios/libexec/check_nt -H x.x.x.x -s "password" -p 12489 -v USEDDISKSPACE -l C -w 90 -c 95
C:\ - total: 107.47 Gb - used: 87.85 Gb (82%) - free 19.62 Gb (18%) | 'C:\ Used Space'=87.85Gb;96.72;102.10;0.00;107.47
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!
Re: performance graphs not showing warning and critical line
We are using check_nrpe, i cannot change all my checks to check_nt now
I am using exactly how it is defined here.
https://support.nagios.com/kb/article/n ... l-169.html
in every implementation of check_nrpe to check memory has both 'physical' and 'physical %' according to this page.
https://support.nagios.com/kb/article/m ... s-774.html
removing data from popup is ok but not able to plot graphs if there are multiple datasources which used to work before, i see this as a feature loss for us if we upgrade to latest version.
or if i am missing something please let me know a way where i can continue using check_nrpe and just get one datasource.
I am using exactly how it is defined here.
https://support.nagios.com/kb/article/n ... l-169.html
in every implementation of check_nrpe to check memory has both 'physical' and 'physical %' according to this page.
https://support.nagios.com/kb/article/m ... s-774.html
removing data from popup is ok but not able to plot graphs if there are multiple datasources which used to work before, i see this as a feature loss for us if we upgrade to latest version.
or if i am missing something please let me know a way where i can continue using check_nrpe and just get one datasource.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: performance graphs not showing warning and critical line
@sampaths, This is the performance output from your memory check:
So since there are 2 graphs in 1, where would the threshold line be? At 97% or at 30(which roughly equals 97%)?
You'd say it makes sense to only include the percentage graph to draw the threshold line in this case. But what about graphs with multiple measurements, like this one? It'd be impossible to figure out where to draw the threshold line. That's why the decision was made to only draw a threshold line on graphs where there is only 1 measurement=datasource.
All graphs will still work regardless of how many data sources, but the threshold line will not be shown.
Graph #1 is called 'physical'(its value is roughly 29) and graph #2 is called 'physical %'(its value is 92%).'physical'=29.51562GB;30.39445;31.03433;0;31.99416 'physical %'=92%;95;97;0;100
So since there are 2 graphs in 1, where would the threshold line be? At 97% or at 30(which roughly equals 97%)?
You'd say it makes sense to only include the percentage graph to draw the threshold line in this case. But what about graphs with multiple measurements, like this one? It'd be impossible to figure out where to draw the threshold line. That's why the decision was made to only draw a threshold line on graphs where there is only 1 measurement=datasource.
All graphs will still work regardless of how many data sources, but the threshold line will not be shown.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: performance graphs not showing warning and critical line
ok I understand, could you please guide me how to use check_nrpe (we don't want to use check_nt) when i have a nsclient++ running on a windows machine.
And monitor for memory check, with only one data source in the output so that we can have the lines for thresholds in the graph.
And monitor for memory check, with only one data source in the output so that we can have the lines for thresholds in the graph.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: performance graphs not showing warning and critical line
@sampaths, Consider using the following command + syntax instead:
/usr/local/nagios/libexec/check_nrpe -H HQBISQL80N1 -c check_memory -a 'warn=free<5%' 'crit=free<3%' 'type=physical' "perf-config=*(ignored:true) %(ignored:false)"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.