Unable to get the data into the sensor from probe

HareeshPVR
Tera Expert

I am getting the probe response for a SSH command which is mentioned below when i create a sensor attaching this probe and try to fetch the result.output() it says as "undefined" but in input response i could see the xml output...
I added the allow unsupported shells to true and in midserver also i added the mid.server.shell param as well with all the shells to support. can anyone please help out on this ...

 

 

 

<?xml version="1.0" encoding="UTF-8"?><results probe_time="29945" result_code="0"><result><output>/test1
&#13;	associations
&#13;	targets
&#13;		profiles1
&#13;		system1
&#13;	verbs
&#13;		cd
&#13;		show
&#13;		help
&#13;		version
 (Shell is not in supported shell list)</output></result><parameters><parameter name="agent" value="mid.server.xxx"/><parameter name="used_by_runbook" value="true"/><parameter name="glide.xmlhelper.trim.enable" value="true"/><parameter name="signature" value=""/><parameter name="source" value="x.x.x.x"/><parameter name="skip_sensor" value="false"/><parameter name="command_to_run" value="show"/><parameter name="sys_id" value="xxxxxxxxxxxxx"/><parameter name="from_host" value=""/><parameter name="sys_created_on" value="2024-03-11 06:27:02"/><parameter name="sys_domain" value="global"/><parameter name="used_by_discovery" value="true"/><parameter name="state" value="ready"/><parameter name="probe_name" value="IPMI - OS"/><parameter name="response_to" value=""/><parameter name="from_sys_id" value=""/><parameter name="priority" value="0"/><parameter name="agent_correlator" value=""/><parameter name="use_snc_ssh" value="true"/><parameter name="probe" value="xxxxxxxx"/><parameter name="processed" value=""/><parameter name="error_string" value=""/><parameter name="sequence" value="18e2c3173120000001"/><parameter name="name" value="show"/><parameter name="topic" value="SSHCommand"/><parameter name="allow_unsupported_shells" value="true"/><parameter name="queue" value="output"/><parameter name="ecc_queue" value="xxxxxxxx"/><parameter name="credential_id" value="xxxxxxxxxxx"/></parameters></results>

 

 

1 REPLY 1

AJ-TechTrek
Giga Sage
Giga Sage

Hi @HareeshPVR ,

 

Every active probe looks for a corresponding sensor to process the data that is collected by the probe. The No Sensors Defined message indicates that the corresponding sensor for the probe is missing or inactive.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0547844#:~:text=The%20No%20Se...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024