Page 2 of 2

Re: windows server nscllient issue

Posted: Tue Jan 29, 2019 10:05 am
by sharding
cmd returns

[root@nagiosxi ~]# /usr/local/nagios/libexec/check_nrpe -H 10.5.210.85 -c CheckMEM -a MaxWarn=90% MaxCrit=95% ShowAll type=physical
Segmentation fault
[root@nagiosxi ~]# /usr/local/nagios/libexec/check_nrpe -H 10.5.210.85 -c CheckMEM -a MaxWarn=90% MaxCrit=95% ShowAll type=physical
Segmentation fault
[root@nagiosxi ~]#

Re: windows server nscllient issue

Posted: Tue Jan 29, 2019 10:10 am
by sharding
here is log from the server in 7zip

Re: windows server nscllient issue

Posted: Tue Jan 29, 2019 12:02 pm
by tgriep
The "Segmentation fault" message means that the check_nrpe plugin was not compiled correctly on the Nagios server and it needs to be reinstalled.
In you look at the following KB article under the "Install check_nrpe Plugin Only" section, there are instructions you can use to reinstall it.
https://support.nagios.com/kb/article.php?id=515

After that, run the test commands again to see if they run without the "Segmentation fault" message and post the output here.

Re: windows server nscllient issue

Posted: Fri Feb 01, 2019 10:25 am
by sharding
why would all my other checks work, but just not this server?

Re: windows server nscllient issue

Posted: Fri Feb 01, 2019 1:29 pm
by tgriep
My mistake, I thought you upgraded the XI server.

If you run this on the XI server, does it show the NSClient++ version?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 10.5.210.85
What does this output?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 10.5.210.85 -c CheckMEM
Can you post your nsclient.ini file so we can view it?

Re: windows server nscllient issue

Posted: Fri Feb 01, 2019 2:10 pm
by sharding
Both same seg. fault

this is our prod nagiosxi server, I'm sure there are other memory checks for windows servers, but only this one shows

Retain2 Memory Usage
11d 5h 58m 56s
(No output on stdout) stderr:

if you view say the operations center,

Howver I am starting the process of building a new nagioxi centos 7.6 server so if we want to leave this until we migrated that's fine too. might be less work.

Thanks for your help

Re: windows server nscllient issue

Posted: Fri Feb 01, 2019 3:36 pm
by tgriep
What version of the plugin is on the server?
Run this and post the output.

Code: Select all

/usr/local/nagios/libexec/check_nrpe