How to monitor nagios performance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

How to monitor nagios performance

Post by michaelli »

Hi support,

I use the nagiostats to generate a report for our nagios server

According to below report,

Total Service State Change: 0.000 / 79.610 / 0.685 %
Active Service Latency: 0.000 / 0.988 / 0.008 sec
Active Service Execution Time: 0.000 / 30.007 / 1.126 sec
Active Service State Change: 0.000 / 29.470 / 0.044 %

what is the meaning information between 0.000/ xx.xxx / 0.xxx %/sec?

Which row or value we should concern to prevent nagios hit performance issue.

Code: Select all

[root@ngonap01 nagios]# /usr/local/nagios/bin/nagiostats -c /usr/local/nagios/etc/nagios.cfg

Nagios Stats 4.0.8
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 08-12-2014
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /var/nagiosramdisk/status.dat
Status File Age:                        0d 0h 0m 5s
Status File Version:                    4.0.8

Program Running Time:                   0d 5h 49m 35s
Nagios PID:                             27675

Total Services:                         1733
Services Checked:                       1728
Services Scheduled:                     1541
Services Actively Checked:              1552
Services Passively Checked:             181
Total Service State Change:             0.000 / 79.610 / 0.685 %
Active Service Latency:                 0.000 / 0.988 / 0.008 sec
Active Service Execution Time:          0.000 / 30.007 / 1.126 sec
Active Service State Change:            0.000 / 29.470 / 0.044 %
Active Services Last 1/5/15/60 min:     1382 / 1542 / 1544 / 1544
Passive Service Latency:                0.000 / 0.999 / 0.514 sec
Passive Service State Change:           0.000 / 79.610 / 6.182 %
Passive Services Last 1/5/15/60 min:    9 / 50 / 120 / 176
Services Ok/Warn/Unk/Crit:              1459 / 68 / 17 / 189
Services Flapping:                      1
Services In Downtime:                   0

Total Hosts:                            97
Hosts Checked:                          94
Hosts Scheduled:                        94
Hosts Actively Checked:                 97
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    0.000 / 0.034 / 0.000 sec
Active Host Execution Time:             0.000 / 10.002 / 0.313 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        70 / 94 / 94 / 94
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  94 / 3 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     263 / 1311 / 3928
   Scheduled:                           128 / 628 / 1879
   On-demand:                           135 / 683 / 2049
   Parallel:                            128 / 628 / 1879
   Serial:                              0 / 0 / 0
   Cached:                              135 / 683 / 2049
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  1557 / 7696 / 23050
   Scheduled:                           1557 / 7696 / 23050
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 47 / 245 / 728

External Commands Last 1/5/15 min:      47 / 253 / 741

tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to monitor nagios performance

Post by tmcdonald »

Those values take the form of minimum / maximum / average. The biggest indicator (among these listed) of poor system performance is your average service execution time.
Former Nagios employee
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: How to monitor nagios performance

Post by michaelli »

Hi tmcdonald,

Thanks for your reply. According to Active Service Execution Time: 0.000 / 30.007 / 1.126 sec. Can I easy to find out which services has long execution time?

What meaning for "Active Service Latency: 0.000 / 0.988 / 0.008 sec" and which value we should award to prevent any performance issue.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: How to monitor nagios performance

Post by jdalrymple »

michaelli wrote:Can I easy to find out which services has long execution time?
This is a handy little script that I've used before:
https://exchange.nagios.org/directory/P ... me/details
michaelli wrote:What meaning for "Active Service Latency: 0.000 / 0.988 / 0.008 sec"
This is the time between scheduling and execution. With a maximum of under 1 second and an average under 1/100th of a second you're in great shape.
Locked