Advertisement
Guest User

php

a guest
Jun 11th, 2013
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.67 KB | None | 0 0
  1.  
  2. ;###########################################################################
  3. ;#
  4. ;# config.ini.php -  NagTrap configuration file
  5. ;#
  6. ;# Copyright (c) 2006 - 2011 Michael Luebben (nagtrap@nagtrap.org)
  7. ;# Last Modified: 06.02.2011
  8. ;#
  9. ;# License:
  10. ;#
  11. ;# This program is free software; you can redistribute it and/or modify
  12. ;# it under the terms of the GNU General Public License version 2 as
  13. ;# published by the Free Software Foundation.
  14. ;#
  15. ;# This program is distributed in the hope that it will be useful,
  16. ;# but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. ;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. ;# GNU General Public License for more details.
  19. ;#
  20. ;# You should have received a copy of the GNU General Public License
  21. ;# along with this program; if not, write to the Free Software
  22. ;# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23. ;###########################################################################
  24.  
  25. [global]
  26. ;# Select here a language (EN = English / DE = German)
  27. language = EN
  28.  
  29. ;# When you will use a authentification, then enable this option  (0=off / 1=on)
  30. useAuthentification = 1
  31.  
  32. ;# If you use the authentification, then entry here the User that
  33. ;# may changes on the Web-Frontend comma seperated.
  34. allowedUser = nagiosadmin,icingaadmin
  35.  
  36. ;# When you use a database for unknown-Traps, then enable this option (0=off / 1=on)
  37. ;# If you enable this option, then you musst have a table in your database for unknown
  38. ;# traps.
  39. useUnknownTraps = 1
  40.  
  41. ;# Entry here the number of traps, that you will see per side.
  42. step = 30
  43.  
  44. ;# Path to Image-Directory from your SNMP-Trap Frontend installation
  45. images = ../share/images/
  46.  
  47. ;# Select Icons for the Frontend
  48. iconStyle = dropline
  49.  
  50. ;# Set here the Trap Message indicates to be cut off is after many indications.
  51. ;# When set no parameter, the Trap-Messages wasn't cut.  
  52. cutTrapMessage = 100
  53.  
  54. ;# Set here illegal charactars for output of the javabox
  55. illegalCharJavabox = "<,>,'"
  56.  
  57. [jobs]
  58. ;# Set days to archive traps
  59. daysToArchive = 30
  60.  
  61. ;# Set days to delete traps
  62. daysToDelete = 90
  63.  
  64. ;# Authentification ID for the jobs !!!CHANGE!!!
  65. authID = 6dhmes0909le00ek9834lfdsd03k0ccvvmv9em4f
  66.  
  67. [nagios]
  68. ;# Url to Nagios/Icinga
  69. prefix = /icinga
  70.  
  71. ;# Path to the Image-Dirctory from your Icinga-/Nagios-Installation
  72. images = ../../images/
  73.  
  74. ;# Enter here your information that were used to connect to your database
  75. [database]
  76. host = localhost
  77. user = root
  78. password = tech0nsite!
  79. name = snmptt
  80. tableSnmptt = snmptt
  81. tableSnmpttArchive = snmptt_archive
  82.  
  83. ;# Ignore this option, when you don`t use a table for unknown-Traps in your database
  84. tableSnmpttUnk = snmptt_unknown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement