Page 1 of 3

Check NRPE for Services

Posted: Mon Aug 15, 2016 8:04 pm
by kwhogster
I have setup this check

Code: Select all

define service {
        host_name                       TGCS010
        service_description             Check All Service
        check_command                   check_nrpe!checkservicestate! -a CheckAll
        servicegroups                   AllServices
        check_interval                  1
        use                             generic-service
}
That works great the NSclient is 4.1.73 This is a Windows 2008 64 bit server

Code: Select all

define service {
        host_name                       TGCS002
        service_description             Check All Service
        check_command                   check_nrpe!check_service! -a CheckAll "filter=name not like 'clr_optimization_v4.0.30319'" exclude=SysmonLog
        servicegroups                   AllServices
        check_interval                  1
        use                             generic-service
}
This one give me ---- CHECK_NRPE: Invalid packet type received from server.
The nsclient is 4.3.143 it is a Windows 2003 32 Bit Server

I have Windows 2012 Servers and other Windows 2008 servers all working and all on NSclient 4.1.73

I got all this from this site

http://sites.box293.com/nagios/home

Any ideas ?

Thank you

Tom

Re: Check NRPE for Services

Posted: Tue Aug 16, 2016 11:08 am
by rkennedy
Are you able to test your install with NSClient++ 4.1.73 on the failing machine, and let us know if that works successfully? This sounds like more of a NSClient++ compatibility issue if it's working fine on other machines.

Re: Check NRPE for Services

Posted: Tue Aug 16, 2016 8:49 pm
by kwhogster
I had 4.1.73 because the 32 bit machines need it for the other functions I test on them

Any other thoughts?

Re: Check NRPE for Services

Posted: Wed Aug 17, 2016 11:40 am
by lmiltchev
NSClient++ is not one of our products. I would recommend contacting the developer, and/or posting your questions on the NSClient++ support forum. They may be able to resolve your issue faster. I found the same (or similar) issue reported on their forum:
example01.PNG
https://github.com/mickem/nscp/issues/83

Re: Check NRPE for Services

Posted: Wed Aug 17, 2016 9:43 pm
by kwhogster
that is for 4.3 I am using 4.1

do not think it applies

Re: Check NRPE for Services

Posted: Thu Aug 18, 2016 10:17 am
by lmiltchev
that is for 4.3 I am using 4.1
do not think it applies
My impression was that you were having this issue with NSClient++ 4.3.143, and NSClient++ 4.1.73 was working fine... You said:
This one give me ---- CHECK_NRPE: Invalid packet type received from server.
The nsclient is 4.3.143 it is a Windows 2003 32 Bit Server

I have Windows 2012 Servers and other Windows 2008 servers all working and all on NSclient 4.1.73

Re: Check NRPE for Services

Posted: Thu Aug 18, 2016 4:16 pm
by kwhogster
so why am I getting invalid packet received from server?

This check works on all other computers

Re: Check NRPE for Services

Posted: Thu Aug 18, 2016 4:43 pm
by rkennedy
lmiltchev wrote:
that is for 4.3 I am using 4.1
do not think it applies
My impression was that you were having this issue with NSClient++ 4.3.143, and NSClient++ 4.1.73 was working fine... You said:
This one give me ---- CHECK_NRPE: Invalid packet type received from server.
The nsclient is 4.3.143 it is a Windows 2003 32 Bit Server

I have Windows 2012 Servers and other Windows 2008 servers all working and all on NSclient 4.1.73
kwhogster wrote:so why am I getting invalid packet received from server?

This check works on all other computers
Exactly what was previously stated. We are working with the information you provided to us. It might work on other computers, but it isn't Nagios related at this point. The issue is the different versions of NSClient++. We do not have control of what is fixed when, and what problems may arise with x version.

Re: Check NRPE for Services

Posted: Sat Aug 20, 2016 10:56 pm
by kwhogster
No success as of yet.

Posted on the nsclinet site and no response

Not like this site does.

Re: Check NRPE for Services

Posted: Mon Aug 22, 2016 10:27 am
by rkennedy
Let us know if you have any further questions regarding Nagios about this.