Code: Select all
allow arguments = true
allow nasty characters = true
Code: Select all
check_files_win = C:\Python27\python.exe 'C:\Program Files\NSClient++\scripts\check_files_win.py' C:\xyz.txt C:\abc.txt
Code: Select all
allow arguments = true
allow nasty characters = true
Code: Select all
check_files_win = C:\Python27\python.exe 'C:\Program Files\NSClient++\scripts\check_files_win.py' C:\xyz.txt C:\abc.txt
Code: Select all
[/settings/NRPE/server]
; Undocumented key
ssl options = no-sslv2,no-sslv3
; Undocumented key
; verify mode = peer-cert
verify mode = none
; Undocumented key
insecure = true
allow arguments = true
allow nasty characters = trueCode: Select all
[/settings/external scripts/scripts]
check_files_win = C:\Python27\python.exe 'C:\Program Files\NSClient++\scripts\check_files_win.py' C:\xyz.txt C:\abc.txtCode: Select all
/usr/local/nagios/libexec/check_nrpe -H WinIP -t 40 -c check_files_win
Output:
C:\Python27\python.exe: can't open file ''C:\Program': [Errno 22] Invalid argument
Code: Select all
[/settings/external scripts/scripts]
check_files_win = C:\Python27\python.exe "C:\Program Files\NSClient++\scripts\check_files_win.py" C:\xyz.txt C:\abc.txt
Output:
CRITICAL [email protected]
CRITICAL [email protected]