nagios with php-fpm
/etc/httpd/conf vi httpd.conf IncludeOptional conf.d/*.conf [root@sm56 conf.d]# cat nagios.conf [root@sm56 conf.d]# cat nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <Directory "/usr/local/nagios/sbin"> <FilesMatch "\.(inc|php|phtml|phps)$"> <IfVersion = /^2.4.6[012]$/> ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "%{unescape:%{SCRIPT_FILENAME}}" </IfVersion> A...