Hi there,
I'm new here, I work for a company who bought nagiosxi for a customer, so dunno where/how to find support ticket account, so I type it here
I developed some plugins but I found a problem that even exists in default plugins.
If perfdata is one only value everything is ok. I can see "warning" and "critical" in graph by clicking yellow triangle or red circle. (check attached image)
If it is a multivalue performance data I cannot see wanring and critical buttons.
example:
rta=0.288ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=0.364ms;;;; rtmin=0.251ms;;;;
(this is the default ping performance data output)
Is it a bug?
Am I wrong in something?
Thanks in Advance.
Multiline service, Graph doesn't show Warn/Crit
Multiline service, Graph doesn't show Warn/Crit
You do not have the required permissions to view the files attached to this post.
Re: Multiline service, Graph doesn't show Warn/Crit
If you have an active support contract with us, feel free to contact our sales department for information on submitting tickets and accessing the customer section of our support forums.
The warning/critical lines won't show if you have many different metrics with many different (or in your case non-existent) warning/critical thresholds. This is intended behavior and prevents conflicting information from being presented in the performance data graphs.
If the rta is in terms of ms and the pl is in terms of %, displaying the warning/critical thresholds in terms of ms for a metric like pl wouldn't make much sense.
The warning/critical lines won't show if you have many different metrics with many different (or in your case non-existent) warning/critical thresholds. This is intended behavior and prevents conflicting information from being presented in the performance data graphs.
If the rta is in terms of ms and the pl is in terms of %, displaying the warning/critical thresholds in terms of ms for a metric like pl wouldn't make much sense.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Multiline service, Graph doesn't show Warn/Crit
This might help - https://nagios-plugins.org/doc/guidelines.html
@mcapra is right though, and your perfdata speaks it too. See the multiple semi-colons without data between? RTA has 3000, and 5000 defined, which are your lines it will use for thresholds.
@mcapra is right though, and your perfdata speaks it too. See the multiple semi-colons without data between? RTA has 3000, and 5000 defined, which are your lines it will use for thresholds.
Code: Select all
rta=0.288ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=0.364ms;;;; rtmin=0.251ms;;;;
Former Nagios Employee
Re: Multiline service, Graph doesn't show Warn/Crit
not a "different metrics" problem:
let's see bandwidth in this ezample:
in=1.5425Mbps;80;100;; out=.1022Mbps;80;100;;
has same problem.
let's see bandwidth in this ezample:
in=1.5425Mbps;80;100;; out=.1022Mbps;80;100;;
has same problem.
You do not have the required permissions to view the files attached to this post.
Re: Multiline service, Graph doesn't show Warn/Crit
Ah, the thresholds also won't show if there's more than one metric period regardless of the units involved. The logic on the back-end is like this:
Code: Select all
if (count($datasource) <= 1) {
//show warning/crtical options
}
else {
//hide warning/critical options
}Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/