Page 1 of 1

Problem with nasty Charaters

Posted: Thu Oct 03, 2013 10:42 am
by cesar.garza
I have tried new thing but still not able to fix my issue.
I have tried with reinstall nsclient++ but didn't work. On internet somebody suggested Registry Key but that also didn't work.
Any help would be appreciated . thanks

Service.cfg
define service {
hostgroup_name http-servers
service_description GET Call
check_command check_nrpe_get_requests
use generic-service
notification_interval 0
contact_groups sham
}

command.cfg
define command{
command_name check_nrpe_get_requests
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c nsc_checkcounter -a 'ShowAll "Counter=\\Web Service(_Total)\\Total Get Requests" MaxWarn=100 MaxCrit=200'
}

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

nsclient.log
e:..\..\..\..\trunk\modules\NRPEServer\handler_impl.cpp:15: Request contained arguments (not currently allowed, check the allow arguments option).

nsclient-full.ini
[/settings/NRPE/server]
allow arguments = true
allow nasty characters = true
[/settings/external scripts]
allow arguments = true
allow nasty characters = true

Re: Problem with nasty Charaters

Posted: Thu Oct 03, 2013 10:56 am
by abrist
Have you restarted the NSClient service since making the ini changes?