Back to Opsview FAQ

Error 500 'No closing quotation'

Symptoms Opsview - Error 500 ‘No closing quotation’ Copied

Aug 3 08:07:57 itrs-uk journal: opsview.orchestrator.tasks.generatetask <28732> : [ERR] No closing quotation#012Traceback (most recent call last):#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/common/task/basetask.py", line 84, in run#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 253, in process_message#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 436, in _do_generate#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 360, in _fetch_config_data#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 902, in _gen_service_commands#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 971, in _gen_host_service_commands#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 931, in add_command_to_hse#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 1007, in _agent_config_from_command#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 315, in split#012 return list(lex)#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 300, in __next__#012 token = self.get_token()#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 109, in get_token#012 raw = self.read_token()#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 191, in read_token#012 raise ValueError("No closing quotation")#012ValueError: No closing quotation Copied

Cause: NRPE Changes Copied

Solution: Alter the plugin/delete Copied

After we analyzed the ID we deleted it you can also amend it relevantly so it has closing quotes, no whitespaces, etc the script argsanalyzer.py will tell you the ID that has an issue and then you will have to query the runtime DB for the ID within the nagios_servicechecks table

OR

The other easy way is to find it in the GUI as below example:

Opsview - Error 500 ‘No closing quotation’

["Geneos"] ["FAQ"]

Was this topic helpful?