Performance graphs showing different results for Exchange Messages Queued for Delivery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shoreypu
Posts: 114
Joined: Wed Mar 13, 2019 2:06 pm

Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by shoreypu »

Hello All,

I'm testing the Exchange Messages Queued for Delivery service check, from the Configuration Wizard, and at times, I'm getting different results in performance graphs, for example:

Result: OK: \MSExchangeTransport Queues(_Total)\Messages Queued for Delivery was 9.00 Messages Queued For Delivery
Perfgraph Shows: 8.72

Result: OK: \MSExchangeTransport Queues(_Total)\Messages Queued for Delivery was 2.00 Messages Queued For Delivery
Perfgraph Shows: 2.85

Is there a way to ensure that the performance graphs shows the resulting totals from the check?

Thanks in advance.
bbahn
Posts: 317
Joined: Thu Jan 12, 2023 5:42 pm

Re: Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by bbahn »

Hello @shoreypu,

My guess as to what's happening here is that the graph is using the average value over the timestep. You might be able to reduce this problem by altering your timesteps.
You could also try altering your configuration to send this information as a passive check, but that would be a rather involved process and wouldn't be able to rely on the wizard to set things up.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
shoreypu
Posts: 114
Joined: Wed Mar 13, 2019 2:06 pm

Re: Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by shoreypu »

Thanks bbahn, my thoughts were that its graphing avg as well. Is there a way to add to the command to have it graph sum?
snapier3
Posts: 144
Joined: Tue Apr 23, 2019 7:12 pm

Re: Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by snapier3 »

What's the formatting of the perfdata string, as shown in the advanced portion of the interface.

Is the value a float?

Try converting the output to an integer with the counter Unit of Measure in the perfdata or adding the "c" unit of measure

From the docs
https://nagios-plugins.org/doc/guidelines.html
UOM (unit of measurement) is a string of zero or more characters, NOT including numbers, semicolons, or quotes. Some examples:

no unit specified - assume a number (int or float) of things (eg, users, processes, load averages)
s - seconds (also us, ms)
% - percentage
B - bytes (also KB, MB, TB)
c - a continous counter (such as bytes transmitted on an interface)
shoreypu
Posts: 114
Joined: Wed Mar 13, 2019 2:06 pm

Re: Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by shoreypu »

Here's an example,
From the Advanced Status Details
Performance Data: '\MSExchangeTransport Queues(_Total)\Messages Queued for Delivery'=3.00;25;50;

From the Performance graph
Screenshot 2023-12-14 081647.png
You do not have the required permissions to view the files attached to this post.
shoreypu
Posts: 114
Joined: Wed Mar 13, 2019 2:06 pm

Re: Performance graphs showing different results for Exchange Messages Queued for Delivery

Post by shoreypu »

Taking a further look at this, I noticed the latest results in the Performance graph showing the different number in the result.

For example, the graph provides the Last, Avg, and Max results. The graph shows the same last result, but the service checks status info will how a whole number, for example, 2.00.
Screenshot 2023-12-18 133523.png
This is an active check and my only added option is for sleep, but so far I'm getting similar results.

Watching live with my Exchange admin only shows whole numbers.

This is very confusing.
You do not have the required permissions to view the files attached to this post.