I'm stumped and looking for some help, originally after installing NSClient++ 0.5.0.62 2016-09-14 x64, after my first configuration of WEBServer I was able to get the website to appear showing CPU, Memory and Disk indicators plus a All Metrics count of 46. After numerous configuration changes I now see only the All Metrics count of only 4 metrics. Many other aspects of the website have gone away including queries where there's no ability to choose or execute anything.
I'm probably looking to uninstall everything and reinstall but, I have no idea what's happened if anyone has a clue about how to debug this I'd be grateful.
Excerpt of nsclient.ini concerning WEBServer
; WEBServer - A server that listens for incoming HTTP connection and processes incoming requests.
; It provides both a WEB UI as well as a REST API in addition to simplifying configuration of WEB Server module.
WEBServer = enabled
cache allowed hosts=1
; PORT NUMBER - Port to use for WEB server.
port = 8493 ;origanal 8443
; PASSWORD - Password used to authenticate against server parent for this key is found under: /settings/default this is marked as advanced in favor of the parent.
password = icinga
; COMMAND ARGUMENT PROCESSING - This option determines whether or not we will allow clients to specify arguments to commands that are executed.
allow arguments = true
also when I run nscp test I received the following error:
web Failed to start server: Failed to set listening_port: Cannot bind to port
I've been moving what the ports around to keep things working
I saw the debugging hint that said use netstat -a here's what things look like with the NSClient++ stopped.
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:445 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:5357 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:49152 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:49153 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:49154 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:49155 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:49156 Jay-win_7_pro:0 LISTENING
TCP 0.0.0.0:51001 Jay-win_7_pro:0 LISTENING
TCP 10.0.2.15:80 Jay-win_7_pro:0 LISTENING
TCP 10.0.2.15:139 Jay-win_7_pro:0 LISTENING
TCP 10.0.2.15:443 Jay-win_7_pro:0 LISTENING
I'm a NSClient newbie and if you could even just direct me to the right topic that would be helpful