Encrypt data between client and server nagios xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Encrypt data between client and server nagios xi

Post by Naveed »

Hello,

I am using nagios xi and monitoring my windows and linux VMs.

Can anyone tells me that how to encrypt the data between client and nagios server.

Thank you for your help
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Encrypt data between client and server nagios xi

Post by eloyd »

What type of communication are you using between the Nagios server and your Windows and Linux VMs? check_by_ssh would be the fastest way to see that everything was encrypted, but it's not as easy as just saying "oh, change over to check_by_ssh!"
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Encrypt data between client and server nagios xi

Post by lmiltchev »

Thanks eloyd!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Encrypt data between client and server nagios xi

Post by Naveed »

Thank you eloyd for reply.

My requirements are as follows:

1-I have multiple clients those are being monitored through nagios xi (Window + linux)
2-I wants to secure the connection between nagios and hosts.
3-I looked for openssl implementation, but no luck so far.

need your help to implement openssl implementations

Share your thoughts please.

Thank you!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Encrypt data between client and server nagios xi

Post by eloyd »

I am still not clear what method you are using to query services on your Windows machines. Are you using NSclient? NRPE? NCPA?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Encrypt data between client and server nagios xi

Post by rkennedy »

eloyd wrote:What type of communication are you using between the Nagios server and your Windows and Linux VMs? check_by_ssh would be the fastest way to see that everything was encrypted, but it's not as easy as just saying "oh, change over to check_by_ssh!"
@eloyd is right - we need to know what agent(s) are you using on your client systems in order to point you in the right direction in regards to encrypting data. Each agent is going to be a bit different.
Former Nagios Employee
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Encrypt data between client and server nagios xi

Post by Naveed »

I am using agents as

Nsclient ++ for windows

nrpe 2.15 for linux
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Encrypt data between client and server nagios xi

Post by rkennedy »

NRPE should encrypt the data by default, unless you use the -n flag which represents not to use SSL.

As for NSClient++, this can be a bit tricky, are you looking at using check_nrpe or check_nt? Can you post your NSClient++ configuration file for us to look at?
Former Nagios Employee
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Encrypt data between client and server nagios xi

Post by Naveed »

Thank you very much rkennedy!

I have attached my nsclient.ini file.

Kindly see and let me know your thoughts please.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Encrypt data between client and server nagios xi

Post by rkennedy »

Naveed wrote:Thank you very much rkennedy!

I have attached my nsclient.ini file.

Kindly see and let me know your thoughts please.
Can you also answer this?
As for NSClient++, this can be a bit tricky, are you looking at using check_nrpe or check_nt?
Former Nagios Employee
Locked