check_as400 icon indicating copy to clipboard operation
check_as400 copied to clipboard

Out of Bounds

Open technofab opened this issue 5 years ago • 5 comments

Good morning at all.

Testing via shell (Centos 7 Box with nagios via RPM), for example for SBS check I obtain

[root@nagiosbox plugins]# ./check_as400/check_as400 -H AS400 -u NAGIOS -p NAGIOS -v SBS QINTER OK - subsystem(QINTER) status(ATTIVO)

Testing on nagios I obtain that result 2019-12-03_165918

or 2019-12-03_173948

Any idea? P.S. same for other checks.

technofab avatar Dec 03 '19 16:12 technofab

maybe too late but looks like permission issue to me. Check that your folder /path/to/check_as400/ is own by nagios user and group (or other user you may used for running nagios service), must look like something like that: $ ls -las /usr/local/nagios/libexec/{check_as400*,.as400} 4 -rw-r--r-- 1 nagios nagios 28 31 mars 16:42 /usr/local/nagios/libexec/.as400 4 -rwxr-xr-x 1 nagios nagios 285 3 août 15:18 /usr/local/nagios/libexec/check_as400 40 -rwxrwxr-x 1 nagios nagios 39794 26 avril 12:25 /usr/local/nagios/libexec/check_as400.class 4 -rwxrwxr-x 1 nagios nagios 900 26 avril 12:25 /usr/local/nagios/libexec/check_as400_cmd_vars.class 4 -rwxrwxr-x 1 nagios nagios 1625 26 avril 12:25 /usr/local/nagios/libexec/check_as400_lang.class if not just do $ sudo chown -R nagios:nagios /path/to/check_as400/

tackephap avatar Aug 03 '21 08:08 tackephap

Yes, is a little late ;) but I can check! I still need a good plugin for AS400. I'll check asap. Thank you.

technofab avatar Aug 23 '21 15:08 technofab

I give a try but also giving permission the error reamin :(

technofab avatar Oct 08 '21 10:10 technofab

Try this first su - nagios ./check_as400/check_as400 -H AS400 -u NAGIOS -p NAGIOS -v SBS QINTER

cjt74392 avatar Oct 09 '21 03:10 cjt74392

The test via command line works.. in nagios return Error occurred during initialization of VM

technofab avatar Oct 15 '21 08:10 technofab