windows server nscllient issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: windows server nscllient issue

Post 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 ~]#
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: windows server nscllient issue

Post by sharding »

here is log from the server in 7zip
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: windows server nscllient issue

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: windows server nscllient issue

Post by sharding »

why would all my other checks work, but just not this server?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: windows server nscllient issue

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: windows server nscllient issue

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: windows server nscllient issue

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked