Nagios AS400 plugin installation on Icinga

Hello Guys,

I am trying to install AS400 Nagios plugin to Icinga, but facing issue.

I tried to install using provided script, but It failed due to nagios.cfg file was not there.

[root@IDJK-ICINGA-AP1P check_as400_1.5.2]# ./
Nagios Check_AS400 Plugin Installation Script

Please 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/java

ERROR: 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 (
License GPLv2+: GNU GPL version 2 or later
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_64

Build information:
Compiler: GNU 8.4.1
Build host: runner-hh8q3bz2-project-322-concurrent-0
OpenSSL version: OpenSSL 1.1.1k FIPS 25 Mar 2021

Application 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/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal 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/