mcapra wrote:I'd definitely try a newer version of NSClient++. Something in the 0.5.2 line at least. Though it doesn't look like NSClient++ has had a release since 2018.
Might try poking around the Centreon or NSClient++ forums:
https://forum.centreon.com/https://forums.nsclient.org/Though it looks like the NSClient++ forums are down.
You could try sharing your nsclient.ini, but if it's got some Centreon specific settings I dunno how much help you could get here. I can tell you how to wire the
check_nrpe plugin up to NSClient++, but I don't know anything about Centreon.
Thanks for the answer.
I just update to NSCP-0.5.2.35-x64 and it still doesn't work. Log:
2021-01-25 10:19:17: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):5666(ipv4): The requested address is not valid in its context
2021-01-25 10:19:18: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):5666(ipv4): The requested address is not valid in its context
2021-01-25 10:19:19: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):5666(ipv4): The requested address is not valid in its context
2021-01-25 10:19:19: error:c:\source\master\include\socket/server.hpp:165: Failed to setup endpoint
2021-01-25 10:19:19: error:c:\source\master\include\socket/server.hpp:170: NO endpoints available
2021-01-25 10:19:19: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):12489(ipv4): The requested address is not valid in its context
2021-01-25 10:19:20: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):12489(ipv4): The requested address is not valid in its context
2021-01-25 10:19:21: error:c:\source\master\include\socket/server.hpp:217: Failed to bind (IP Client):12489(ipv4): The requested address is not valid in its context
This is the new .ini
[/settings/default]
allowed hosts=server nagios IP
password=xxxxxx
timeout=30
[/settings/NSClient/server]
port=12489
; in flight - TODO
[/modules]
; Undocumented key
CheckExternalScripts = enabled
; Undocumented key
CheckHelpers = disabled
; Undocumented key
CheckEventLog = disabled
; Undocumented key
CheckNSCP = disabled
; Undocumented key
CheckDisk = enabled
; Undocumented key
CheckSystem = enabled
; Undocumented key
NSClientServer = enabled
; Undocumented key
NRPEServer = enabled
Best regards,