Hi,
I will take a look at Lenovo XCC SNMP Plugins, thanks.
The command is /usr/lib64/nagios/plugins/xclarity_integrator_check.py --lxca system
The error is the one I posted: (No output returned from plugin).
Thanks.
Hi,
The command is /usr/lib64/nagios/plugins/xclarity_integrator_check.py --lxca system
I think you do execute it like that : /usr/bin/python3 xclarity_integrator_check.py --lxca system
Or /usr/bin/python xclarity_integrator_check.py --lxca system
Probably centreon can't execute the python binary by it self
https://docs.centreon.com/fr/pp/integrations/plugin-packs/getting-started/how-to-guides/troubleshooting-plugins/#no-output-returned-from-plugin
With the full path :
/usr/bin/python3 /usr/lib64/nagios/plugins/xclarity_integrator_check.py --lxca system
Or
/usr/bin/python /usr/lib64/nagios/plugins/xclarity_integrator_check.py --lxca system
Hi,
Tried adding /usr/bin/python3 to the command without luck.
Also, I notice that when I run the command at command line it take up to one minute to show the output.
Maybe centreon is not waiting for the command to end?
I increased the time of timeouts of check in centreon-engine conf file and nothing changed.
Poller/Engine configuration/data/Service Check Timeout
Well thanks for the help!
If anyone has any idea It is much appreciated.
Well I have fixed it.
Ran the credential command with the user centreon-engine:
/usr/bin/python3 /usr/lib64/nagios/plugins/xclarity_integrator_check.py generate_credentials
When checking on the web It was giving me a time out so I was thinking that was not working but let there for a minute and then reported OK and seems to be working fine.
Thanks for the help.