Hello Guys,
I am trying to install AS400 Nagios plugin to Icinga, but facing issue.
https://github.com/cjt74392/check_as400
I tried to install using provided install.sh script, but It failed due to nagios.cfg file was not there.
[root@IDJK-ICINGA-AP1P check_as400_1.5.2]# ./install.sh
Nagios Check_AS400 Plugin Installation ScriptPlease type the full path to nagios directory (ex. /usr/local/nagios):
Please type the full path to your java executable (ex. /usr/bin/java): /bin/javaERROR: Your /etc/nagios.cfg file does not seem to exist!
[root@IDJK-ICINGA-AP1P check_as400_1.5.2]#
Can you provide some guidance, how to install this plugin into Icinga ?
[root@IDJK-ICINGA-AP1P ~]# icinga2 -V
icinga2 - The Icinga 2 network monitoring daemon (version: 2.13.2-1)Copyright (c) 2012-2022 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later https://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.System information:
Platform: Red Hat Enterprise Linux
Platform version: 8.5 (Ootpa)
Kernel: Linux
Kernel version: 4.18.0-348.20.1.el8_5.x86_64
Architecture: x86_64Build information:
Compiler: GNU 8.4.1
Build host: runner-hh8q3bz2-project-322-concurrent-0
OpenSSL version: OpenSSL 1.1.1k FIPS 25 Mar 2021Application information:
General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /varInternal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid