Page 3 of 3
Re: Monitored host not displaying
Posted: Mon Nov 06, 2017 5:02 pm
by npolovenko
Welcome back,
@karl . I think you're still having issues with the plugin compatibility. Are you able to run this plugin from the command line and get the right output?
Does it run fine or do you still have errors? You could also try running this plugin with -v flag:
./check_ncpa.py -v to see more detailed error message.
Re: Monitored host not displaying
Posted: Tue Nov 07, 2017 3:38 am
by karl
Ok so when I run that it gives me the list of options and then at the bottom says:
Code: Select all
check_ncpa.py: error: Hostname is required for use.
Re: Monitored host not displaying
Posted: Tue Nov 07, 2017 10:42 am
by npolovenko
@karl, Let try this:
Please replace the xxx after -H with the host IP address. Also, replace xxx after -t with the token(can be found in check command in the same file after -t.
Code: Select all
./check_ncpa.py -H xxx.xx.xx.xx -t 'xxxxx' -P 5693 -M system/agent-version
Re: Monitored host not displaying
Posted: Tue Nov 07, 2017 11:04 am
by karl
Re: Monitored host not displaying
Posted: Tue Nov 07, 2017 5:24 pm
by kyang
Looks like there was a spelling error in the command.
Try running it again, and post the output.
Code: Select all
./check_ncpa.py -H 192.168.x.xxx-t 'token' -P 5693 -M 'system/agent_version'
The output should be something like this.