Plugins Helps
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugins Helps
Can you please upload the nsclient.ini file from the XP machine.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugins Helps
OK
I attached the nsiclient.ini
I attached the nsiclient.ini
- Attachments
-
nsiclientXP.txt- NSICLient INI from XP 32 bit
- (13.98 KiB) Downloaded 290 times
Re: Plugins Helps
NSClient++ can be finicky through the CLI, but it looks like your allow arguments, insecure mode, and allow nasty characters are all true now. What issue are you currently experiencing?kwhogster wrote:Box293
Great catch on the service name that worked making the changes now.
The NSCLIENT version of 32 bit is
NSCP-0.4.3.143
I ran this on all machines
Type cd "\Program Files\NSClient++\" and press Enter
?Type nscp settings --activate-module NRPEServer --add-defaults and press Enter
nscp settings --activate-module NRPEServer --add-defaults
?This may prompt you for permission
?Type nscp settings --path /settings/NRPE/server --key "allow arguments" --set true and press Enter
nscp settings --path /settings/NRPE/server --key "allow arguments" --set true
?This may prompt you for permission
?Type nscp settings --path /settings/NRPE/server --key "allow nasty characters" --set true and press Enter
nscp settings --path /settings/NRPE/server --key "allow nasty characters" --set true
?This may prompt you for permission
?IF this is NSClient++ 0.4.3 onwards
?Type nscp settings --path /settings/NRPE/server --key insecure --set true and press Enter
nscp settings --path /settings/NRPE/server --key insecure --set true
?This may prompt you for permission
net stop nscp
net start nscp
All 64 bit clients are NSCP 0.4.1.73
I ran this on the 32 bit computers
?IF this is NSClient++ 0.4.3 onwards
?Type nscp settings --path /settings/NRPE/server --key insecure --set true and press Enter
nscp settings --path /settings/NRPE/server --key insecure --set true
Thoughts
Former Nagios Employee
Re: Plugins Helps
My original post was this
After adding on my computers to this all worked except for two of them both of them are 32 bit computers one is Windows XP Pro the other is Windows 2003 Server
Get this error CHECK_NRPE: Error - Could not complete SSL handshake.
Does NRPE work with 32 bit computers?
After adding on my computers to this all worked except for two of them both of them are 32 bit computers one is Windows XP Pro the other is Windows 2003 Server
Get this error CHECK_NRPE: Error - Could not complete SSL handshake.
Does NRPE work with 32 bit computers?
Re: Plugins Helps
I haven't used the 32 bit version of the client but is should work.
I do see a few changes to the nsclient.ini file that should work for you.
Edit that file and under this section
Remove these 2 lines
Save the file and restart the NSClient++ service and see if that fixes it for you.
I do see a few changes to the nsclient.ini file that should work for you.
Edit that file and under this section
Code: Select all
[/settings/NRPE/server]Code: Select all
verify mode = peer-cert
use ssl = trueBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugins Helps
Removed these
verify mode = peer-cert
use ssl = true
Now I get this
root@TGCS017:/usr/lib/nagios/plugins# ./check_nrpe -H 10.2.8.75 -t 30 -c CheckDriveSize -a ShowAll=long MinWarn =20% MinCrit=10% Drive=C: perf-unit=G
CHECK_NRPE: Invalid packet type received from server.
verify mode = peer-cert
use ssl = true
Now I get this
root@TGCS017:/usr/lib/nagios/plugins# ./check_nrpe -H 10.2.8.75 -t 30 -c CheckDriveSize -a ShowAll=long MinWarn =20% MinCrit=10% Drive=C: perf-unit=G
CHECK_NRPE: Invalid packet type received from server.
- Attachments
-
nsiclientXP2.txt- NSCLIENT INI for XP 32 bit after changes
- (13.98 KiB) Downloaded 333 times
Re: Plugins Helps
Try changing this from
to
Save and restart like before.
If you get an error, can you upload the nsclient.log file from that windows host?
Code: Select all
ssl options = no-sslv2,no-sslv3Code: Select all
ssl options =If you get an error, can you upload the nsclient.log file from that windows host?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugins Helps
same error
root@tgcs017:/usr/lib/nagios/plugins# ./check_nrpe -H 10.2.8.75 -t 30 -c CheckDriveSize -a ShowAll=long MinWarn =20% MinCrit=10% Drive=C: perf-unit=G
CHECK_NRPE: Invalid packet type received from server.
root@tgcs017:/usr/lib/nagios/plugins# ./check_nrpe -H 10.2.8.75 -t 30 -c CheckDriveSize -a ShowAll=long MinWarn =20% MinCrit=10% Drive=C: perf-unit=G
CHECK_NRPE: Invalid packet type received from server.
- Attachments
-
nsiclientXP3.txt- nsclient ini xp 32 bit computer after changes
- (14 KiB) Downloaded 349 times
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugins Helps
Can you stop the NSClient++ service
Open a command prompt
type:
What output is produced?
Open a command prompt
type:
Code: Select all
cd "\Program Files\NSClient++\"
nscp testAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugins Helps
boz293
ran net stop nscp
nscp test >>c:\nscp.txt
See attached
ran net stop nscp
nscp test >>c:\nscp.txt
See attached
- Attachments
-
nscp.txt- nscp output
- (3.88 KiB) Downloaded 351 times