Translations of this page:

Configuration

All preference for NagTrap can you configure in nagtrap/etc/config.ini.php.

Globale Preferences

language = EN
Select here a language (EN = English / DE = German)

  • Englisch = EN
  • German = DE

useAuthentification = 1
When you will use a authentification, then enable this option (0=off / 1=on)

  • Off = 0
  • On = 1

allowedUser = nagiosadmin
If you use the authentification, then entry here the User that may changes on the Web-Frontend comma seperated.

useUnknownTraps = 1
When you use a database for unknown-Traps, then enable this option (0=off / 1=on) If you enable this option, then you musst have a table in your database for unknown traps.

  • Off = 0
  • On = 1

step = 30
Entry here the number of traps, that you will see per side.

images = ./images/
Path to Image-Directory from your SNMP-Trap Frontend installation

iconStyle = dropline
Select Icons for the Frontend (nuovo, dropline, nuvola_1 or nuvola_2)

  • nuovo
  • dropline
  • nuvola_1
  • nuvola_2

cutTrapMessage = 100
Set here the Trap Message indicates to be cut off is after many indications. When set no parameter, the Trap-Messages wasn't cut.

illegalCharJavabox = <,>,'
Set here illegal charactars for output of the javabox

Icinga / Nagios Preferences

prefix = /nagios
Url to Icinga or Nagios

images = ../images/
Path to the Image-Dirctory from your Icinga or Nagios installation

Database Prefences

Enter here your information that were used to connect to your database

host = localhost
Set here your DNS-Name or IP-Adress for your MySQL-Database

user = snmptt
user = password = Set here the Username and Password for connection

name = snmptt
name = snmptt Set here the Databasname from your SNMPTT-Database

tableSnmptt = snmptt
tableSnmptt = snmptt Set here the Tablename

Other Prefences

tableSnmpttUnk = snmptt_unknown
Ignore this option, when you don`t use a table for unknown-Traps in your database

 
en/doku/konfiguration.txt · Last modified: 2010/11/16 23:40 by mluebben     Back to top