Nagios Core, where to configure Password 4 NSClient++

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
32578324
Posts: 1
Joined: Fri Apr 22, 2022 6:34 am

Nagios Core, where to configure Password 4 NSClient++

Post by 32578324 »

Hello, I'am a absolute Linux noob.

I want to build a Nagios Core Server for about 100 Systems.
I hope you don't read the question for the 1000 time.

When I configure a Password in NSClient++ (on a Server I want to monitor), where do I configure the Password in Nagios?
Is this a variable in the windows.cfg file under "define host"? Do I need to only state the pw in "define host" or in every "define service" too?

And do I really need to write the Hostname in every "define host" like:

Code: Select all

define service {

    use                     generic-service
    host_name               host01,host02,host03,host♾
    service_description     Uptime
    check_command           check_nt!UPTIME
}
or is there a workaround?

Thanks in advance.
Locked