Help installing the popular Check_as400 plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dpasacritacrown
Posts: 24
Joined: Tue Oct 13, 2015 12:57 pm

Help installing the popular Check_as400 plugin

Post 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
bwallace
Posts: 1146
Joined: Tue Nov 17, 2015 1:57 pm

Re: Help installing the popular Check_as400 plugin

Post by bwallace »

Did you see the install guide the author has posted for this plugin?

https://github.com/cjt74392/check_as400 ... /README.md
Be sure to check out the Knowledgebase for helpful articles and solutions!
afigura
Posts: 1
Joined: Thu Jan 04, 2018 1:18 pm

Re: Help installing the popular Check_as400 plugin

Post 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?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Help installing the popular Check_as400 plugin

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked