Https settings error for nsclient.ini in windows nsclient

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gopinathnagios
Posts: 17
Joined: Fri Mar 10, 2017 12:47 am

Https settings error for nsclient.ini in windows nsclient

Post by gopinathnagios »

Hi All,,

I getting this error over https site , any one could help me urjent

" E settings Failed to download C:\Program Files\NSClient++/cache\nsclient.ini.t
mp: Failed to GET https://xx.xx.xx.xx 302: "

my command : nscp settings --switch https://xx.xx.xx.xx/nsclient.ini
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Https settings error for nsclient.ini in windows nsclie

Post by mcapra »

I'm a bit confused. This doesn't tell us very much about the error you are facing. Could you explain what you are trying to do that is producing this error message? Are you trying to download a pre-made NSClient++ configuration file?
Former Nagios employee
https://www.mcapra.com/
gopinathnagios
Posts: 17
Joined: Fri Mar 10, 2017 12:47 am

Re: Https settings error for nsclient.ini in windows nsclie

Post by gopinathnagios »

Yes , i'm trying to download pre-made NSClient++ configuration file to configure NSClient++ from over https site.

This is the command : nscp settings --switch https://xx.xx.xx.xx/nsclient.ini
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Https settings error for nsclient.ini in windows nsclie

Post by mcapra »

The GET failed because of a 302 redirect. There might be settings to follow 302 redirects (you might be better off asking in the NSClient++ community), or you might try using http instead of https.
Former Nagios employee
https://www.mcapra.com/
Locked