nsclient secure passowrd

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mdomanski
Posts: 23
Joined: Thu Dec 15, 2016 11:17 am

nsclient secure passowrd

Post by mdomanski »

Hello,
How to secure password in the newest NSClient 0.5.0.62.

In the old versions command nsclient.exe -encrypt works but not now

I want to get following settings:

[Settings]
;# OBFUSCATED PASSWORD
; This is the same as the password option but here you can store the password in an obfuscated manner.
; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the
; password. Its just a bit harder to do it at first glance.
obfuscated_password=Jw0KAUUdXlAAUwASDAAB
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nsclient secure passowrd

Post by tmcdonald »

This is a NSClient-specific question, you'll want to ask on their forums: https://forums.nsclient.org/t/nsclient- ... sword/4636
Former Nagios employee
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: nsclient secure passowrd

Post by mcapra »

It looks like this functionality has been removed with recent versions (like 0.5.x):

Code: Select all

2015-10-27 Michael Medin
 * Removed encrypt from the API has it has not been implemented for some time
From:
https://github.com/mickem/nscp/blob/mas ... gelog#L581
Former Nagios employee
https://www.mcapra.com/
mdomanski
Posts: 23
Joined: Thu Dec 15, 2016 11:17 am

Re: nsclient secure passowrd

Post by mdomanski »

@mcapra thanks a lot. Topic should be closed.
bolson

Re: nsclient secure passowrd

Post by bolson »

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked