wrote a python script to monitor and parse the API out The script is Configured and it is working fine in the command line but on the Icinga board it shows as unknow.?
/usr/lib64/nagios/plugins/mobi/check_log_time.py --process=“POLICY_UPDATES” --logsURL=“http://juing*p1:8020/mobi-platform-rollup-solr-service/solr/monitor/rollup/policy.json” --hours=“4”
OK
root@juing01p1.integration: /etc/nrpe.d# echo $?
0
I’m afraid, that I can’t help you with your problem, but I would like to point you to our markdown formatting help.
With a few little changes, like adding a code block around your script, you can make your question a lot more readable and easier to answer
The user profile is not fully loaded inside icinga, so maybe you are missing some envrionment variables f.e. the proxy configuration is affected by that.