It’s been a while since I was able to work on our internal project, but I’m having problems with command parsing. I’ve defined several services, but it’s not working as it should. The error the director is giving me is “No data received”.
I’ve got a master (named mon001) a satellite (named sat001) and a terminal server (ts001 with the agent). The master is installed off-site and the agent is installed in the internal network, together with the agent.
The communication between the master, satellite and agent is working fine.
The firewall ports are configured properly (I can connect from the satellite to the agent and I get results returned on the CLI when running. So the allowed_hosts and password in nsclient.ini is configured correctly.
The command from the satellite to the agent works (tested using CLI):
When I run: “./check_nscp_api -H ts001.fqdn.local -P 8443 --password XxXxXx -q check_drivesize -a drive=c:” from the CLI, it returns: “check_drivesize OK All 1 drive(s) are ok | ‘c: used’=29.379845GB;79.557028;89.501657;0;99.446285 ‘c: used %’=30%;80;90;0;100”
Whenever I run this through the director and tell it to use the satellite agent, I’m receiving “No data received”.
I’ve set up datafields:
I’ve configured the fields with the command
I’ve created the arguments for the command
I’ve defined a command
I’ve configured the parameters for the service
What is going wrong here?