Opened 7 years ago

Closed 7 years ago

#54775 closed defect (fixed)

nagios check_load average no values for load5 and load15

Reported by: MichalMMac (Michal Moravec) Owned by: MichalMMac (Michal Moravec)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: nagios-plugins

Description

When I run

 /opt/local/libexec/nagios/check_load -w "8.0,3.0,2.0" -c "16.0,3.4,3.0"

I get

OK - load average: 7.51, 0.00, 0.00|load1=7.510;8.000;16.000;0; load5=0.000;3.000;3.400;0; load15=0.000;2.000;3.000;0;

There is always 0 value for load5 and load15. I can reproduce this on 10.11.6 and 10.12.6.

Change History (2)

comment:1 Changed 7 years ago by MichalMMac (Michal Moravec)

comment:2 Changed 7 years ago by MichalMMac (Michal Moravec)

Owner: set to Michal Moravec <michal.moravec@…>
Resolution: fixed
Status: newclosed

In ede35f9393199a5c48f6ecb8449c2d59e26c2488/macports-ports:

nagios-plugins: Add patch file fixing check_load plugin

Patch fixes parsing of uptime command output.
load5 and load15 values are now parsed and displayed.

Closes: #54775

Note: See TracTickets for help on using tickets.