Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@10 foreman]# cat /etc/httpd/conf.d/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">
- # SSLRequireSSL
- Options ExecCGI
- AllowOverride None
- Order allow,deny
- Allow from all
- # Order deny,allow
- # Deny from all
- # Allow from 127.0.0.1
- AuthName "Nagios Access"
- AuthType Basic
- AuthUserFile /usr/local/nagios/etc/htpasswd.users
- Require valid-user
- </Directory>
- Alias /nagios "/usr/local/nagios/share"
- <Directory "/usr/local/nagios/share">
- # SSLRequireSSL
- Options None
- AllowOverride None
- Order allow,deny
- Allow from all
- # Order deny,allow
- # Deny from all
- # Allow from 127.0.0.1
- AuthName "Nagios Access"
- AuthType Basic
- AuthUserFile /usr/local/nagios/etc/htpasswd.users
- Require valid-user
- </Directory>
- [root@10 foreman]# ls -la /usr/local/nagios/sbin
- total 5088
- drwxrwxr-x. 2 nagios nagios 4096 Jan 19 11:09 .
- drwxr-xr-x. 9 root root 87 Jan 19 11:12 ..
- -rwxrwxr-x. 1 nagios nagios 316456 Jan 19 11:09 archivejson.cgi
- -rwxrwxr-x. 1 nagios nagios 297752 Jan 19 11:09 avail.cgi
- -rwxrwxr-x. 1 nagios nagios 296176 Jan 19 11:09 cmd.cgi
- -rwxrwxr-x. 1 nagios nagios 264912 Jan 19 11:09 config.cgi
- -rwxrwxr-x. 1 nagios nagios 310008 Jan 19 11:09 extinfo.cgi
- -rwxrwxr-x. 1 nagios nagios 260992 Jan 19 11:09 histogram.cgi
- -rwxrwxr-x. 1 nagios nagios 240384 Jan 19 11:09 history.cgi
- -rwxrwxr-x. 1 nagios nagios 240360 Jan 19 11:09 notifications.cgi
- -rwxrwxr-x. 1 nagios nagios 318248 Jan 19 11:09 objectjson.cgi
- -rwxrwxr-x. 1 nagios nagios 236232 Jan 19 11:09 outages.cgi
- -rwxrwxr-x. 1 nagios nagios 236248 Jan 19 11:09 showlog.cgi
- -rwxrwxr-x. 1 nagios nagios 310032 Jan 19 11:09 status.cgi
- -rwxrwxr-x. 1 nagios nagios 312296 Jan 19 11:09 statusjson.cgi
- -rwxrwxr-x. 1 nagios nagios 261064 Jan 19 11:09 statusmap.cgi
- -rwxrwxr-x. 1 nagios nagios 252696 Jan 19 11:09 statuswml.cgi
- -rwxrwxr-x. 1 nagios nagios 240376 Jan 19 11:09 statuswrl.cgi
- -rwxrwxr-x. 1 nagios nagios 260896 Jan 19 11:09 summary.cgi
- -rwxrwxr-x. 1 nagios nagios 252704 Jan 19 11:09 tac.cgi
- -rwxrwxr-x. 1 nagios nagios 269192 Jan 19 11:09 trends.cgi
- [root@10 foreman]# yum list installed | grep php
- php.x86_64 5.4.16-23.el7_0.3 @updates
- php-cli.x86_64 5.4.16-23.el7_0.3 @updates
- php-common.x86_64 5.4.16-23.el7_0.3 @updates
- php-gd.x86_64 5.4.16-23.el7_0.3 @updates
- php-mysql.x86_64 5.4.16-23.el7_0.3 @updates
- php-pdo.x86_64 5.4.16-23.el7_0.3 @updates
- php-pear.noarch 1:1.9.4-21.el7 @base
- php-process.x86_64 5.4.16-23.el7_0.3 @updates
- php-xml.x86_64 5.4.16-23.el7_0.3 @updates
- [root@10 foreman]#
Advertisement
Add Comment
Please, Sign In to add comment