AVIRA MAILGATE SUITE Instrukcja Użytkownika Strona 114

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 123
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 113
Service
Avira GmbH Avira AntiVir MailGate 110
8 Service
8.1 FAQs
8.1.1 How to watch for SNMP traps on Debian 5
1.) Install the snmpd package:
$ apt-get install snmpd
2.) Copy the MIB files from the Avira AntiVir MailGate package to /usr/share/
snmp/mibs:
$ cp antivir-mailgate-prof-<Version>/etc/AVIRA-*-MIB.txt
/usr/share/snmp/mibs
3.) Configure snmpd in such way that the Avira AntiVir MailGate MIB files are
read:
$ echo "+mibs AVIRA-MIB" >> /etc/snmp/snmp.conf
$ echo "+mibs AVIRA-MAILGATE-V0-MIB" >> /etc/snmp/
snmp.conf
4.) Configure snmpd by editing /etc/snmp/snmptrapd.conf.
First we need to tell it to accept Avira AntiVir MailGate's SNMP traps:
$ echo "authCommunity log,execute,net SNMP_COMMUNITY"
>>
/etc/snmp/snmptrapd.conf
Replace SNMP_COMMUNITY by the value of the SNMPCommunity config option
(defaults to Avira).
Next we can ask snmptrapd to execute a custom program everytime a given SNMP
trap is received.
For example, we might use the following line
traphandle AVIRA-MAILGATE-V0-MIB::mgtAlert /usr/local/
bin/mailgate_alert
to make snmptrapd run /usr/local/bin/mailgate_alert everytime the
mgtAlert trap is received.
For example, /usr/local/bin/mailgate_alert might look like this:
Przeglądanie stron 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 122 123

Komentarze do niniejszej Instrukcji

Brak uwag