Evanion

Nagios info

Jan 20th, 2015
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. [root@10 foreman]# cat /etc/httpd/conf.d/nagios.conf
  2. # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
  3. #
  4. # This file contains examples of entries that need
  5. # to be incorporated into your Apache web server
  6. # configuration file. Customize the paths, etc. as
  7. # needed to fit your system.
  8.  
  9. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
  10.  
  11. <Directory "/usr/local/nagios/sbin">
  12. # SSLRequireSSL
  13. Options ExecCGI
  14. AllowOverride None
  15. Order allow,deny
  16. Allow from all
  17. # Order deny,allow
  18. # Deny from all
  19. # Allow from 127.0.0.1
  20. AuthName "Nagios Access"
  21. AuthType Basic
  22. AuthUserFile /usr/local/nagios/etc/htpasswd.users
  23. Require valid-user
  24. </Directory>
  25.  
  26. Alias /nagios "/usr/local/nagios/share"
  27.  
  28. <Directory "/usr/local/nagios/share">
  29. # SSLRequireSSL
  30. Options None
  31. AllowOverride None
  32. Order allow,deny
  33. Allow from all
  34. # Order deny,allow
  35. # Deny from all
  36. # Allow from 127.0.0.1
  37. AuthName "Nagios Access"
  38. AuthType Basic
  39. AuthUserFile /usr/local/nagios/etc/htpasswd.users
  40. Require valid-user
  41. </Directory>
  42. [root@10 foreman]# ls -la /usr/local/nagios/sbin
  43. total 5088
  44. drwxrwxr-x. 2 nagios nagios 4096 Jan 19 11:09 .
  45. drwxr-xr-x. 9 root root 87 Jan 19 11:12 ..
  46. -rwxrwxr-x. 1 nagios nagios 316456 Jan 19 11:09 archivejson.cgi
  47. -rwxrwxr-x. 1 nagios nagios 297752 Jan 19 11:09 avail.cgi
  48. -rwxrwxr-x. 1 nagios nagios 296176 Jan 19 11:09 cmd.cgi
  49. -rwxrwxr-x. 1 nagios nagios 264912 Jan 19 11:09 config.cgi
  50. -rwxrwxr-x. 1 nagios nagios 310008 Jan 19 11:09 extinfo.cgi
  51. -rwxrwxr-x. 1 nagios nagios 260992 Jan 19 11:09 histogram.cgi
  52. -rwxrwxr-x. 1 nagios nagios 240384 Jan 19 11:09 history.cgi
  53. -rwxrwxr-x. 1 nagios nagios 240360 Jan 19 11:09 notifications.cgi
  54. -rwxrwxr-x. 1 nagios nagios 318248 Jan 19 11:09 objectjson.cgi
  55. -rwxrwxr-x. 1 nagios nagios 236232 Jan 19 11:09 outages.cgi
  56. -rwxrwxr-x. 1 nagios nagios 236248 Jan 19 11:09 showlog.cgi
  57. -rwxrwxr-x. 1 nagios nagios 310032 Jan 19 11:09 status.cgi
  58. -rwxrwxr-x. 1 nagios nagios 312296 Jan 19 11:09 statusjson.cgi
  59. -rwxrwxr-x. 1 nagios nagios 261064 Jan 19 11:09 statusmap.cgi
  60. -rwxrwxr-x. 1 nagios nagios 252696 Jan 19 11:09 statuswml.cgi
  61. -rwxrwxr-x. 1 nagios nagios 240376 Jan 19 11:09 statuswrl.cgi
  62. -rwxrwxr-x. 1 nagios nagios 260896 Jan 19 11:09 summary.cgi
  63. -rwxrwxr-x. 1 nagios nagios 252704 Jan 19 11:09 tac.cgi
  64. -rwxrwxr-x. 1 nagios nagios 269192 Jan 19 11:09 trends.cgi
  65. [root@10 foreman]# yum list installed | grep php
  66. php.x86_64 5.4.16-23.el7_0.3 @updates
  67. php-cli.x86_64 5.4.16-23.el7_0.3 @updates
  68. php-common.x86_64 5.4.16-23.el7_0.3 @updates
  69. php-gd.x86_64 5.4.16-23.el7_0.3 @updates
  70. php-mysql.x86_64 5.4.16-23.el7_0.3 @updates
  71. php-pdo.x86_64 5.4.16-23.el7_0.3 @updates
  72. php-pear.noarch 1:1.9.4-21.el7 @base
  73. php-process.x86_64 5.4.16-23.el7_0.3 @updates
  74. php-xml.x86_64 5.4.16-23.el7_0.3 @updates
  75. [root@10 foreman]#
Advertisement
Add Comment
Please, Sign In to add comment