Hello Michael,
WOW, thanks a lot for this extensive explanation which really made a number of aspects much clearer for me.
But even after implementing your code, the check fails:
## Plugin-Output
error : 202 : Host or IP is not specified.
['--chkraids', '--host', '10.74.194.25', '--user', 'icinga1', '--verbose', '1']
As you can see, all necessary parameters are there, but I guess Icinga executes the command like this:
/usr/bin/python2.7 /usr/lib/nagios/plugins/check_fujitsu_eternus_dx.pyc ---chkraids --host 10.74.194.25 --user icinga1 --verbose1
But the plugins needs the equal sign between parameter and value:
/usr/bin/python2.7 /usr/lib/nagios/plugins/check_fujitsu_eternus_dx.pyc --chkraids --host=10.74.194.25 --user=icinga1 --verbose=1
Regards,
Stefan