Page 1 of 1

Help installing the popular Check_as400 plugin

Posted: Fri Mar 25, 2016 2:48 pm
by dpasacritacrown
Hey, sorry if this seems like it isn't an appropriate post for this forum, but actually this is more of a general question for this kind of plugin. I'm not really sure where to begin installing it! There's no doc or anything like that, and it comes with all these extra files...I get that I have to complile it, but where do I put it after that? Why does it reference a .as400 folder, do I have to make that? Anyone have any tips?

Here's a link to the plugin itself: https://exchange.nagios.org/directory/P ... 00/details

Re: Help installing the popular Check_as400 plugin

Posted: Mon Mar 28, 2016 10:04 am
by bwallace
Did you see the install guide the author has posted for this plugin?

https://github.com/cjt74392/check_as400 ... /README.md

Re: Help installing the popular Check_as400 plugin

Posted: Thu Jan 04, 2018 1:32 pm
by afigura
Is there a step by step guide to installing this plugin? Like what to do from the beginning?
For example... step one "type ./install" Where would this be done on the IBM box?

Re: Help installing the popular Check_as400 plugin

Posted: Thu Jan 04, 2018 3:02 pm
by npolovenko
Hello,@afigura. We are not the creators of this plugin but I can try to go along with you and help with problems that might come up on your way.
1221.png
1. Create a separate user on the IBM box, remember it's username and password. You may use the admin user but see the security warning.
2. Download the plugin from here https://exchange.nagios.org/directory/P ... 00/details Place it in the /tmp folder on your Nagios server, unzip it. Give the whole folder permissions to execute:

Code: Select all

chmod -R +x as400NagiosPlugin
3.After that install the plugin with ./install
4. During the installation, you'll be asked to type in the Nagios path. Usually, it's /usr/local/nagios/ but you should double check, then it'd ask for the java path: you can look it up in advance by running which java.
5. After that you'd go to the /usr/local/nagios/libexec/ (depending on your Nagios path), find the .as400 and populate with username and password from the step 1:

Code: Select all

USER=joe
PASS=goofy
After that copy the check commands, services, and dependency definitions from the example files to the corresponding config files on your nagios server. Usually those are located at /usr/local/nagios/etc/objects/