ncpa-2.0.3-1 T > D , 0 @ 23353291fb96929b7d48df5bf3a45a1c7d7d51f4 z9W_4Xدr:B > 4 C ? C d D 8 a t b J !# ! $@ ( , - /| / / 0 ( 0* = 01 > 09 ? 0A G 0L H 2 I 5D J 5 X 5 Y 5 \ 6 ] 8 ^ @ b C% d C e C f C l C C ncpa 2.0.3 1 A cross-platform active and passive monitoring agent The Nagios Cross-Platform Agent is used with Nagios XI and Nagios Core to run active and/or passive checks on any operating system. Installs with zero requirements using a bundled version of Python. Xwlinux-7fj7 9Nagios Enterprises, LLC Nagios Open Software License Version 1.3 Network/Monitoring https://www.nagios.org/ncpa/help.php linux x86_64 if [ `command -v systemctl` ]; then systemctl stop ncpa_listener &> /dev/null || true systemctl stop ncpa_passive &> /dev/null || true else service ncpa_listener stop &> /dev/null || true service ncpa_passive stop &> /dev/null || true fi if ! getent group nagios > /dev/null; then groupadd -r nagios fi if ! getent passwd nagios > /dev/null; then useradd -r -g nagios nagios else usermod -a -G nagios nagios fi if which chkconfig > /dev/null; then chkconfig --level 3,5 --add ncpa_listener &> /dev/null chkconfig --level 3,5 --add ncpa_passive &> /dev/null elif which update-rc.d > /dev/null; then update-rc.d ncpa_listener defaults &> /dev/null update-rc.d ncpa_passive defaults &> /dev/null fi if [ -z $RPM_INSTALL_PREFIX ]; then RPM_INSTALL_PREFIX="/usr/local" fi # Set the directory inside the init scripts dir=$RPM_INSTALL_PREFIX/ncpa sed -i "s|_BASEDIR_|BASEDIR=\x22$dir\x22|" /etc/init.d/ncpa_listener sed -i "s|_BASEDIR_|BASEDIR=\x22$dir\x22|" /etc/init.d/ncpa_passive # Remove empty cert and key files rm $RPM_INSTALL_PREFIX/ncpa/ncpa.crt rm $RPM_INSTALL_PREFIX/ncpa/ncpa.key if [ `command -v systemctl` ]; then systemctl daemon-reload systemctl start ncpa_listener systemctl start ncpa_passive else service ncpa_listener start service ncpa_passive start fi if [ `command -v systemctl` ]; then systemctl stop ncpa_listener systemctl stop ncpa_passive else service ncpa_listener stop service ncpa_passive stop fi 1 ` I8 i8 Y@ 8 8 8 p E > R U Z` Ox B