Page 1 of 1

Unable to install nagios-plugin-for-ibm-i

Posted: Thu Jun 29, 2023 5:09 pm
by balaji.sankaran
Hi All,

I am trying to install nagios-plugin-for-ibm-i. I used to below command to download the plugin for IBM i.

cd /tmp
wget https://public.dhe.ibm.com/software/ibm ... 620.tar.gz

As per below IBM document I tried to extract the file however ended up with error.
https://www.ibm.com/support/pages/setti ... plug-ibm-i

#tar -xvf nagios-plugin-for-ibm-i_20190620.tar.gz /usr/local/nagios/
tar: /usr/local/nagios: Not found in archive
tar: Exiting with failure status due to previous errors


Regards,
Balaji Sankaran

Re: Unable to install nagios-plugin-for-ibm-i

Posted: Thu Jun 29, 2023 5:59 pm
by kg2857
If you read the error message, you'll find that you're trying to extract /usr/local/nagios/, which can't be done.
cd to that dir and extract the tar.

Re: Unable to install nagios-plugin-for-ibm-i

Posted: Fri Jun 30, 2023 12:10 pm
by balaji.sankaran
Thanks finally managed to install.