Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option)


#1

I’ve got a NSC 0.4.3 (x64) Installation on a Windows 2008 R2 Server, trying to run this external Plugin (default cpu & mem checks are working fine)

https://www.angryadmin.co.uk/?p=589

When i try to execute

/check_nrpe -H 10.6.101.90 -c check_veeam_ps1 -a "Backup Exchange"

Nagios tells me:

Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).

Here’s my nsclient.ini File.

    [/settings/default]


allowed hosts = 10.6.101.48,10.156.105.48


[/settings/NRPE/server]

ssl options = 

verify mode = none

insecure = true

allow arguments = true


[/modules]


NRPEServer = 1

CheckSystem = 1

NSClientServer = 1

CheckExternalScripts = 1

CheckHelpers = 1

CheckEventLog = 0

CheckNSCP = 1

CheckDisk = 1


[/settings/external scripts/wrappings]

ps1 = cmd /c echo scripts\\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command -

bat = scripts\\%SCRIPT% %ARGS%

vbs = cscript.exe //T:30 //NoLogo scripts\\lib\\wrapper.vbs %SCRIPT% %ARGS%


[/settings/external scripts/scripts]
check_veeam_ps1 = check_veeam.ps1 "$ARG1$"


[/settings/external scripts/alias]

alias_volumes_loose = check_drivesize

alias_volumes = check_drivesize

alias_up = check_uptime

alias_sched_all = check_tasksched show-all "syntax=${title}: ${exit_code}" "crit=exit_code ne 0"

alias_process_stopped = check_process "process=$ARG1$" "crit=state != 'stopped'"

alias_service = check_service

alias_process_hung = check_process "filter=is_hung" "crit=count>0"

alias_process_count = check_process "process=$ARG1$" "warn=count > $ARG2$" "crit=count > $ARG3$"

alias_process = check_process "process=$ARG1$" "crit=state != 'started'"

alias_mem = check_memory

alias_file_size = check_files "path=$ARG1$" "crit=size > $ARG2$" "top-syntax=${list}" "detail-syntax=${filename] ${size}" max-dir-depth=10

alias_disk = check_drivesize

alias_cpu_ex = check_cpu "warn=load > $ARG1$" "crit=load > $ARG2$" time=5m time=1m time=30s

alias_file_age = check_files "path=$ARG1$" "crit=written > $ARG2$" "top-syntax=${list}" "detail-syntax=${filename] ${written}" max-dir-depth=10

alias_cpu = check_cpu

alias_event_log = check_eventlog

alias_service_ex = check_service "exclude=Net Driver HPZ12" "exclude=Pml Driver HPZ12" exclude=stisvc

alias_disk_loose = check_drivesize

alias_sched_task = check_tasksched show-all "filter=title eq '$ARG1$'" "detail-syntax=${title} (${exit_code})" "crit=exit_code ne 0"

alias_sched_long = check_tasksched "filter=status = 'running'" "detail-syntax=${title} (${most_recent_run_time})" "crit=most_recent_run_time < -$ARG1$"

Any ideas what can be wrong?