Skip to content

apache-httpd-status: Not compatible with CentOS 8 #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NavidSassan opened this issue Mar 6, 2020 · 4 comments
Closed

apache-httpd-status: Not compatible with CentOS 8 #55

NavidSassan opened this issue Mar 6, 2020 · 4 comments
Assignees

Comments

@NavidSassan
Copy link
Member

Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/apache-httpd-status", line 201, in <module>
    main()
  File "/usr/lib64/nagios/plugins/apache-httpd-status", line 99, in main
    key, value = item.split(': ')
ValueError: need more than 1 value to unpack

The server-status format has changed, example output of curl http://localhost/server-status?auto on CentOS 8:

localhost
ServerVersion: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1c
ServerMPM: event
Server Built: Sep  2 2019 14:31:45
CurrentTime: Friday, 06-Mar-2020 10:41:41 UTC
RestartTime: Thursday, 20-Feb-2020 18:56:12 UTC
ParentServerConfigGeneration: 18
ParentServerMPMGeneration: 17
ServerUptimeSeconds: 1266328
ServerUptime: 14 days 15 hours 45 minutes 28 seconds
Load1: 0.07
Load5: 0.21
Load15: 0.12
Total Accesses: 416
Total kBytes: 26148
Total Duration: 13343
CPUUser: 13.9
CPUSystem: 18.58
CPUChildrenUser: 145.92
CPUChildrenSystem: 212.47
CPULoad: .0308664
Uptime: 1266328
ReqPerSec: .000328509
BytesPerSec: 21.1442
BytesPerReq: 64364.3
DurationPerReq: 32.0745
BusyWorkers: 1
IdleWorkers: 74
Processes: 3
Stopping: 0
BusyWorkers: 1
IdleWorkers: 74
ConnsTotal: 0
ConnsAsyncWriting: 0
ConnsAsyncKeepAlive: 0
ConnsAsyncClosing: 0
Scoreboard: __________________________________________________W________________________.....................................................................................................................................................................................................................................................................................................................................
TLSSessionCacheStatus
CacheType: SHMCB
CacheSharedMemory: 512000
CacheCurrentEntries: 0
CacheSubcaches: 32
CacheIndexesPerSubcaches: 88
CacheIndexUsage: 0%
CacheUsage: 0%
CacheStoreCount: 0
CacheReplaceCount: 0
CacheExpireCount: 0
CacheDiscardCount: 0
CacheRetrieveHitCount: 0
CacheRetrieveMissCount: 0
CacheRemoveHitCount: 0
CacheRemoveMissCount: 0```
@NavidSassan
Copy link
Member Author

In GitLab by @markuslf on Mar 31, 2020, 16:41

mentioned in commit 79a709b30e1ad0821e45bf922c5c2400f0ac8a3e

@NavidSassan
Copy link
Member Author

In GitLab by @markuslf on Apr 15, 2020, 11:41

closed via commit 79a709b30e1ad0821e45bf922c5c2400f0ac8a3e

@NavidSassan
Copy link
Member Author

In GitLab by @markuslf on Apr 15, 2020, 11:41

mentioned in commit f4daf1d43cec50b4dfa26142d971e710cd3a13ab

@NavidSassan
Copy link
Member Author

In GitLab by @markuslf on Apr 15, 2020, 11:41

closed via merge request !2

NavidSassan pushed a commit that referenced this issue Mar 1, 2022
NavidSassan pushed a commit that referenced this issue Mar 1, 2022
new release

Closes #53, #23, #49, #15, #72, #3, #55, #67, #60, #63, #24, #58, #64, #50, #30, #69, #61, and #41

See merge request linuxfabrik-icinga-plugins/checks-linux!2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants