I have NEMS 1.3 up and running, and I'm having a little trouble adding my first Windows Server host. I got the server added in NConf, but I'm getting the "NSClient - ERROR: Invalid password." Error in Nagios Core.
I have installed NSClient++ installed and I am able to configure it via it's web interface. The problem is I have no idea which password is not right or where to configure that in the NEMS interface or the NSClient.
Anyone have any ideas?
NSClient - ERROR: Invalid password.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: NSClient - ERROR: Invalid password.
Hi deger. Have you set your Windows administrator login & password in NEMS SST?
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: NSClient - ERROR: Invalid password.
Robbie,
I have, I setup an account for NEMS and made it a member of the administrators group, does the account need higher rights like domain admin? Is there any way to test the credentials I have added?
Thanks,
Dave
I have, I setup an account for NEMS and made it a member of the administrators group, does the account need higher rights like domain admin? Is there any way to test the credentials I have added?
Thanks,
Dave
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: NSClient - ERROR: Invalid password.
Hi Dave,
Once you've created the account on your Windows server, you need to open NEMS SST and set the username and password to match.
To access NEMS SST, click Configuration→NEMS System Settings Tool.
Let me know if that helps.
Once you've created the account on your Windows server, you need to open NEMS SST and set the username and password to match.
To access NEMS SST, click Configuration→NEMS System Settings Tool.
Let me know if that helps.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: NSClient - ERROR: Invalid password.
I have the account credentials in NEMS SST, still no luck, do I need to specify it in the NSClient somewhere?
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: NSClient - ERROR: Invalid password.
Please review the documentation and let me know if it gets you up and going.
In particular: https://docs.nemslinux.com/usage/nrpe_on_windows
Thanks!
In particular: https://docs.nemslinux.com/usage/nrpe_on_windows
Thanks!
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: NSClient - ERROR: Invalid password.
Sorry to be a pain, but I don't understand 2 things,
If I don't set a password for NSClient during setup, I am unable to log into the NSClient web interface and enable all of the default checks like CPU load and memory usage. How do I turn that on in the NSClient?
The page also mentions that NSClient is not nessacary and to "otherwise use the provided WMIC-based check commands." Where do I find those commands?
If I don't set a password for NSClient during setup, I am unable to log into the NSClient web interface and enable all of the default checks like CPU load and memory usage. How do I turn that on in the NSClient?
The page also mentions that NSClient is not nessacary and to "otherwise use the provided WMIC-based check commands." Where do I find those commands?
RE: NSClient - ERROR: Invalid password.
Anyone running without NSClient and using WMI instead? I'm having trouble finding any documentation on setting that up, although it looks like it is supported.
RE: NSClient - ERROR: Invalid password.
Hi all =)
I am also interested in getting NSclient++ working on multiple windows 10 pc’s and laptops.
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$
}
The link is below.
https://support.nagios.com/forum/viewtopic.php?t=35386
Cheers
Pete Smith :shy:
I am also interested in getting NSclient++ working on multiple windows 10 pc’s and laptops.
- I have install NSclient++ as per Robbie’s instructions.
- Now I feel I need to put the password into Nagios somewhere, the one that was generated when NSclient++ was installed.
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$
}
The link is below.
https://support.nagios.com/forum/viewtopic.php?t=35386
Cheers
Pete Smith :shy:
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: NSClient - ERROR: Invalid password.
Hi Pete,
Those instructions are for Nagios, not NEMS.
In NEMS, you need to go into NConf and add the argument to the check command when you add it to your host.
If you follow the directions you posted, you'll wonder why your configuration no longer works since your checkcommands.cfg file (which you are not supposed to touch on NEMS) is out of sync with NConf's mySQL database.
Cheers,
Robbie
Those instructions are for Nagios, not NEMS.
In NEMS, you need to go into NConf and add the argument to the check command when you add it to your host.
If you follow the directions you posted, you'll wonder why your configuration no longer works since your checkcommands.cfg file (which you are not supposed to touch on NEMS) is out of sync with NConf's mySQL database.
Cheers,
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems