Skip to content
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

Check_load against localhost is blank #16

Open
BuckGup opened this issue Aug 13, 2020 · 3 comments
Open

Check_load against localhost is blank #16

BuckGup opened this issue Aug 13, 2020 · 3 comments

Comments

@BuckGup
Copy link

BuckGup commented Aug 13, 2020

When I run the check_load against the localhost the webpage is blank. I can still get metrics from Prometheus but that don't correlate to NRPE and look like basic default metrics like up and process_max_fds Any ideas to why? Thanks

@SckyzO
Copy link

SckyzO commented Oct 21, 2020

Hello. The same here.
Used with CentOS 8 and NRPE v 4.0.3

@BuckGup
Copy link
Author

BuckGup commented Oct 21, 2020

Hello. The same here.
Used with CentOS 8 and NRPE v 4.0.3

If it helps I am also on CentOS 8 and using the same version of NRPE

@SckyzO
Copy link

SckyzO commented Oct 23, 2020

Hello,

For information, I solved problem.
I disabled SSL. On CentOS 8, you don't have /etc/default/nrpe for boot option, so, directly in systemd nrpe file, you need add --no-ssl option.

[root@centos-8-01 ~]# more /usr/lib/systemd/system/nrpe.service
[Unit]
Description=Nagios Remote Plugin Executor
Documentation=http://www.nagios.org/documentation
After=var-run.mount nss-lookup.target network.target local-fs.target time-sync.target
[email protected] plymouth-quit.service xdm.service
Conflicts=nrpe.socket

[Install]
WantedBy=multi-user.target

[Service]
Type=simple
Restart=on-abort
PIDFile=/usr/local/nagios/var/nrpe.pid
RuntimeDirectory=nrpe
RuntimeDirectoryMode=0755
ExecStart=/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -f --no-ssl
ExecReload=/bin/kill -HUP $MAINPID
ExecStopPost=/bin/rm -f /usr/local/nagios/var/nrpe.pid
TimeoutStopSec=60
User=nagios
Group=nagios
PrivateTmp=true
OOMScoreAdjust=-500

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